com.ibm.fhir.server.operation.spi.FHIROperation Maven / Gradle / Ivy
/*
* (C) Copyright IBM Corp. 2016, 2020
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.server.operation.spi;
import com.ibm.fhir.exception.FHIROperationException;
import com.ibm.fhir.model.resource.OperationDefinition;
import com.ibm.fhir.model.resource.Parameters;
import com.ibm.fhir.model.resource.Resource;
public interface FHIROperation {
String getName();
Parameters invoke(FHIROperationContext operationContext, Class extends Resource> resourceType, String logicalId, String versionId, Parameters parameters,
FHIRResourceHelpers resourceHelpers) throws FHIROperationException;
OperationDefinition getDefinition();
}