All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cqframework.fhir.api.FhirTransactions Maven / Gradle / Ivy

Go to download

The cqf-fhir library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
package org.cqframework.fhir.api;

import org.hl7.fhir.instance.model.api.IBaseBundle;

/**
 * Defines an interface for providing transaction support in the Fhir platform API.
 */
public interface 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
     */
    IBaseBundle transaction(IBaseBundle transaction);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy