HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

: Datatype XON to Location Map - TTL Representation

Raw ttl | Download

@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 -------------------------------------------------------------------

 a fhir:ConceptMap;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "datatype-xon-to-location"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>DatatypeXONtoLocation (http://hl7.org/fhir/uv/v2mappings/datatype-xon-to-location)</h2><p>Mapping from XON to <a href=\"http://hl7.org/fhir/R4/location.html\">Location</a></p><p>ACTIVE (not intended for production usage). Published on 2020-08-12 by HL7 International (HL7 Orders and Observations Workgroup: <a href=\"http://hl7.org/Special/committees/orders/index.cfm\">http://hl7.org/Special/committ...</a>, Keith W. Boone: <a href=\"mailto:kboone@ainq.com\">kboone@ainq.com</a>). Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.</p><div><p>This ConceptMap represents a mapping from the HL7 V2 Datatype XON to the FHIR Location Resource.</p>\n</div><br/><table class=\"grid\"><tr><td colspan=\"3\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"2\"><b>Destination Concept Details</b></td></tr><tr><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan=\"2\"><b>Code</b> from </td></tr><tr><td style=\"border-right-width: 0px\">XON.1</td><td style=\"border-left-width: 0px\"></td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">name</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">XON.3</td><td style=\"border-left-width: 0px\"></td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">identifier.value</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">XON.7</td><td style=\"border-left-width: 0px\"></td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">identifier.type.coding.code</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">XON.7</td><td style=\"border-left-width: 0px\"></td><td>&quot;http://terminology.hl7.org/CodeSystem/v2-0203&quot;</td><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">identifier.type.coding.system</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">XON.10</td><td style=\"border-left-width: 0px\"></td><td/><td><a href=\"http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent\">is equivalent to</a></td><td style=\"border-right-width: 0px\">identifier.value</td><td style=\"border-left-width: 0px\"></td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "type" ];
       fhir:Extension.valueCode [ fhir:value "derived-from" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "label" ];
       fhir:Extension.valueString [ fhir:value "Datatype XON to Location.fsh" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "url" ];
       fhir:Extension.valueUri [ fhir:value "https://docs.google.com/spreadsheets/d/15vjDyAgfFhWqnY9ssdePYpUOV5TGeuf6mFUof55xulo/edit#gid=0" ]     ];
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact" ]
  ];
  fhir:ConceptMap.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/datatype-xon-to-location"];
  fhir:ConceptMap.version [ fhir:value "0.1.0"];
  fhir:ConceptMap.name [ fhir:value "DatatypeXONtoLocation"];
  fhir:ConceptMap.status [ fhir:value "active"];
  fhir:ConceptMap.experimental [ fhir:value "true"^^xsd:boolean];
  fhir:ConceptMap.date [ fhir:value "2020-08-12"^^xsd:date];
  fhir:ConceptMap.publisher [ fhir:value "HL7 International"];
  fhir:ConceptMap.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "HL7 Orders and Observations Workgroup" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/Special/committees/orders/index.cfm" ]     ]
  ], [
     fhir:index 1;
     fhir:ContactDetail.name [ fhir:value "Keith W. Boone" ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "kboone@ainq.com" ]     ]
  ];
  fhir:ConceptMap.description [ fhir:value "This ConceptMap represents a mapping from the HL7 V2 Datatype XON to the FHIR Location Resource."];
  fhir:ConceptMap.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ];
       fhir:Coding.code [ fhir:value "001" ]     ]
  ];
  fhir:ConceptMap.copyright [ fhir:value "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved."];
  fhir:ConceptMap.sourceUri [ fhir:value "XON"];
  fhir:ConceptMap.targetUri [ fhir:value "Location"];
  fhir:ConceptMap.group [
     fhir:index 0;
     fhir:ConceptMap.group.element [
       fhir:index 0;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "ST" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "cardinalityMin" ];
           fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "cardinalityMax" ];
           fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]       ];
       fhir:ConceptMap.group.element.code [ fhir:value "XON.1" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Organization Name" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "type" ];
             fhir:Extension.valueCode [ fhir:value "string" ]           ], [
             fhir:index 1;
             fhir:Extension.url [ fhir:value "cardinalityMin" ];
             fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]           ], [
             fhir:index 2;
             fhir:Extension.url [ fhir:value "cardinalityMax" ];
             fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]           ];
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]         ];
         fhir:ConceptMap.group.element.target.code [ fhir:value "name" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "name" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ], [
       fhir:index 1;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "NM" ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]       ];
       fhir:ConceptMap.group.element.code [ fhir:value "XON.3" ];
       fhir:ConceptMap.group.element.display [ fhir:value "ID Number" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "type" ];
             fhir:Extension.valueCode [ fhir:value "identifier" ]           ], [
             fhir:index 1;
             fhir:Extension.url [ fhir:value "cardinalityMin" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ], [
             fhir:index 2;
             fhir:Extension.url [ fhir:value "cardinalityMax" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ];
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]         ];
         fhir:ConceptMap.group.element.target.code [ fhir:value "identifier.value" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier.value" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ], [
       fhir:index 2;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "ID" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "cardinalityMin" ];
           fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "cardinalityMax" ];
           fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]       ];
       fhir:ConceptMap.group.element.code [ fhir:value "XON.7" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Identifier Type Code" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "type" ];
             fhir:Extension.valueCode [ fhir:value "code" ]           ], [
             fhir:index 1;
             fhir:Extension.url [ fhir:value "cardinalityMin" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ], [
             fhir:index 2;
             fhir:Extension.url [ fhir:value "cardinalityMax" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ];
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]         ];
         fhir:ConceptMap.group.element.target.code [ fhir:value "identifier.type.coding.code" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier.type.coding.code" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ], [
       fhir:index 3;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "ID" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "cardinalityMin" ];
           fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "cardinalityMax" ];
           fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]       ];
       fhir:ConceptMap.group.element.code [ fhir:value "XON.7" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Identifier Type Code" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "type" ];
             fhir:Extension.valueCode [ fhir:value "uri" ]           ], [
             fhir:index 1;
             fhir:Extension.url [ fhir:value "cardinalityMin" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ], [
             fhir:index 2;
             fhir:Extension.url [ fhir:value "cardinalityMax" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ];
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]         ];
         fhir:ConceptMap.group.element.target.code [ fhir:value "identifier.type.coding.system" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier.type.coding.system" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ];
         fhir:ConceptMap.group.element.target.dependsOn [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "value" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "\"http://terminology.hl7.org/CodeSystem/v2-0203\"" ]         ]       ]     ], [
       fhir:index 4;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "ST" ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "cardinalityMin" ];
           fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "cardinalityMax" ];
           fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]       ];
       fhir:ConceptMap.group.element.code [ fhir:value "XON.10" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Organization Identifier" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Element.extension [
             fhir:index 0;
             fhir:Extension.url [ fhir:value "type" ];
             fhir:Extension.valueCode [ fhir:value "string" ]           ], [
             fhir:index 1;
             fhir:Extension.url [ fhir:value "cardinalityMin" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ], [
             fhir:index 2;
             fhir:Extension.url [ fhir:value "cardinalityMax" ];
             fhir:Extension.valueInteger [ fhir:value "-1"^^xsd:integer ]           ];
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]         ];
         fhir:ConceptMap.group.element.target.code [ fhir:value "identifier.value" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier.value" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.