<?xml version=“1.0” encoding=“UTF-8”?> <OperationDefinition xmlns=“hl7.org/fhir”>

<id value="CapabilityStatement-versions"/>

<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
  <valueInteger value="5"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
  <valueCode value="trial-use"/>
</extension>
<url value="http://hl7.org/fhir/OperationDefinition/CapabilityStatement-versions"/>
<version value="4.0.1"/>
<name value="Discover what versions a server supports"/>
<status value="draft"/>
<kind value="operation"/>
<date value="2019-11-01T09:29:23+11:00"/>
<publisher value="HL7 (FHIR Project)"/>
<contact>
  <telecom>
    <system value="url"/>
    <value value="http://hl7.org/fhir"/>
  </telecom>
  <telecom>
    <system value="email"/>
    <value value="fhir@lists.hl7.org"/>
  </telecom>
</contact>
<description value="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 value="versions"/>
<resource value="CapabilityStatement"/>
<system value="true"/>
<type value="false"/>
<instance value="false"/>
<parameter>
  <name value="version"/>
  <use value="out"/>
  <min value="1"/>
  <max value="*"/>
  <documentation value="A version supported by the server. Use the major.minor version like 3.0"/>
  <type value="code"/>
</parameter>
<parameter>
  <name value="default"/>
  <use value="out"/>
  <min value="1"/>
  <max value="1"/>
  <documentation value="The default version for the server. Use the major.minor version like 3.0"/>
  <type value="code"/>
</parameter>

</OperationDefinition>