Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example CodeSystem/version-algorithm (JSON)

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

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

Definition for Code SystemVersionAlgorithm

{
  "resourceType" : "CodeSystem",
  "id" : "version-algorithm",
  "meta" : {
    "lastUpdated" : "2022-09-07T10:58:29.429+10:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "normative"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 5
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
    "valueCode" : "4.0.0"
  }],
  "url" : "http://hl7.org/fhir/version-algorithm",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.1989"
  }],
  "version" : "5.0.0-ballot",
  "name" : "VersionAlgorithm",
  "title" : "Version Algorithm",
  "status" : "active",
  "experimental" : false,
  "date" : "2021-01-05T10:01:24+11:00",
  "publisher" : "HL7 (FHIR Project)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  }],
  "description" : "Indicates the mechanism used to compare versions to determine which is more current.",
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/compartment-type",
  "content" : "complete",
  "concept" : [{
    "code" : "semver",
    "display" : "SemVer",
    "definition" : "Uses the semantic versioning scheme as defined in [semver.org](http://semver.org)."
  },
  {
    "code" : "integer",
    "display" : "Integer",
    "definition" : "Versions are integers and ordered numerically"
  },
  {
    "code" : "alpha",
    "display" : "Alphabetical",
    "definition" : "Simple alphabetic sort on a case-insensitive and accent-insensitive basis.  (Sorting of different cases or accented versions of a character is indeterminate)"
  },
  {
    "code" : "date",
    "display" : "Date",
    "definition" : "Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date)"
  },
  {
    "code" : "natural",
    "display" : "Natural",
    "definition" : "Sorted according to the algorithm defined here: [naturalordersort.org](http://www.naturalordersort.org/)"
  }]
}

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.