diff --git a/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/NarrativeGenerator.java b/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/NarrativeGenerator.java index 6cdc94719..8f5ea5d16 100644 --- a/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/NarrativeGenerator.java +++ b/org.hl7.fhir.dstu3/src/main/java/org/hl7/fhir/dstu3/utils/NarrativeGenerator.java @@ -3701,6 +3701,14 @@ public class NarrativeGenerator implements INarrativeGenerator { return null; } + public boolean generate(ResourceContext rcontext, StructureDefinition sd, java.util.Set outputTracker) throws EOperationOutcome, FHIRException, IOException { + ProfileUtilities pu = new ProfileUtilities(context, null, pkp); + XhtmlNode x = new XhtmlNode(NodeType.Element, "div"); + x.getChildNodes().add(pu.generateTable(definitionsTarget, sd, true, destDir, false, sd.getId(), false, corePath, "", false, false, outputTracker)); + inject(sd, x, NarrativeStatus.GENERATED); + return true; + } + public boolean generate(ResourceContext rcontext, ImplementationGuide ig) throws EOperationOutcome, FHIRException, IOException { XhtmlNode x = new XhtmlNode(NodeType.Element, "div"); x.h2().addText(ig.getName()); diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/xhtml/HierarchicalTableGenerator.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/xhtml/HierarchicalTableGenerator.java index be3831d9e..39298308d 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/xhtml/HierarchicalTableGenerator.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/xhtml/HierarchicalTableGenerator.java @@ -630,7 +630,12 @@ public class HierarchicalTableGenerator { private TableGenerationMode mode; private RenderingI18nContext i18n; - + + public HierarchicalTableGenerator(RenderingI18nContext i18n) { + super(); + this.i18n = i18n; + } + public HierarchicalTableGenerator(RenderingI18nContext i18n, String dest, boolean inlineGraphics) { super(); this.i18n = i18n;