Package org.cqframework.fhir.api.stu3
Interface FhirArtifactRepository
- All Superinterfaces:
FhirService,FhirService
- All Known Subinterfaces:
FhirPublishableArtifactRepository<T>
This interface supports basic shareable artifact repository interactions, as defined by the ShareableArtifact
capability statement (https://build.fhir.org/ig/HL7/cqf-measures/CapabilityStatement-shareable-measure-repository.html)
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.dstu3.model.BundlebyCanonical(String url) Returns the set of resources matching the given canonical URL<T extends org.hl7.fhir.dstu3.model.Resource>
TbyCanonicalAndVersion(String url, String version) Returns the unique resource matching the given canonical and version.<T extends org.hl7.fhir.dstu3.model.Resource>
TbyCanonicalWithVersion(String urlWithVersion) Returns the unique resource matching the given canonical and version.<T extends org.hl7.fhir.dstu3.model.Resource>
TcurrentByCanonical(String url) Returns the "current" version of the given canonical, using the versioning semantics defined by the repository.<T extends org.hl7.fhir.dstu3.model.Resource>
TcurrentByCanonical(String url, boolean includeDraft) Returns the "current" version of the given canonical, including resources in draft status, using the versioning semantics defined by the repository.
-
Method Details
-
byCanonical
Returns the set of resources matching the given canonical URL- Parameters:
url-- Returns:
-
byCanonicalWithVersion
Returns the unique resource matching the given canonical and version. If more than one resource matches the given canonical and version, an error is thrown.- Type Parameters:
T-- Parameters:
urlWithVersion-- Returns:
-
byCanonicalAndVersion
Returns the unique resource matching the given canonical and version. If more than one resource matches the given canonical and version, an error is thrown.- Type Parameters:
T-- Parameters:
url-version-- Returns:
-
currentByCanonical
Returns the "current" version of the given canonical, using the versioning semantics defined by the repository.- Type Parameters:
T-- Parameters:
url-- Returns:
-
currentByCanonical
<T extends org.hl7.fhir.dstu3.model.Resource> T currentByCanonical(String url, boolean includeDraft) Returns the "current" version of the given canonical, including resources in draft status, using the versioning semantics defined by the repository.- Type Parameters:
T-- Parameters:
url-includeDraft-- Returns:
-