|
@@ -188,20 +188,20 @@ public class PatientPHRLatestDTO {
|
|
public boolean getIsTemperatureWarning() {
|
|
public boolean getIsTemperatureWarning() {
|
|
if (this.temperature == null) return false;
|
|
if (this.temperature == null) return false;
|
|
|
|
|
|
- return this.temperature > 37.5;
|
|
|
|
|
|
+ return this.temperature >= 37.5;
|
|
}
|
|
}
|
|
public boolean getIsBloodPressureWarning() {
|
|
public boolean getIsBloodPressureWarning() {
|
|
if (this.systolicBloodPressure == null || this.diastolicBloodPressure == null) return false;
|
|
if (this.systolicBloodPressure == null || this.diastolicBloodPressure == null) return false;
|
|
|
|
|
|
- boolean highBP = this.systolicBloodPressure > 140 || this.diastolicBloodPressure > 90;
|
|
|
|
- boolean lowBP = this.systolicBloodPressure < 80 || this.diastolicBloodPressure < 60;
|
|
|
|
|
|
+ boolean highBP = this.systolicBloodPressure >= 149 || this.diastolicBloodPressure >= 99;
|
|
|
|
+ boolean lowBP = this.systolicBloodPressure <= 90 || this.diastolicBloodPressure <= 60;
|
|
|
|
|
|
return highBP || lowBP;
|
|
return highBP || lowBP;
|
|
}
|
|
}
|
|
public boolean getIsOxygenSaturationeWarning() {
|
|
public boolean getIsOxygenSaturationeWarning() {
|
|
if (this.oxygenSaturation == null) return false;
|
|
if (this.oxygenSaturation == null) return false;
|
|
|
|
|
|
- return this.oxygenSaturation < 95;
|
|
|
|
|
|
+ return this.oxygenSaturation <= 94;
|
|
}
|
|
}
|
|
public boolean getHasTodaySymptom() {
|
|
public boolean getHasTodaySymptom() {
|
|
boolean ret = false;
|
|
boolean ret = false;
|