ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

CPR not working for cardiac arrest because of blood loss

Open Artac opened this issue 11 years ago • 18 comments

ACE3 Version: 3.3.2

Mods:

@cba_a3 @ace3 Placed ACE3 Modules: http://pastebin.com/82xK67Hj

Description: https://github.com/acemod/ACE3/issues/2099 Glowbal wrote: "Try to give a patient that is not injured 3x epinephrine. The patient will go into a cardiac arrest state. This is when you are able to revive using CPR."

Did this, worked flawlessly.

"This is just one case, of course. Extended periods of bloodloss could also trigger the cardiac arrest state. I'd go with if the vitals of a patient are the cause of the patient to go unconscious, it's most likely that the patient is in the cardiac arrest state."

When the extend period of blood loss/pressure drop causes the heart rate to goto 0/cardiac arrest I am unable to restore the heart rate using CPR, even after bandaging all the wounds and using 1000ml bloodbags to raise pressure, I've gotten the pressure as high as mid 80's with still no return of heart rate using CPR. If I am understanding what you said, does the extended period of bloodloss put them in a cardiac arrest state, thus not requiring the PAK to revive the patient?

Steps to reproduce: Set up you modules like in the config. Shoot a player. When unconscious let the pressure drop until approximately 35 systolic. Check for pulse, no pulse.

Where did the issue occur? In Multiplayer on a dedicated Server

Artac avatar Oct 11 '15 00:10 Artac

Yep, tried this on AI. According to the code of the CPR function it should have a 60% chance of returning the pulse to 40, pressure to 70/50 and exiting the cardiac arrest but it never happened. I watched the variables for the patient, but they only switch for one frame, next frame unit is back in cardiac arrest and no heart rate.

rebelvg avatar Oct 12 '15 16:10 rebelvg

@rebelvg this "flickering" of the Heart rate sounds a lot like the unit was in revive state. Experienced it myself.

0dr avatar Oct 12 '15 17:10 0dr

Just a question, @rebelvg and @Th3Cr0w, but were you transfusing a saline solution while performing cpr? If he [the patient] was going into cardiac arrest be of hemorrhagic shock, then he would need the fluids the hear to be able to maintain a mildly sustainable systolic blood pressure.

pool011 avatar Oct 28 '15 11:10 pool011

According to the code of the CPR function it should have a 60% chance of returning the pulse to 40, >pressure to 70/50 and exiting the cardiac arrest but it never happened.

That is with a full blood volume on a medically stable patient. If the patient has lost to much blood, then a seperate function takes over again calling on the "fnc_setCardiacArrest" function.

A way to check for this might be to watch the variables "bloodVolume" and "bloodPressure" while duplicating the situation you described in debug mode.

pool011 avatar Oct 28 '15 12:10 pool011

@headedhorseman101 If I remember correctly I tried bunch of different scenarios, like when patient is stable and with full blood or with patient not even touched. Result was the same, CPR didn't revive the guy, just added more time to his death timer.

rebelvg avatar Oct 28 '15 13:10 rebelvg

Yeah that mighty be by design, but I am unsure. Anyways, would still recommend doing the debug mode I suggested to see what is going on with the function variables. CORRECTION: Watch the heart rate variable to see if it jumps and resets to 0 after a successful cpr.

pool011 avatar Oct 28 '15 13:10 pool011

Also, please supply an rpt log if possible

pool011 avatar Oct 28 '15 13:10 pool011

@headedhorseman101 Yeah, it jumped and then in the next frame was reset to 0. I'll upload an RPT if I'm going to do more tests.

rebelvg avatar Oct 28 '15 17:10 rebelvg

Yeah, it jumped

@rebelvg Which one of the variables jumped?

pool011 avatar Oct 29 '15 11:10 pool011

@headedhorseman101 If I remember correctly it was player getVariable ["ace_medical_heartRate"].

rebelvg avatar Oct 29 '15 13:10 rebelvg

Is this still present?

thojkooi avatar Jun 15 '16 11:06 thojkooi

As of 3.5.1, yes it is.

Artac avatar Jun 15 '16 23:06 Artac

This issue is gone in the medical rewrite.

ulteq avatar Dec 10 '16 10:12 ulteq

So my medic and I recovered my afk AT rifleman from the field. For 40 minutes we sat there next to a medical facility in a chopper (couldn't unload patient for whatever reason) Waiting for the Blood IVs to pump in at 0 heart rate, and 0 blood pressure. Began giving cpr at 97/65 with nothing, finally gave up and gave him a personal aid kit. I am confused why it takes so long to actually revive someone. Is this working as intended? Or am I doing something wrong?

dragonspride1995 avatar Feb 04 '18 02:02 dragonspride1995

If they have a blood pressure, then they technically aren't in cardiac arrest to being with.

kotaco avatar Feb 11 '18 20:02 kotaco

@kotaco Is the only way to revive them using a personal aid kit from that point then?

dragonspride1995 avatar Feb 12 '18 07:02 dragonspride1995

I was speaking to actual medical care, ace is a different story so you're guess is as good as mine

kotaco avatar Feb 12 '18 09:02 kotaco

Fixed in rewrite

TheMagnetar avatar Mar 30 '19 21:03 TheMagnetar