Skip to content

Commit a883022

Browse files
BAH-2433 | formatted decimal value in chief complaint custom message
1 parent 0f732ee commit a883022

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

omod/src/main/java/org/bahmni/module/hip/web/service/FHIRResourceMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ public String getCustomDisplayStringForChiefComplaint(Set<Obs> groupMembers) {
304304
if(childObs.getConcept().getName().getName().equals(Config.CHIEF_COMPLAINT_CODED.getValue()))
305305
chiefComplaintCoded = childObs.getValueCoded().getDisplayString();
306306
if(childObs.getConcept().getName().getName().equals(Config.SIGN_SYMPTOM_DURATION.getValue()))
307-
signOrSymptomDuration = childObs.getValueNumeric().toString();
307+
signOrSymptomDuration = String.valueOf(Math.round(childObs.getValueNumeric()));
308308
if(childObs.getConcept().getName().getName().equals(Config.CHIEF_COMPLAINT_DURATION.getValue()))
309309
chiefComplaintDuration = childObs.getValueCoded().getDisplayString();
310310
}

0 commit comments

Comments
 (0)