Commit bee57ca4 authored by Jeff Webb's avatar Jeff Webb
Browse files

Updates to ARDS compliance mapping.

parent ad7d5424
......@@ -114,7 +114,7 @@
"Connection": "Tube",
"InspirationWaveform": "Square",
"ExpirationWaveform": "Square",
"PeakInspiratoryPressure": { "ScalarPressure": { "Value": 23.5, "Unit": "cmH2O" } },
"PeakInspiratoryPressure": { "ScalarPressure": { "Value": 25.0, "Unit": "cmH2O" } },
"PositiveEndExpiredPressure": { "ScalarPressure": { "Value": 11.0, "Unit": "cmH2O" } },
"InspirationMachineTriggerTime": { "ScalarTime": { "Value": 1.974, "Unit": "s" } },
"ExpirationCycleTime": { "ScalarTime": { "Value": 1.776, "Unit": "s" } },
......
......@@ -114,7 +114,7 @@
"Connection": "Tube",
"InspirationWaveform": "Square",
"ExpirationWaveform": "Square",
"PeakInspiratoryPressure": { "ScalarPressure": { "Value": 25.5, "Unit": "cmH2O" } },
"PeakInspiratoryPressure": { "ScalarPressure": { "Value": 29.0, "Unit": "cmH2O" } },
"PositiveEndExpiredPressure": { "ScalarPressure": { "Value": 11.0, "Unit": "cmH2O" } },
"InspirationMachineTriggerTime": { "ScalarTime": { "Value": 1.974, "Unit": "s" } },
"ExpirationCycleTime": { "ScalarTime": { "Value": 1.776, "Unit": "s" } },
......
......@@ -114,7 +114,7 @@
"Connection": "Tube",
"InspirationWaveform": "Square",
"ExpirationWaveform": "Square",
"PeakInspiratoryPressure": { "ScalarPressure": { "Value": 28.0, "Unit": "cmH2O" } },
"PeakInspiratoryPressure": { "ScalarPressure": { "Value": 36.0, "Unit": "cmH2O" } },
"PositiveEndExpiredPressure": { "ScalarPressure": { "Value": 11.0, "Unit": "cmH2O" } },
"InspirationMachineTriggerTime": { "ScalarTime": { "Value": 1.974, "Unit": "s" } },
"ExpirationCycleTime": { "ScalarTime": { "Value": 1.776, "Unit": "s" } },
......
......@@ -2670,7 +2670,7 @@ void Respiratory::UpdateAlveolarCompliances()
rightLungFraction = m_data.GetConditions().GetLobarPneumonia().GetRightLungAffected().GetValue();
}
double complianceScalingFactor = GeneralMath::ExponentialDecayFunction(10, 0.55, 1.0, severity);
double complianceScalingFactor = GeneralMath::ExponentialDecayFunction(10, 0.32, 1.0, severity);
leftRestrictiveComplianceScalingFactor = MIN(leftRestrictiveComplianceScalingFactor, 1.0 - (1.0 - complianceScalingFactor) * leftLungFraction);
rightRestrictiveComplianceScalingFactor = MIN(rightRestrictiveComplianceScalingFactor, 1.0 - (1.0 - complianceScalingFactor) * rightLungFraction);
......@@ -2682,7 +2682,7 @@ void Respiratory::UpdateAlveolarCompliances()
{
double severity = m_data.GetConditions().GetPulmonaryFibrosis().GetSeverity().GetValue();
double complianceScalingFactor = GeneralMath::ExponentialDecayFunction(10, 0.55, 1.0, severity);
double complianceScalingFactor = GeneralMath::ExponentialDecayFunction(10, 0.32, 1.0, severity);
leftRestrictiveComplianceScalingFactor = MIN(leftRestrictiveComplianceScalingFactor, complianceScalingFactor);
rightRestrictiveComplianceScalingFactor = MIN(rightRestrictiveComplianceScalingFactor, complianceScalingFactor);
......@@ -2710,7 +2710,7 @@ void Respiratory::UpdateAlveolarCompliances()
rightLungFraction = m_data.GetConditions().GetAcuteRespiratoryDistressSyndrome().GetRightLungAffected().GetValue();
}
double complianceScalingFactor = GeneralMath::ExponentialDecayFunction(10, 0.55, 1.0, severity);
double complianceScalingFactor = GeneralMath::ExponentialDecayFunction(10, 0.32, 1.0, severity);
leftRestrictiveComplianceScalingFactor = MIN(leftRestrictiveComplianceScalingFactor, 1.0 - (1.0 - complianceScalingFactor) * leftLungFraction);
rightRestrictiveComplianceScalingFactor = MIN(rightRestrictiveComplianceScalingFactor, 1.0 - (1.0 - complianceScalingFactor) * rightLungFraction);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment