Package org.cqframework.fhir.api
Interface FhirPlatform
- All Known Subinterfaces:
FhirPlatform,FhirPlatform
public interface FhirPlatform
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns an implementation of the FhirCapabilities interface appropriate to the environment.dal()Returns an implementation of the FhirDal interface appropriate to the environment.<T extends FhirService>
TSupports accessing specific services through the platform API such as terminology services and knowledge repositoriesReturns an implementation of the FhirTransactions interface appropriate to the environment.
-
Method Details
-
dal
FhirDal dal()Returns an implementation of the FhirDal interface appropriate to the environment.- Returns:
-
capabilities
FhirCapabilities capabilities()Returns an implementation of the FhirCapabilities interface appropriate to the environment.- Returns:
-
transactions
FhirTransactions transactions()Returns an implementation of the FhirTransactions interface appropriate to the environment.- Returns:
-
getService
Supports accessing specific services through the platform API such as terminology services and knowledge repositories- Type Parameters:
T- The type of FhirService being requested- Returns:
- An implementation of the requested interface appropriate to the environment
-