Skip to content

Commit

Permalink
Fix not using local terminology provider
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Aug 3, 2020
1 parent ad18181 commit d592e1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public Bundle evaluate(@IdParam IdType theId, @OperationParam(name = "patientId"
IGenericClient client = ClientHelperDos.getClient(resolver.getFhirContext(), dataEndpoint);
RestFhirRetrieveProvider retriever = new RestFhirRetrieveProvider(new SearchParameterResolver(resolver.getFhirContext()), client);
retriever.setTerminologyProvider(terminologyProvider);
if (terminologyEndpoint != null && !terminologyEndpoint.getAddress().equals(dataEndpoint.getAddress())) {
if (terminologyEndpoint == null ||(terminologyEndpoint != null && !terminologyEndpoint.getAddress().equals(dataEndpoint.getAddress()))) {
retriever.setExpandValueSets(true);
}

Expand Down

0 comments on commit d592e1e

Please sign in to comment.