Class LibraryEvaluateOperation
- java.lang.Object
 - 
- org.linuxforhealth.fhir.server.spi.operation.AbstractOperation
 - 
- org.linuxforhealth.fhir.operation.cpg.AbstractCqlOperation
 - 
- org.linuxforhealth.fhir.operation.cpg.LibraryEvaluateOperation
 
 
 
 
- 
- All Implemented Interfaces:
 FHIROperation
public class LibraryEvaluateOperation extends AbstractCqlOperation
 
- 
- 
Field Summary
- 
Fields inherited from class org.linuxforhealth.fhir.operation.cpg.AbstractCqlOperation
PARAM_IN_CONTENT_ENDPOINT, PARAM_IN_DATA, PARAM_IN_DATA_ENDPOINT, PARAM_IN_DEBUG, PARAM_IN_EXPRESSION, PARAM_IN_PARAMETERS, PARAM_IN_PREFETCH_DATA, PARAM_IN_SUBJECT, PARAM_IN_TERMINOLOGY_ENDPOINT, PARAM_IN_USE_SERVER_DATA, PARAM_OUT_DEBUG_RESULT, PARAM_OUT_RETURN 
- 
Fields inherited from class org.linuxforhealth.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 OperationDefinitionbuildOperationDefinition()protected ParametersdoInvoke(FHIROperationContext operationContext, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId, java.lang.String versionId, Parameters parameters, FHIRResourceHelpers resourceHelper, SearchHelper searchHelper)This is the method that concrete subclasses must implement to perform the operation logic.protected java.util.Set<java.lang.String>getCqlExpressionsToEvaluate(ParameterMap paramMap)Get the expression names to evaluate in the primary library- 
Methods inherited from class org.linuxforhealth.fhir.operation.cpg.AbstractCqlOperation
checkUnsupportedParameter, checkUnsupportedParameters, createLibraryLoader, doEvaluation, doEvaluation, getCqlContext, getCqlContext, getCqlEngineParameters, getCqlParameters, getDebugMap, throwOperationException 
- 
Methods inherited from class org.linuxforhealth.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:
 buildOperationDefinitionin classAbstractOperation
 
- 
doInvoke
protected Parameters doInvoke(FHIROperationContext operationContext, java.lang.Class<? extends Resource> resourceType, java.lang.String logicalId, java.lang.String versionId, Parameters parameters, FHIRResourceHelpers resourceHelper, SearchHelper searchHelper) throws FHIROperationException
Description copied from class:AbstractOperationThis is the method that concrete subclasses must implement to perform the operation logic.- Specified by:
 doInvokein classAbstractOperation- Returns:
 - the Parameters object to return or null if there is no response Parameters object to return
 - Throws:
 FHIROperationException
 
- 
getCqlExpressionsToEvaluate
protected java.util.Set<java.lang.String> getCqlExpressionsToEvaluate(ParameterMap paramMap)
Description copied from class:AbstractCqlOperationGet the expression names to evaluate in the primary library- Specified by:
 getCqlExpressionsToEvaluatein classAbstractCqlOperation- Parameters:
 paramMap- operation input- Returns:
 - expression names to evaluate
 
 
 - 
 
 -