From 8cb0453834b02fd97bfec0916f563c74734d823c Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 1 Nov 2024 19:47:10 +1030 Subject: [PATCH] upgrade core + compile fixes --- gradle.properties | 2 +- .../hl7/fhir/tools/publisher/ExampleInspector.java | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 15c9d96..ae09c7b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -fhirCoreVersion = 6.3.29 +fhirCoreVersion = 6.4.1-SNAPSHOT apachePoiVersion = 5.2.1 jacksonVersion = 2.16.0 apacheHttpcomponentsVersion = 4.5.13 diff --git a/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java b/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java index 3b80237..df4e9a5 100644 --- a/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java +++ b/src/main/java/org/hl7/fhir/tools/publisher/ExampleInspector.java @@ -80,8 +80,8 @@ import org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity; import org.hl7.fhir.utilities.validation.ValidationMessage.IssueType; import org.hl7.fhir.utilities.validation.ValidationMessage.Source; -import org.hl7.fhir.validation.instance.BasePolicyAdvisorForFullValidation; import org.hl7.fhir.validation.instance.InstanceValidator; +import org.hl7.fhir.validation.instance.advisor.BasePolicyAdvisorForFullValidation; import org.json.JSONObject; import org.json.JSONTokener; import org.xml.sax.SAXException; @@ -876,6 +876,16 @@ public List getImpliedProfilesForResource(IResourceValidato definition, structure, resource, valid, msgServices, messages); } + @Override + public boolean isSuppressMessageId(String path, String messageId) { + return false; + } + + @Override + public ReferenceValidationPolicy getReferencePolicy() { + return ReferenceValidationPolicy.IGNORE; + } + }