FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/version-algorithm (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemVersionAlgorithm

<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="version-algorithm"/> 
  <meta> 
    <lastUpdated value="2024-11-21T10:57:20.709+00:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b> Generated Narrative: CodeSystem version-algorithm</b> 
      </p> 
      <a name="version-algorithm"> </a> 
      <a name="hcversion-algorithm"> </a> 
      <a name="version-algorithm-en-US"> </a> 
      <p> This case-sensitive code system 
        <code> http://hl7.org/fhir/version-algorithm</code>  defines the following codes:
      </p> 
      <table class="codes">
        <tr> 
          <td style="white-space:nowrap">
            <b> Code</b> 
          </td> 
          <td> 
            <b> Display</b> 
          </td> 
          <td> 
            <b> Definition</b> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">semver
            <a name="version-algorithm-semver"> </a> 
          </td> 
          <td> SemVer</td> 
          <td> 
            <div> 
              <p> Uses the semantic versioning scheme as defined in 
                <a href="http://semver.org">semver.org</a> .
              </p> 

            </div> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">integer
            <a name="version-algorithm-integer"> </a> 
          </td> 
          <td> Integer</td> 
          <td> 
            <div> 
              <p> Versions are integers and ordered numerically</p> 

            </div> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">alpha
            <a name="version-algorithm-alpha"> </a> 
          </td> 
          <td> Alphabetical</td> 
          <td> 
            <div> 
              <p> Simple alphabetic sort on a case-insensitive and accent-insensitive basis.  (Sorting
                 of different cases or accented versions of a character is indeterminate)</p> 

            </div> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">date
            <a name="version-algorithm-date"> </a> 
          </td> 
          <td> Date</td> 
          <td> 
            <div> 
              <p> Versions are expressed as an ISO date/time syntax (including syntaxes with only
                 portions of a date)</p> 

            </div> 
          </td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">natural
            <a name="version-algorithm-natural"> </a> 
          </td> 
          <td> Natural</td> 
          <td> 
            <div> 
              <p> Sorted according to the algorithm defined here: 
                <a href="http://www.naturalordersort.org/">naturalordersort.org</a> 
              </p> 

            </div> 
          </td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/> 
  </extension> 
  <url value="http://hl7.org/fhir/version-algorithm"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.1989"/> 
  </identifier> 
  <version value="6.0.0-ballot2"/> 
  <name value="VersionAlgorithm"/> 
  <title value="Version Algorithm"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2021-01-05T10:01:24+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="Indicates the mechanism used to compare versions to determine which is more current."/> 
  <jurisdiction> 
    <coding> 
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/> 
      <code value="001"/> 
      <display value="World"/> 
    </coding> 
  </jurisdiction> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/version-algorithm"/> 
  <content value="complete"/> 
  <concept> 
    <code value="semver"/> 
    <display value="SemVer"/> 
    <definition value="Uses the semantic versioning scheme as defined in [semver.org](http://semver.org)."/> 
  </concept> 
  <concept> 
    <code value="integer"/> 
    <display value="Integer"/> 
    <definition value="Versions are integers and ordered numerically"/> 
  </concept> 
  <concept> 
    <code value="alpha"/> 
    <display value="Alphabetical"/> 
    <definition value="Simple alphabetic sort on a case-insensitive and accent-insensitive basis.  (Sorting
     of different cases or accented versions of a character is indeterminate)"/> 
  </concept> 
  <concept> 
    <code value="date"/> 
    <display value="Date"/> 
    <definition value="Versions are expressed as an ISO date/time syntax (including syntaxes with only
     portions of a date)"/> 
  </concept> 
  <concept> 
    <code value="natural"/> 
    <display value="Natural"/> 
    <definition value="Sorted according to the algorithm defined here: [naturalordersort.org](http://www.naturalorde
    rsort.org/)"/> 
  </concept> 
</CodeSystem> 

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.