fix bug caused by changing DiagnosticReport.conclusion to markdown

This commit is contained in:
Grahame Grieve 2023-02-18 15:13:37 +11:00
parent 38a55d261d
commit 1b86b29d1f
1 changed files with 5 additions and 1 deletions

View File

@ -125,7 +125,11 @@ public class DiagnosticReportRenderer extends ResourceRenderer {
pw = getProperty(dr, "conclusion");
if (valued(pw)) {
render(x.para(), pw.value());
if (pw.fhirType().equals("markdown")) {
render(x, pw.value());
} else {
render(x.para(), pw.value());
}
}
pw = getProperty(dr, "conclusionCode");