|
@@ -93,14 +93,14 @@ public class PHRService {
|
|
phrLatestDTO.setDiastolicBloodPressureCreateDate(recoredDate);
|
|
phrLatestDTO.setDiastolicBloodPressureCreateDate(recoredDate);
|
|
|
|
|
|
String highBloodPressureAlarmYN = "N";
|
|
String highBloodPressureAlarmYN = "N";
|
|
- if (dto.getPhrValue().intValue() <= configurationDTO.getSystolicBloodPressureThresholdMax() || dto.getPhrValue2().intValue() >= configurationDTO.getDiastolicBloodPressureThresholdMax()) {
|
|
|
|
|
|
+ if (dto.getPhrValue().intValue() >= configurationDTO.getSystolicBloodPressureThresholdMax() || dto.getPhrValue2().intValue() >= configurationDTO.getDiastolicBloodPressureThresholdMax()) {
|
|
highBloodPressureAlarmYN = "Y";
|
|
highBloodPressureAlarmYN = "Y";
|
|
}
|
|
}
|
|
|
|
|
|
phrLatestDTO.setHighBloodPressureAlarmYN(highBloodPressureAlarmYN);
|
|
phrLatestDTO.setHighBloodPressureAlarmYN(highBloodPressureAlarmYN);
|
|
|
|
|
|
String lowBloodPressureAlarmYN = "N";
|
|
String lowBloodPressureAlarmYN = "N";
|
|
- if (dto.getPhrValue().intValue() <= configurationDTO.getSystolicBloodPressureThresholdMin() || dto.getPhrValue2().intValue() >= configurationDTO.getDiastolicBloodPressureThresholdMin()) {
|
|
|
|
|
|
+ if (dto.getPhrValue().intValue() <= configurationDTO.getSystolicBloodPressureThresholdMin() || dto.getPhrValue2().intValue() <= configurationDTO.getDiastolicBloodPressureThresholdMin()) {
|
|
lowBloodPressureAlarmYN = "Y";
|
|
lowBloodPressureAlarmYN = "Y";
|
|
}
|
|
}
|
|
|
|
|