{"caseSensitive":true,"concept":[{"code":"semver","definition":"Uses the semantic versioning scheme as defined in [semver.org](http://semver.org).","display":"SemVer"},{"code":"integer","definition":"Versions are integers and ordered numerically","display":"Integer"},{"code":"alpha","definition":"Simple alphabetic sort on a case-insensitive and accent-insensitive basis.  (Sorting of different cases or accented versions of a character is indeterminate)","display":"Alphabetical"},{"code":"date","definition":"Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date) in the general format of YYYY-MM-DD (with or without separators). Inclusion of the time portion is optional.","display":"Date"},{"code":"natural","definition":"Sorted according to the algorithm defined here: [naturalordersort.org](http://www.naturalordersort.org/)","display":"Natural"},{"code":"major-minor","definition":"Similar to semver, but having only two components - i.e. a major and minor (integer) version number separated by a '.'.  The specific nature of what constitutes a major vs. minor increment is locally defined.","display":"Major/Minor"},{"code":"sct-url","definition":"Versions are expressed according to the SNOMED URL scheme. See the [Versions](https://terminology.hl7.org/SNOMEDCT.html#versions) topic for more details.","display":"SNOMED-CT URL"},{"code":"us-date","definition":"Versions are expressed as an US date format, i.e. MMDDYYYY (with or without separators).","display":"US Date"}],"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/dss"}]}],"content":"complete","date":"2021-01-05T10:01:24+11:00","description":"Indicates the mechanism used to compare versions to determine which is more current.","experimental":false,"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","valueCode":"cds"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"normative"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":5}],"id":"version-algorithm","identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.4.642.4.1989"}],"jurisdiction":[{"coding":[{"code":"001","display":"World","system":"http://unstats.un.org/unsd/methods/m49/m49.htm"}]}],"meta":{"lastUpdated":"2026-03-31T18:55:04.283+00:00"},"name":"VersionAlgorithm","publisher":"HL7 International / Clinical Decision Support","resourceType":"CodeSystem","status":"active","text":{"div":"<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><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) in the general format of YYYY-MM-DD (with or without separators). Inclusion of the time portion is optional.</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><tr><td style=\"white-space:nowrap\">major-minor<a name=\"version-algorithm-major-minor\"> </a></td><td>Major/Minor</td><td><div><p>Similar to semver, but having only two components - i.e. a major and minor (integer) version number separated by a '.'.  The specific nature of what constitutes a major vs. minor increment is locally defined.</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">sct-url<a name=\"version-algorithm-sct-url\"> </a></td><td>SNOMED-CT URL</td><td><div><p>Versions are expressed according to the SNOMED URL scheme. See the <a href=\"https://terminology.hl7.org/SNOMEDCT.html#versions\">Versions</a> topic for more details.</p>\n</div></td></tr><tr><td style=\"white-space:nowrap\">us-date<a name=\"version-algorithm-us-date\"> </a></td><td>US Date</td><td><div><p>Versions are expressed as an US date format, i.e. MMDDYYYY (with or without separators).</p>\n</div></td></tr></table></div>","status":"generated"},"title":"Version Algorithm","url":"http://hl7.org/fhir/version-algorithm","valueSet":"http://hl7.org/fhir/ValueSet/version-algorithm","version":"6.0.0-ballot4"}