This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example OperationDefinition/CanonicalResource-current-canonical (Narrative)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

This is the narrative for the resource. See also the XML, JSON or Turtle format.

Note that this is the formal definition for the current-canonical operation as an OperationDefinition on CanonicalResource. See the Operation documentation

URL: [base]/$current-canonical

URL: [base]/CanonicalResource/$current-canonical



This is the canonical URL (with no version declared)


The statuses to allow to be returned. If no status codes are provided, then any status is ok


If no resources can be found, will return nothing. If multiple resources are found for the specified statuses and 'most current' can't be determined by comparing the versions, the operation will fail with an operation outcome.

If none of the instances define the versionAlgorithm to use, a server may dynamically attempt to determine which versioning system is implied by the data.

If the instances found with the provided canonical URL define different versionAlgorithm values the server may return an error.

Note that the CanonicalResource is an interface and not an actual resource type, as such the operation is actually called on the canonical resource types such as CodeSystem, Questionnaire etc.



Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.