diff --git a/src/main/java/org/openelisglobal/common/rest/provider/ResultsTreeProviderRestController.java b/src/main/java/org/openelisglobal/common/rest/provider/ResultsTreeProviderRestController.java index dad512d997..4987e8dca5 100644 --- a/src/main/java/org/openelisglobal/common/rest/provider/ResultsTreeProviderRestController.java +++ b/src/main/java/org/openelisglobal/common/rest/provider/ResultsTreeProviderRestController.java @@ -122,9 +122,9 @@ public List getResultTreeArray(@RequestParam String patientId) { resultType = testService.getResultType(result.getTestResult().getTest()); } resultDisplay.setValue(""); - if (resultType.equals("N")) { - resultDisplay.setValue(result.getValue() != null ? result.getValue(true) : ""); - } else if (resultType.equals("D")) { + if (resultType.equals("N") || resultType.equals("A") || resultType.equals("R")) { + resultDisplay.setValue(result.getValue() != null ? result.getValue() : ""); + } else if (resultType.equals("D")|| resultType.equals("M") || resultType.equals("C")) { if (result.getValue() != null && StringUtils.isNumeric(result.getValue())) { Dictionary dict = dictionaryService.get(result.getValue()); if (dict != null) {