Package com.ibm.fhir.operation.apply
Class ApplyOperation
- java.lang.Object
-
- com.ibm.fhir.server.operation.spi.AbstractOperation
-
- com.ibm.fhir.operation.apply.ApplyOperation
-
- All Implemented Interfaces:
FHIROperation
public class ApplyOperation extends AbstractOperation
$apply
is an operation specific to PlanDefinition.
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.server.operation.spi.AbstractOperation
definition
-
-
Constructor Summary
Constructors Constructor Description ApplyOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OperationDefinition
buildOperationDefinition()
String
checkAndProcessEncounter(FHIRResourceHelpers resourceHelper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters, Parameters parameters)
String
checkAndProcessOrganization(FHIRResourceHelpers resourceHelper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters, Parameters parameters)
String
checkAndProcessPractitioner(FHIRResourceHelpers resourceHelper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters, Parameters parameters)
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.-
Methods inherited from class com.ibm.fhir.server.operation.spi.AbstractOperation
buildExceptionWithIssue, buildExceptionWithIssue, countParameters, findOpDefParameter, getDefinition, getName, getParameter, getParameterDefinitions, getParameters, getResourceTypeNames, invoke, 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
-
checkAndProcessOrganization
public String checkAndProcessOrganization(FHIRResourceHelpers resourceHelper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters, Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
checkAndProcessPractitioner
public String checkAndProcessPractitioner(FHIRResourceHelpers resourceHelper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters, Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
checkAndProcessEncounter
public String checkAndProcessEncounter(FHIRResourceHelpers resourceHelper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters, Parameters parameters) throws FHIROperationException
- Throws:
FHIROperationException
-
-