Release 4B Snapshot #1

This page is part of the FHIR Specification (v4.3.0-snapshot1: Release 4B Snapshot #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

Operation-capabilitystatement-versions.json

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form + also see JSON Format Specification)

Operation Definition

{
  "resourceType" : "OperationDefinition",
  "id" : "CapabilityStatement-versions",
  "text" : {
    "status" : "extensions",
    "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.3.0-snapshot1",
  "name" : "versions",
  "title" : "Discover what versions a server supports",
  "status" : "draft",
  "kind" : "operation",
  "date" : "2021-12-20T14:08:35+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",
  "affectsState" : false,
  "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.