From 17c7879122b1732a5479127bcc66645b7dd46d44 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Fri, 25 Jun 2021 17:37:28 +1000 Subject: [PATCH] add special exemption for immds due to it changing realms --- .../hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java index 04cc945bf..985fce8ce 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/npm/FilesystemPackageCacheManager.java @@ -359,7 +359,7 @@ public class FilesystemPackageCacheManager extends BasePackageCacheManager imple } if (npm.name() == null || id == null || !id.equalsIgnoreCase(npm.name())) { - if (!id.equals("hl7.fhir.r5.core")) {// temporary work around + if (!id.equals("hl7.fhir.r5.core") && !id.equals("hl7.fhir.us.immds")) {// temporary work around throw new IOException("Attempt to import a mis-identified package. Expected " + id + ", got " + npm.name()); } }