From 96b7d159a707216022e4c28f7bb82298080a1a17 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 24 Nov 2023 08:50:21 +1100 Subject: [PATCH] Fix rendering of TriggerDefinition --- .../java/org/hl7/fhir/r5/renderers/ProfileDrivenRenderer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ProfileDrivenRenderer.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ProfileDrivenRenderer.java index 83d2f9ba9..0fc35a82b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ProfileDrivenRenderer.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/renderers/ProfileDrivenRenderer.java @@ -61,6 +61,7 @@ import org.hl7.fhir.r5.model.StringType; import org.hl7.fhir.r5.model.StructureDefinition; import org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionKind; import org.hl7.fhir.r5.model.Timing; +import org.hl7.fhir.r5.model.TriggerDefinition; import org.hl7.fhir.r5.model.UriType; import org.hl7.fhir.r5.model.UsageContext; import org.hl7.fhir.r5.renderers.utils.BaseWrappers.BaseWrapper; @@ -512,6 +513,9 @@ public class ProfileDrivenRenderer extends ResourceRenderer { } else if (e instanceof DataRequirement) { DataRequirement p = (DataRequirement) e; renderDataRequirement(x, p); + } else if (e instanceof TriggerDefinition) { + TriggerDefinition p = (TriggerDefinition) e; + renderTriggerDefinition(x, p); } else if (e instanceof UsageContext) { UsageContext p = (UsageContext) e; renderUsageContext(x, p);