{
"description": "Indicates the mechanism used to compare versions to determine which is more current.",
"_filename": "CodeSystem-version-algorithm.json",
"package_name": "hl7.fhir.r6.examples",
"date": "2021-01-05T10:01:24+11:00",
"meta": {
"lastUpdated": "2025-12-18T07:07:42.170+11:00"
},
"publisher": "HL7 International / Clinical Decision Support",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "World"
} ]
} ],
"content": "complete",
"name": "VersionAlgorithm",
"type": null,
"experimental": "false",
"resourceType": "CodeSystem",
"title": "Version Algorithm",
"package_version": "6.0.0-ballot4",
"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
} ],
"status": "active",
"id": "92fc97d0-667a-460f-bd43-35a48b058daa",
"valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm",
"kind": null,
"url": "http://hl7.org/fhir/version-algorithm",
"identifier": [ {
"value": "urn:oid:2.16.840.1.113883.4.642.4.1989",
"system": "urn:ietf:rfc:3986"
} ],
"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) in the general format of YYYY-MM-DD (with or without separators). Inclusion of the time portion is optional."
}, {
"code": "natural",
"display": "Natural",
"definition": "Sorted according to the algorithm defined here: [naturalordersort.org](http://www.naturalordersort.org/)"
}, {
"code": "major-minor",
"display": "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."
}, {
"code": "sct-url",
"display": "SNOMED-CT 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."
}, {
"code": "us-date",
"display": "US Date",
"definition": "Versions are expressed as an US date format, i.e. MMDDYYYY (with or without separators)."
} ],
"caseSensitive": true,
"version": "6.0.0-ballot4",
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/fhir",
"system": "url"
}, {
"value": "fhir@lists.hl7.org",
"system": "email"
} ]
}, {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/dss",
"system": "url"
} ]
} ]
}