fix loading bug
This commit is contained in:
parent
1cd01513c2
commit
67c9904aa8
|
@ -437,7 +437,7 @@ public class SimpleWorkerContext extends BaseWorkerContext implements IWorkerCon
|
||||||
if (types.length == 0) {
|
if (types.length == 0) {
|
||||||
types = new String[] { "StructureDefinition", "ValueSet", "SearchParameter", "OperationDefinition", "Questionnaire", "ConceptMap", "StructureMap", "NamingSystem" };
|
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 {
|
try {
|
||||||
loadDefinitionItem(s, pi.load("package", s), loader, null, new PackageVersion(pi.id(), pi.version()));
|
loadDefinitionItem(s, pi.load("package", s), loader, null, new PackageVersion(pi.id(), pi.version()));
|
||||||
t++;
|
t++;
|
||||||
|
|
Loading…
Reference in New Issue