Merge pull request #1782 from ahdis/oe_context

base workercontext adjustements
This commit is contained in:
Grahame Grieve 2024-11-01 16:27:24 +10:30 committed by GitHub
commit c2aa01c02a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -2191,10 +2191,10 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
return (T) transforms.get(uri, version, pvlist);
}
if (actors.has(uri)) {
return (T) transforms.get(uri, version, pvlist);
return (T) actors.get(uri, version, pvlist);
}
if (requirements.has(uri)) {
return (T) transforms.get(uri, version, pvlist);
return (T) requirements.get(uri, version, pvlist);
}
if (questionnaires.has(uri)) {
return (T) questionnaires.get(uri, version, pvlist);
@ -2453,6 +2453,8 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
return (T) valueSets.get(uri, version);
} else if ("CodeSystem".equals(cls)) {
return (T) codeSystems.get(uri, version);
} else if ("NamingSystem".equals(cls)) {
return (T) systems.get(uri, version);
} else if ("ConceptMap".equals(cls)) {
return (T) maps.get(uri, version);
} else if ("PlanDefinition".equals(cls)) {
@ -2460,9 +2462,9 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
} else if ("OperationDefinition".equals(cls)) {
OperationDefinition od = operations.get(uri, version);
return (T) od;
} else if ("Questionnaire.class".equals(cls)) {
} else if ("Questionnaire".equals(cls)) {
return (T) questionnaires.get(uri, version);
} else if ("SearchParameter.class".equals(cls)) {
} else if ("SearchParameter".equals(cls)) {
SearchParameter res = searchParameters.get(uri, version);
return (T) res;
}