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,8 +125,12 @@ public class DiagnosticReportRenderer extends ResourceRenderer {
pw = getProperty(dr, "conclusion");
if (valued(pw)) {
if (pw.fhirType().equals("markdown")) {
render(x, pw.value());
} else {
render(x.para(), pw.value());
}
}
pw = getProperty(dr, "conclusionCode");
if (!valued(pw)) {