Medical - Refactor target blood pressure (#10081)

Refactor target blood pressure
This commit is contained in:
Kex 2024-06-20 20:19:14 +02:00 committed by GitHub
parent 5ea202ce25
commit c4fb858c1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,13 +40,9 @@ if IN_CRDC_ARRST(_unit) then {
private _spo2 = GET_SPO2(_unit);
private _painLevel = GET_PAIN_PERCEIVED(_unit);
private _targetBP = 107;
if (_bloodVolume < BLOOD_VOLUME_CLASS_2_HEMORRHAGE) then {
_targetBP = _targetBP * (_bloodVolume / DEFAULT_BLOOD_VOLUME);
};
_targetHR = DEFAULT_HEART_RATE;
if (_bloodVolume < BLOOD_VOLUME_CLASS_3_HEMORRHAGE) then {
private _targetBP = 107 * (_bloodVolume / DEFAULT_BLOOD_VOLUME);
_targetHR = _heartRate * (_targetBP / (45 max _meanBP));
};
if (_painLevel > 0.2) then {