@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://standards.digital.health.nz/fhir/air/ConceptMap/air-route-map> a fhir:ConceptMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "air-route-map"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap air-route-map</b></p><a name=\"air-route-map\"> </a><a name=\"hcair-route-map\"> </a><p>Mapping from <a href=\"ValueSet-air-route-code-legacy.html\">AIR Route Code (Legacy HL7v2)</a> to <a href=\"ValueSet-air-route-code.html\">AIR Route of Administration</a></p><br/><p>Mapping from <a href=\"CodeSystem-air-terms-code.html\">AIR Terms</a> to <a href=\"http://hl7.org/fhir/R4/codesystem-snomedct.html\">SNOMED CT (all versions)</a></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td></tr><tr><td>PO (Oral)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>26643006 (Oral route)</td></tr><tr><td>IM (Intramuscular)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>78421000 (Intramuscular route)</td></tr><tr><td>SC (Subcutaneous)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>34206005 (Subcutaneous route)</td></tr><tr><td>ID (Intradermal)</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>372464004 (Intradermal route)</td></tr></table></div>"
  ] ;
  fhir:ConceptMap.url [ fhir:value "https://nzhts.digital.health.nz/fhir/ConceptMap/air-route-map"] ;
  fhir:ConceptMap.version [ fhir:value "1.28.0-SNAPSHOT"] ;
  fhir:ConceptMap.name [ fhir:value "AIRRouteCodeLegacy-AIRRouteCode-Map"] ;
  fhir:ConceptMap.title [ fhir:value "AIR Route of Administration HL7v2 < -- > SNOMED"] ;
  fhir:ConceptMap.status [ fhir:value "draft"] ;
  fhir:ConceptMap.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:ConceptMap.date [ fhir:value "2026-08-04T03:40:16+00:00"^^xsd:dateTime] ;
  fhir:ConceptMap.publisher [ fhir:value "Te Whatu Ora"] ;
  fhir:ConceptMap.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Te Whatu Ora" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://tewhatuora.govt.nz" ]
     ]
  ] ;
  fhir:ConceptMap.description [ fhir:value "This maps the AIR Route of Administration from HL7v2 messaging to SNOMED CT NZ."] ;
  fhir:ConceptMap.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "New Zealand" ]
     ]
  ] ;
  fhir:ConceptMap.sourceCanonical [
     fhir:value "https://nzhts.digital.health.nz/fhir/ValueSet/air-route-code-legacy" ;
     fhir:link <https://nzhts.digital.health.nz/fhir/ValueSet/air-route-code-legacy>
  ] ;
  fhir:ConceptMap.targetCanonical [
     fhir:value "https://nzhts.digital.health.nz/fhir/ValueSet/air-route-code" ;
     fhir:link <https://nzhts.digital.health.nz/fhir/ValueSet/air-route-code>
  ] ;
  fhir:ConceptMap.group [
     fhir:index 0 ;
     fhir:ConceptMap.group.source [ fhir:value "https://standards.digital.health.nz/ns/air-terms-code" ] ;
     fhir:ConceptMap.group.target [ fhir:value "http://snomed.info/sct" ] ;
     fhir:ConceptMap.group.element [
       fhir:index 0 ;
       fhir:ConceptMap.group.element.code [ fhir:value "PO" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "26643006" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:ConceptMap.group.element.code [ fhir:value "IM" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "78421000" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:ConceptMap.group.element.code [ fhir:value "SC" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "34206005" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:ConceptMap.group.element.code [ fhir:value "ID" ] ;
       fhir:ConceptMap.group.element.target [
         fhir:index 0 ;
         fhir:ConceptMap.group.element.target.code [ fhir:value "372464004" ] ;
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://standards.digital.health.nz/fhir/air/ConceptMap/air-route-map.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

