@@ -1166,7 +1166,7 @@ namespace HealthMonitor.Service.Resolver | |||||
} | } | ||||
isAbnormal = 0; | isAbnormal = 0; | ||||
} | } | ||||
// 超过highFreqSampleTimes,540s | |||||
// 超过highFreqSampleTimes | |||||
else | else | ||||
{ | { | ||||
if (fetalHeartRate > 220) | if (fetalHeartRate > 220) | ||||
@@ -1183,12 +1183,16 @@ namespace HealthMonitor.Service.Resolver | |||||
} | } | ||||
isAbnormal = fetalHeartRate > upperAlarmThreshold ? 1 : (fetalHeartRate < lowerAlarmThreshold ? 2 : 0); | isAbnormal = fetalHeartRate > upperAlarmThreshold ? 1 : (fetalHeartRate < lowerAlarmThreshold ? 2 : 0); | ||||
if (!lastNormalPhr.Any()) | |||||
{ | |||||
// 偏低(过缓) | |||||
isAbnormal = 2; | |||||
_logger.LogInformation($"{heartRate.Serialno} 超过10分钟其没有正常值,设置胎心过缓告警"); | |||||
} | |||||
//if (!lastNormalPhr.Any()) | |||||
//{ | |||||
// if (selectedHrValue == lastPhr.Select(i => i.PregnancyHeartRate).Max()) | |||||
// { | |||||
// // 偏低(过缓) | |||||
// isAbnormal = 2; | |||||
// _logger.LogInformation($"{heartRate.Serialno} 超过10分钟其没有正常值,则取异常范围最大值心率值转换为胎心值,并产生胎心过缓告警设置胎心过缓告警"); | |||||
// } | |||||
//} | |||||
} | } | ||||
#endregion | #endregion | ||||
@@ -2388,7 +2388,7 @@ namespace HealthMonitor.WebApi | |||||
} | } | ||||
isAbnormal = 0; | isAbnormal = 0; | ||||
} | } | ||||
// 超过highFreqSampleTimes,540s | |||||
// 超过highFreqSampleTimes | |||||
else | else | ||||
{ | { | ||||
if (fetalHeartRate > 220) | if (fetalHeartRate > 220) | ||||
@@ -2405,12 +2405,16 @@ namespace HealthMonitor.WebApi | |||||
} | } | ||||
isAbnormal = fetalHeartRate > upperAlarmThreshold ? 1 : (fetalHeartRate < lowerAlarmThreshold ? 2 : 0); | isAbnormal = fetalHeartRate > upperAlarmThreshold ? 1 : (fetalHeartRate < lowerAlarmThreshold ? 2 : 0); | ||||
if (!lastNormalPhr.Any()) | |||||
{ | |||||
// 偏低(过缓) | |||||
isAbnormal = 2; | |||||
_logger.LogInformation($"{heartRate.Serialno} 超过10分钟其没有正常值,设置胎心过缓告警"); | |||||
} | |||||
//if (!lastNormalPhr.Any()) | |||||
//{ | |||||
// if (selectedHrValue == lastPhr.Select(i => i.PregnancyHeartRate).Max()) | |||||
// { | |||||
// // 偏低(过缓) | |||||
// isAbnormal = 2; | |||||
// _logger.LogInformation($"{heartRate.Serialno} 超过10分钟其没有正常值,则取异常范围最大值心率值转换为胎心值,并产生胎心过缓告警设置胎心过缓告警"); | |||||
// } | |||||
//} | |||||
} | } | ||||
#endregion | #endregion | ||||