WIP test loading IGs with explicit fhir version for each IG

This commit is contained in:
dotasek 2022-04-06 16:32:51 -04:00
parent 76411218ac
commit 489218da82
1 changed files with 7 additions and 0 deletions

View File

@ -100,6 +100,13 @@ public class IgLoader {
if (source.containsKey("version.info")) {
version = readInfoVersion(source.get("version.info"));
}
if (src.endsWith("CareConnect-AllergyIntolerance-1.json")) {
version = "3.0.1";
} else if (src.endsWith("UKCoreAllergyIntolerance.json")) {
version = "4.0.1";
}
for (Map.Entry<String, byte[]> t : source.entrySet()) {
String fn = t.getKey();
if (!exemptFile(fn)) {