This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
This is the narrative for the resource. See also the XML, JSON or Turtle format.
OPERATION: Discover what versions a server supports
The official URL for this operation definition is:
http://hl7.org/fhir/OperationDefinition/CapabilityStatement2-versions
Using the FHIR Version Mime Type Parameter, a server can support multiple versions on the same end-point. The only way for client to find out what versions a server supports in this fashion is the $versions operation. The client invokes the operation with no parameters. and the server returns the list of supported versions, along with the default version it will use if no fhirVersion parameter is present
URL: [base]/$versions
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
OUT | version | 1..* | code | A version supported by the server. Use the major.minor version like 3.0 | |
OUT | default | 1..1 | code | The default version for the server. Use the major.minor version like 3.0 |
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.