@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/5.0/CodeSystem/version-algorithm> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "version-algorithm"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system \n              <code>http://hl7.org/fhir/version-algorithm</code> defines the following codes:\n            </p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">semver\n                  <a name=\"version-algorithm-semver\"> </a>\n                </td>\n                <td>SemVer</td>\n                <td>Uses the semantic versioning scheme as defined in [semver.org](http://semver.org).</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">integer\n                  <a name=\"version-algorithm-integer\"> </a>\n                </td>\n                <td>Integer</td>\n                <td>Versions are integers and ordered numerically</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">alpha\n                  <a name=\"version-algorithm-alpha\"> </a>\n                </td>\n                <td>Alphabetical</td>\n                <td>Simple alphabetic sort on a case-insensitive and accent-insensitive basis.  (Sorting of different cases or accented versions of a character is indeterminate)</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">date\n                  <a name=\"version-algorithm-date\"> </a>\n                </td>\n                <td>Date</td>\n                <td>Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date)</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">natural\n                  <a name=\"version-algorithm-natural\"> </a>\n                </td>\n                <td>Natural</td>\n                <td>Sorted according to the algorithm defined here: [naturalordersort.org](http://www.naturalordersort.org/)</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "trial-use"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 1
     ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r5.r4b"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "fhir"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/version-algorithm"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "5.0.0"] ; # 
  fhir:name [ fhir:v "VersionAlgorithm"] ; # 
  fhir:title [ fhir:v "Version Algorithm"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2021-01-05T09:01:24+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "FHIR Infrastructure" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Indicates the mechanism used to compare versions to determine which is more current."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/version-algorithm"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/version-algorithm>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "semver" ] ;
     fhir:display [ fhir:v "SemVer" ] ;
     fhir:definition [ fhir:v "Uses the semantic versioning scheme as defined in [semver.org](http://semver.org)." ]
  ] [
     fhir:code [ fhir:v "integer" ] ;
     fhir:display [ fhir:v "Integer" ] ;
     fhir:definition [ fhir:v "Versions are integers and ordered numerically" ]
  ] [
     fhir:code [ fhir:v "alpha" ] ;
     fhir:display [ fhir:v "Alphabetical" ] ;
     fhir:definition [ fhir:v "Simple alphabetic sort on a case-insensitive and accent-insensitive basis.  (Sorting of different cases or accented versions of a character is indeterminate)" ]
  ] [
     fhir:code [ fhir:v "date" ] ;
     fhir:display [ fhir:v "Date" ] ;
     fhir:definition [ fhir:v "Versions are expressed as an ISO date/time syntax (including syntaxes with only portions of a date)" ]
  ] [
     fhir:code [ fhir:v "natural" ] ;
     fhir:display [ fhir:v "Natural" ] ;
     fhir:definition [ fhir:v "Sorted according to the algorithm defined here: [naturalordersort.org](http://www.naturalordersort.org/)" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

