CPR not working for cardiac arrest because of blood loss
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
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 this "flickering" of the Heart rate sounds a lot like the unit was in revive state. Experienced it myself.
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.
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.
@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.
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.
Also, please supply an rpt log if possible
@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.
Yeah, it jumped
@rebelvg Which one of the variables jumped?
@headedhorseman101 If I remember correctly it was player getVariable ["ace_medical_heartRate"].
Is this still present?
As of 3.5.1, yes it is.
This issue is gone in the medical rewrite.
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?
If they have a blood pressure, then they technically aren't in cardiac arrest to being with.
@kotaco Is the only way to revive them using a personal aid kit from that point then?
I was speaking to actual medical care, ace is a different story so you're guess is as good as mine
Fixed in rewrite