Package com.ibm.fhir.operation.cqf
Class CareGapsOperation
- java.lang.Object
-
- com.ibm.fhir.server.spi.operation.AbstractOperation
-
- com.ibm.fhir.operation.cqf.AbstractMeasureOperation
-
- com.ibm.fhir.operation.cqf.CareGapsOperation
-
- All Implemented Interfaces:
FHIROperation
public class CareGapsOperation extends AbstractMeasureOperation
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_IN_SUBJECT
static String
PARAM_IN_TOPIC
static String
PARAM_OUT_RETURN
-
Fields inherited from class com.ibm.fhir.operation.cqf.AbstractMeasureOperation
CQL_PARAM_MEASUREMENT_PERIOD, PARAM_IN_PERIOD_END, PARAM_IN_PERIOD_START
-
Fields inherited from class com.ibm.fhir.server.spi.operation.AbstractOperation
definition
-
-
Constructor Summary
Constructors Constructor Description CareGapsOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OperationDefinition
buildOperationDefinition()
protected Parameters
doInvoke(FHIROperationContext operationContext, Class<? extends Resource> resourceType, String logicalId, String versionId, Parameters parameters, FHIRResourceHelpers resourceHelper)
This is the method that concrete subclasses must implement to perform the operation logic.protected Bundle
processAllMeasures(FHIRBundleCursor cursor, String subject, ZoneOffset zoneOffset, org.opencds.cqf.cql.engine.runtime.Interval measurementPeriod, FHIRResourceHelpers resourceHelper, org.opencds.cqf.cql.engine.terminology.TerminologyProvider termProvider, Map<String,org.opencds.cqf.cql.engine.data.DataProvider> dataProviders)
-
Methods inherited from class com.ibm.fhir.operation.cqf.AbstractMeasureOperation
createLibraryLoader, doMeasureEvaluation, getMeasurementPeriod, getRetrieveProvider, getTerminologyProvider, getZoneOffset, loadCqlLibraries
-
Methods inherited from class com.ibm.fhir.server.spi.operation.AbstractOperation
buildExceptionWithIssue, buildExceptionWithIssue, countParameters, findOpDefParameter, getDefinition, getName, getParameter, getParameterDefinitions, getParameters, getResourceTypeNames, invoke, isAbstractResourceTypesDisallowed, isAdditionalMethodAllowed, validateInputParameters, validateOperationContext, validateOutputParameters, validateParameters
-
-
-
-
Field Detail
-
PARAM_IN_TOPIC
public static final String PARAM_IN_TOPIC
- See Also:
- Constant Field Values
-
PARAM_IN_SUBJECT
public static final String PARAM_IN_SUBJECT
- See Also:
- Constant Field Values
-
PARAM_OUT_RETURN
public static final String PARAM_OUT_RETURN
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildOperationDefinition
protected OperationDefinition buildOperationDefinition()
- Specified by:
buildOperationDefinition
in classAbstractOperation
-
doInvoke
protected Parameters doInvoke(FHIROperationContext operationContext, Class<? extends Resource> resourceType, String logicalId, String versionId, Parameters parameters, FHIRResourceHelpers resourceHelper) throws FHIROperationException
Description copied from class:AbstractOperation
This is the method that concrete subclasses must implement to perform the operation logic.- Specified by:
doInvoke
in classAbstractOperation
- Returns:
- the Parameters object to return or null if there is no response Parameters object to return
- Throws:
FHIROperationException
-
processAllMeasures
protected Bundle processAllMeasures(FHIRBundleCursor cursor, String subject, ZoneOffset zoneOffset, org.opencds.cqf.cql.engine.runtime.Interval measurementPeriod, FHIRResourceHelpers resourceHelper, org.opencds.cqf.cql.engine.terminology.TerminologyProvider termProvider, Map<String,org.opencds.cqf.cql.engine.data.DataProvider> dataProviders)
-
-