diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NarrativeGenerator.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NarrativeGenerator.java index 12368218c..37d744d32 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NarrativeGenerator.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NarrativeGenerator.java @@ -3627,7 +3627,7 @@ public class NarrativeGenerator implements INarrativeGenerator { a.addText(cc.getCode()); if (hasDisplay) { td = tr.td(); - renderDisplayName(c, cs, lang, td); + renderDisplayName(cc, cs, lang, td); } int w = 1 + (deprecated ? 1 : 0) + (comment ? 1 : 0) + (version ? 1 : 0) + maps.size(); if (properties != null) {