Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Operation-capabilitystatement-versions.json

Example OperationDefinition/CapabilityStatement-versions (JSON)

Maturity Level : N/A
Responsible Owner: FHIR Infrastructure Work Group 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>"

    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition CapabilityStatement-versions</b></p><a name=\"CapabilityStatement-versions\"> </a><a name=\"hcCapabilityStatement-versions\"> </a><p>URL: [base]/$versions</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>OUT</td><td>version</td><td/><td>1..*</td><td><a href=\"datatypes.html#code\">code</a></td><td/><td><div><p>A version supported by the server. Use the major.minor version like 3.0</p>\n</div></td></tr><tr><td>OUT</td><td>default</td><td/><td>1..1</td><td><a href=\"datatypes.html#code\">code</a></td><td><a href=\"valueset-FHIR-version.html\">FHIRVersion</a> (Required)</td><td><div><p>The default version for the server. Use the major.minor version like 3.0</p>\n</div></td></tr></table></div>"

  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 5
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"

    "valueCode" : "normative"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"

  }],
  "url" : "http://hl7.org/fhir/OperationDefinition/CapabilityStatement-versions",
  "version" : "4.0.1",
  "name" : "Discover what versions a server supports",
  "status" : "draft",

  "version" : "6.0.0-ballot3",
  "name" : "Versions",
  "title" : "Discover what versions a server supports",
  "status" : "active",

  "kind" : "operation",
  "date" : "2019-11-01T09:29:23+11:00",
  "publisher" : "HL7 (FHIR Project)",

  "experimental" : false,
  "date" : "2025-11-24T20:46:00+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",

  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]

  }],
  "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",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "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"

    "type" : "code",
    "binding" : {
      "strength" : "required",
      "valueSet" : "http://hl7.org/fhir/ValueSet/FHIR-version|6.0.0-ballot3"
    }

  }]
}

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.