Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pharma/Vitals - Fix negative ECP & ECB volumes and o2Sat calculations at low ECB values #638

Open
wants to merge 5 commits into
base: dev-Tomcat
Choose a base branch
from

Conversation

Cesrap
Copy link

@Cesrap Cesrap commented Nov 1, 2024

When merged this pull request will:

  • Closes PR Pharma - Fix negative blood volume by blood loss #636
  • Set a floor at 0 to the calculated ECP & ECB, so you aren't able to bleed into the negatives with bleedout during cardiac arrest disabled anymore
  • Change floor of (GET_BODY_FLUID(_unit) select 0) to be 500 instead of 100 in _pao2 calculations, as it currently results in the _o2Sat formula possibly using imaginary numbers and therefore breaking when the patient has the conditions to have a _fiO2 of 0.21

IMPORTANT

  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant