From 546659521593840526b995dee9802e50aed9fefb Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Sun, 22 Sep 2024 06:41:38 -0400 Subject: [PATCH] Work around problem with language value set being marked experimental --- .../src/main/java/org/hl7/fhir/r5/utils/PackageHackerR5.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/PackageHackerR5.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/PackageHackerR5.java index 5ea179634..376afc72b 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/PackageHackerR5.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/PackageHackerR5.java @@ -36,6 +36,10 @@ public class PackageHackerR5 { r.hack("http://terminology.hl7.org/CodeSystem/v2-0360-2.3.1", "2.3.1"); } + if ("http://hl7.org/fhir/ValueSet/languages".equals(r.getUrl())) { + r.getResource().setExperimental(false); + } + if ("http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor".equals(r.getUrl()) && "4.0.1".equals(r.getVersion())) { StructureDefinition sd = (StructureDefinition) r.getResource(); for (ElementDefinition ed : sd.getSnapshot().getElement()) {