diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DiagnosticReportRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DiagnosticReportRenderer.java index 863395783..13680d5aa 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DiagnosticReportRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/DiagnosticReportRenderer.java @@ -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");