Package com.ibm.fhir.operation.cqf
Class EvaluateMeasureOperation
- java.lang.Object
-
- com.ibm.fhir.server.spi.operation.AbstractOperation
-
- com.ibm.fhir.operation.cqf.AbstractMeasureOperation
-
- com.ibm.fhir.operation.cqf.EvaluateMeasureOperation
-
- All Implemented Interfaces:
FHIROperation
- Direct Known Subclasses:
MeasureCollectDataOperation
public class EvaluateMeasureOperation extends AbstractMeasureOperation
-
-
Field Summary
Fields Modifier and Type Field Description static String
PARAM_IN_MEASURE
static String
PARAM_IN_PRACTITIONER
static String
PARAM_IN_REPORT_TYPE
static String
PARAM_IN_SUBJECT
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 EvaluateMeasureOperation()
-
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.String
getPractitioner(ParameterMap paramMap)
MeasureReportType
getReportType(ParameterMap paramMap, String subject)
String
getSubject(ParameterMap paramMap)
-
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_MEASURE
public static final String PARAM_IN_MEASURE
- See Also:
- Constant Field Values
-
PARAM_IN_PRACTITIONER
public static final String PARAM_IN_PRACTITIONER
- See Also:
- Constant Field Values
-
PARAM_IN_SUBJECT
public static final String PARAM_IN_SUBJECT
- See Also:
- Constant Field Values
-
PARAM_IN_REPORT_TYPE
public static final String PARAM_IN_REPORT_TYPE
- 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
-
getReportType
public MeasureReportType getReportType(ParameterMap paramMap, String subject)
-
getSubject
public String getSubject(ParameterMap paramMap)
-
getPractitioner
public String getPractitioner(ParameterMap paramMap)
-
-