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 java.lang.Iterable<java.lang.Object>
executeQueries(java.lang.String dataType, java.util.List<SearchParameterMap> queries)
protected Resource
executeQuery(java.lang.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 java.lang.Iterable<java.lang.Object> executeQueries(java.lang.String dataType, java.util.List<SearchParameterMap> queries) throws java.lang.Exception
- Specified by:
executeQueries
in classSearchParameterFHIRRetrieveProvider
- Throws:
java.lang.Exception
-
executeQuery
protected Resource executeQuery(java.lang.String dataType, SearchParameterMap map) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getFHIRParameters
protected FHIRParameters getFHIRParameters(SearchParameterMap map)
-
-