Class RestFHIRRetrieveProvider
- java.lang.Object
-
- org.opencds.cqf.cql.engine.retrieve.TerminologyAwareRetrieveProvider
-
- com.ibm.fhir.cql.engine.retrieve.SearchParameterFHIRRetrieveProvider
-
- com.ibm.fhir.cql.engine.rest.retrieve.RestFHIRRetrieveProvider
-
- All Implemented Interfaces:
org.opencds.cqf.cql.engine.retrieve.RetrieveProvider
public class RestFHIRRetrieveProvider extends SearchParameterFHIRRetrieveProvider
This is an implementation of a retrieve provider for the CQL Engine that uses the IBM FHIR Server REST Client to access data.
-
-
Constructor Summary
Constructors Constructor Description RestFHIRRetrieveProvider(SearchParameterResolver searchParameterResolver, FHIRClient fhirClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Iterable<Object>
executeQueries(String dataType, List<SearchParameterMap> queries)
protected Resource
executeQuery(String dataType, SearchParameterMap map)
protected FHIRParameters
getFHIRParameters(SearchParameterMap map)
-
Methods inherited from class com.ibm.fhir.cql.engine.retrieve.SearchParameterFHIRRetrieveProvider
getBaseMap, getCodeParams, getCodeParams, getContextParam, getDateRangeParam, getMaxCodesPerQuery, getModifiedName, getPageSize, getTemplateParam, innerSetupQueries, retrieve, setMaxCodesPerQuery, setPageSize, setupQueries
-
-
-
-
Constructor Detail
-
RestFHIRRetrieveProvider
public RestFHIRRetrieveProvider(SearchParameterResolver searchParameterResolver, FHIRClient fhirClient)
-
-
Method Detail
-
executeQueries
protected Iterable<Object> executeQueries(String dataType, List<SearchParameterMap> queries) throws Exception
- Specified by:
executeQueries
in classSearchParameterFHIRRetrieveProvider
- Throws:
Exception
-
executeQuery
protected Resource executeQuery(String dataType, SearchParameterMap map) throws Exception
- Throws:
Exception
-
getFHIRParameters
protected FHIRParameters getFHIRParameters(SearchParameterMap map)
-
-