From cf77cd171715dc8ea1a84119765641480eef3250 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 8 Sep 2022 17:50:39 -0400 Subject: [PATCH] Add new param to BaseAdvisor_40_50 --- .../convertors/advisors/impl/BaseAdvisor_40_50.java | 12 +++++++++++- .../resources40_50/ImplementationGuide40_50.java | 11 ++++++----- .../conv40_50/resources40_50/Resource40_50.java | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java index b9f5a75b4..31d456130 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_40_50.java @@ -11,14 +11,21 @@ import org.hl7.fhir.exceptions.FHIRException; public class BaseAdvisor_40_50 extends BaseAdvisor50 { private static final List TestScriptIgnoredUrls = Arrays.asList("http://hl7.org/fhir/5.0/StructureDefinition/extension-TestScript.scope"); + private boolean convertImplementationGuideDefinitionParameterComponent = true; public BaseAdvisor_40_50() { + } public BaseAdvisor_40_50(Boolean failFast) { this.failFast = failFast; } - + + public BaseAdvisor_40_50(Boolean failFast, Boolean convertImplementationGuideDefinitionParameterComponent) { + this.failFast = failFast; + this.convertImplementationGuideDefinitionParameterComponent = convertImplementationGuideDefinitionParameterComponent; + } + @Override public boolean ignoreExtension(@Nonnull String path, @@ -30,4 +37,7 @@ public class BaseAdvisor_40_50 extends BaseAdvisor50