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 
| FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Definition for Code SystemVersionAlgorithm
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
# - resource -------------------------------------------------------------------
[] a fhir:CodeSystem;
fhir:Resource.id [ fhir:value "version-algorithm"];
fhir:Resource.meta [
fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:DomainResource.extension [
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
fhir:Extension.value [ fhir:value "fhir" ]
], [
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
fhir:Extension.value [ fhir:value "normative" ]
], [
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
fhir:Extension.value [ fhir:value "5" ]
], [
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
fhir:Extension.value [ fhir:value "4.0.0" ]
];
fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/version-algorithm"];
fhir:CanonicalResource.identifier [
fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.1989" ]
];
fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
fhir:CanonicalResource.name [ fhir:value "VersionAlgorithm"];
fhir:CanonicalResource.title [ fhir:value "Version Algorithm"];
fhir:CanonicalResource.status [ fhir:value "active"];
fhir:CanonicalResource.experimental [ fhir:value "false"];
fhir:CanonicalResource.date [ fhir:value "2021-01-05T10:01:24+11:00"];
fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
fhir:CanonicalResource.contact [
fhir:ContactDetail.telecom [
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
], [
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
]
];
fhir:CanonicalResource.description [ fhir:value "Indicates the mechanism used to compare versions to determine which is more current."];
fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/version-algorithm"];
fhir:CodeSystem.identifier [
fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.1989" ]
];
fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
fhir:CodeSystem.name [ fhir:value "VersionAlgorithm"];
fhir:CodeSystem.title [ fhir:value "Version Algorithm"];
fhir:CodeSystem.status [ fhir:value "active"];
fhir:CodeSystem.experimental [ fhir:value "false"];
fhir:CodeSystem.date [ fhir:value "2021-01-05T10:01:24+11:00"];
fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
fhir:CodeSystem.contact [
fhir:ContactDetail.telecom [
fhir:ContactPoint.system [ fhir:value "url" ];
fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
], [
fhir:ContactPoint.system [ fhir:value "email" ];
fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
]
];
fhir:CodeSystem.description [ fhir:value "Indicates the mechanism used to compare versions to determine which is more current."];
fhir:CodeSystem.caseSensitive [ fhir:value "true"];
fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/compartment-type"];
fhir:CodeSystem.content [ fhir:value "complete"];
fhir:CodeSystem.concept [
fhir:ConceptDefinitionComponent.code [ fhir:value "semver" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "SemVer" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "Uses the semantic versioning scheme as defined in [semver.org](http://semver.org)." ]
], [
fhir:ConceptDefinitionComponent.code [ fhir:value "integer" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Integer" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "Versions are integers and ordered numerically" ]
], [
fhir:ConceptDefinitionComponent.code [ fhir:value "alpha" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Alphabetical" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "Simple alphabetic sort on a case-insensitive and accent-insensitive basis. (Sorting of different cases or accented versions of a character is indeterminate)" ]
], [
fhir:ConceptDefinitionComponent.code [ fhir:value "date" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Date" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date)" ]
], [
fhir:ConceptDefinitionComponent.code [ fhir:value "natural" ];
fhir:ConceptDefinitionComponent.display [ fhir:value "Natural" ];
fhir:ConceptDefinitionComponent.definition [ fhir:value "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.