KAT-Advanced-Medical / KAM

The ACE Advanced Medical System is nice, but we can do it better, even on a more realistic way and bring it on another level with these addons.
https://katalam.github.io/KAM
GNU General Public License v3.0
59 stars 93 forks source link

Airway/Breathing/Circulation - Add ETCo2 Monitor #495

Closed apo-tle closed 3 months ago

apo-tle commented 6 months ago

When merged this pull request will:

IMPORTANT

apo-tle commented 6 months ago

To Do for Nasal Cannula

Ghostworrior commented 6 months ago

Etco2 should display with either nasal cannula or KingLT in place (if I or someone else ever gets to do the airway rework) other items would be added as well.

Etco2 under good CPR should be ~15 rather than the 10 it is currently. With high blood loss, etco2 should drop even under CPR to 5-10. If CPR is performed on a patient with circulation it should still show 35-45 as a value, but RR should be fixed at 10 ventilations while doing CPR or using a BVM.

Small idea on the side increase etco2 and decrease RR if lorazepam, fentanyl or morphine is used. Not 100% realistic, but easiest way to implement/show side effects.

Also change etco2 and RR in correlation to pH if it's in use, the lower pH value the higher RR and etco2.

Just my two cents after looking over the code, all in all I like the system, good work. Will gladly test it in game once It's either ready or I figure out how to do Git stuff again...

apo-tle commented 6 months ago

Etco2 under good CPR should be ~15 rather than the 10 it is currently. With high blood loss, etco2 should drop even under CPR to 5-10. If CPR is performed on a patient with circulation it should still show 35-45 as a value, but RR should be fixed at 10 ventilations while doing CPR or using a BVM.

Currently etco2 under CPR changes based on how deteriorated a patient's cardiac arrest is, starting at 10 and increasing to 16 as compressions move from asystole -> VT. My idea behind this was to simulate etco2 continually increasing as good cpr is performed. I'll adjust values to decrease etco2 further for blood loss.

apo-tle commented 6 months ago

ETCo2 Monitor is all done and ready for a final review.

mazinskihenry commented 3 months ago

LGTM