org.cqframework.fhir.api.stu3.FhirTransactions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cqf-fhir Show documentation
Show all versions of cqf-fhir Show documentation
The cqf-fhir library for the Clinical Quality Language Java reference implementation
package org.cqframework.fhir.api.stu3;
import org.hl7.fhir.dstu3.model.Bundle;
/**
* Defines an interface for providing transaction support in the Fhir platform API.
*/
public interface FhirTransactions extends org.cqframework.fhir.api.FhirTransactions {
/**
* Executes the given transaction bundle, as defined by the FHIR transaction processing rules:
* https://hl7.org/fhir/http.html#transaction
*
* Note specifically that this interface can also be used to process a `batch` bundle (i.e. a set of
* FHIR API requests that can be performed with a single API request, but does not require full
* transaction semantics.
*
* @param transaction A bundle defining the transaction to be executed
* @return A bundle containing the result of executing the transaction
*/
Bundle transaction(Bundle transaction);
}