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

org.cqframework.fhir.api.FhirPlatform 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;

/**
 * FhirPlatform defines the base interface for accessing Fhir API features including the data access layer, capabilities,
 * transactions, operations, and services.
 *
 * Initial design discussion for this interface is taking place here:
 * https://github.com/DBCG/cql-evaluator/discussions/90
 */
public interface FhirPlatform {
    /**
     * Returns an implementation of the FhirDal interface appropriate to the environment.
     * @return
     */
    FhirDal dal();

    /**
     * Returns an implementation of the FhirCapabilities interface appropriate to the environment.
     * @return
     */
    FhirCapabilities capabilities();

    /**
     * Returns an implementation of the FhirTransactions interface appropriate to the environment.
     * @return
     */
    FhirTransactions transactions();

    /**
     * Supports accessing specific services through the platform API such as terminology services and knowledge repositories
     * @param  The type of FhirService being requested
     * @return An implementation of the requested interface appropriate to the environment
     */
     T getService();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy