Package com.ibm.fhir.operation.cpg
Class LibraryEvaluateOperation
- java.lang.Object
-
- com.ibm.fhir.server.spi.operation.AbstractOperation
-
- com.ibm.fhir.operation.cpg.AbstractCqlOperation
-
- com.ibm.fhir.operation.cpg.LibraryEvaluateOperation
-
- All Implemented Interfaces:
FHIROperation
public class LibraryEvaluateOperation extends AbstractCqlOperation
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.operation.cpg.AbstractCqlOperation
PARAM_IN_DEBUG, PARAM_IN_EXPRESSION, PARAM_IN_PARAMETERS, PARAM_IN_SUBJECT, PARAM_OUT_DEBUG_RESULT, PARAM_OUT_RETURN
-
Fields inherited from class com.ibm.fhir.server.spi.operation.AbstractOperation
definition
-
-
Constructor Summary
Constructors Constructor Description LibraryEvaluateOperation()
-
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 Set<String>
getCqlExpressionsToEvaluate(ParameterMap paramMap)
-
Methods inherited from class com.ibm.fhir.operation.cpg.AbstractCqlOperation
createLibraryLoader, doEvaluation, doEvaluation, getCqlContext, getCqlContext, getCqlEngineParameters, getCqlParameters, getDebugMap
-
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
-
-
-
-
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
-
getCqlExpressionsToEvaluate
protected Set<String> getCqlExpressionsToEvaluate(ParameterMap paramMap)
- Specified by:
getCqlExpressionsToEvaluate
in classAbstractCqlOperation
-
-