add special exemption for immds due to it changing realms

This commit is contained in:
Grahame Grieve 2021-06-25 17:37:28 +10:00
parent 4dd5b370e3
commit 17c7879122
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
}