From 9ca316bb2f0c210defb06cb1d2f69a322440b5fb Mon Sep 17 00:00:00 2001 From: dotasek Date: Mon, 8 May 2023 13:10:28 -0400 Subject: [PATCH] Move ignore extension logic in 10_30 convertors --- .../advisors/impl/BaseAdvisor_10_30.java | 5 +-- .../conv10_30/VersionConvertor_10_30.java | 17 ++++++--- .../resources10_30/Resource10_30.java | 38 ++++++++++++------- 3 files changed, 37 insertions(+), 23 deletions(-) diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_30.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_30.java index 178a9cda3..9391cd1d1 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_30.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/advisors/impl/BaseAdvisor_10_30.java @@ -10,8 +10,6 @@ import org.hl7.fhir.convertors.advisors.interfaces.BaseAdvisor30; public class BaseAdvisor_10_30 extends BaseAdvisor30 { - private final List ignoredUrls = new ArrayList<>(Collections.singletonList("http://hl7.org/fhir/3.0/StructureDefinition/extension-CapabilityStatement.acceptUnknown")); - public BaseAdvisor_10_30() { } @@ -21,6 +19,7 @@ public class BaseAdvisor_10_30 extends BaseAdvisor30