Skip to content

Commit 1fefa96

Browse files
ntatum94StevenAWhite
authored andcommitted
f/ntatum-GenStatesforBurn: Updates to how to to have a time before
intervention and run multiple burns (cherry picked from commit f8bf416d52620c98c13a715f40c6969f24b5a65c)
1 parent e8dad51 commit 1fefa96

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

projects/howto/BurnWoundPainStimulus/src/HowTo-BurnWoundPainStimulus.cpp

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,27 @@ void BurnThread::FluidLoading(double tbsa)
389389
m_bg->ProcessAction(*m_escharotomy);
390390
}
391391
}
392-
392+
// escharotomy
393+
/*if (m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_Abdominal)
394+
|| m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_LeftArm)
395+
|| m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_LeftLeg)
396+
|| m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_RightArm)
397+
|| m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_RightLeg)) {
398+
if (m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_Abdominal)) {
399+
m_escharotomy->SetLocation("Trunk");
400+
} else if (m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_LeftArm)) {
401+
m_escharotomy->SetLocation("LeftArm");
402+
} else if (m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_LeftLeg)) {
403+
m_escharotomy->SetLocation("LeftLeg");
404+
} else if (m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_RightArm)) {
405+
m_escharotomy->SetLocation("RightArm");
406+
} else if (m_bg->GetPatient().IsEventActive(CDM::enumPatientEvent::CompartmentSyndrome_RightLeg)) {
407+
m_escharotomy->SetLocation("RightLeg");
408+
} else {
409+
return;
410+
}
411+
m_bg->ProcessAction(*m_escharotomy);
412+
}*/
393413
if (fluid == ringers) {
394414
if (m_ivBagVolume_mL < 1.0) {
395415
m_ringers->GetBagVolume().SetValue(ringersVolume_mL, VolumeUnit::mL);

0 commit comments

Comments
 (0)