From 67c9904aa8e53e160f1e48e36bde7c413a2f7d43 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 18 Aug 2020 17:59:30 +1000 Subject: [PATCH] fix loading bug --- .../main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java index d8112ff25..d66cee01c 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/context/SimpleWorkerContext.java @@ -437,7 +437,7 @@ public class SimpleWorkerContext extends BaseWorkerContext implements IWorkerCon if (types.length == 0) { types = new String[] { "StructureDefinition", "ValueSet", "SearchParameter", "OperationDefinition", "Questionnaire", "ConceptMap", "StructureMap", "NamingSystem" }; } - for (String s : pi.listResources(loader.getTypes())) { + for (String s : pi.listResources(types)) { try { loadDefinitionItem(s, pi.load("package", s), loader, null, new PackageVersion(pi.id(), pi.version())); t++;