This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions
Definition for Code SystemVersionAlgorithm
{
"resourceType" : "CodeSystem",
"id" : "version-algorithm",
"meta" : {
"lastUpdated" : "2023-12-18T15:12:07.602+11:00",
"profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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>\n</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>\n</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>\n</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>\n</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>\n</div></td></tr></table></div>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1
}],
"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" : "6.0.0-ballot1",
"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.",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}]
}],
"caseSensitive" : true,
"valueSet" : "http://hl7.org/fhir/ValueSet/version-algorithm",
"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.