This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). 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 |
Raw JSON (canonical form + also see JSON Format Specification)
Operation Definition
{ "resourceType" : "OperationDefinition", "id" : "CapabilityStatement2-versions", "text" : { "status" : "extensions", "div" : "<div>!-- Snipped for Brevity --></div>" }, "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger" : 0 }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode" : "trial-use" }], "url" : "http://hl7.org/fhir/OperationDefinition/CapabilityStatement2-versions", "version" : "4.5.0", "name" : "Discover what versions a server supports", "status" : "draft", "kind" : "operation", "date" : "2020-08-20T17:41:31+10:00", "publisher" : "HL7 (FHIR Project)", "contact" : [{ "telecom" : [{ "system" : "url", "value" : "http://hl7.org/fhir" }, { "system" : "email", "value" : "fhir@lists.hl7.org" }] }], "description" : "Using the [FHIR Version Mime Type Parameter](http.html#version-parameter), a server can support [multiple versions on the same end-point](versioning.html#mt-version). 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", "code" : "versions", "resource" : ["CapabilityStatement2"], "system" : true, "type" : false, "instance" : false, "parameter" : [{ "name" : "version", "use" : "out", "min" : 1, "max" : "*", "documentation" : "A version supported by the server. Use the major.minor version like 3.0", "type" : "code" }, { "name" : "default", "use" : "out", "min" : 1, "max" : "1", "documentation" : "The default version for the server. Use the major.minor version like 3.0", "type" : "code" }] }
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.