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 . Page versions: R5 R4B R4
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" : "CapabilityStatement-versions", "text" : { "status" : "generated", "div" : "<div>!-- Snipped for Brevity --></div>" }, "extension" : [{ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger" : 5 }, { "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode" : "trial-use" }], "url" : "http://hl7.org/fhir/OperationDefinition/CapabilityStatement-versions", "version" : "4.2.0", "name" : "Discover what versions a server supports", "status" : "draft", "kind" : "operation", "date" : "2019-12-31T21:03:40+11: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" : ["CapabilityStatement"], "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.