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

: Segment ORC to ServiceRequest 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 "segment-orc-to-servicerequest"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SegmentORCtoServiceRequest (http://hl7.org/fhir/uv/v2mappings/segment-orc-to-servicerequest)</h2><p>Mapping from ORC to <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</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 Segment ORC to the FHIR ServiceRequest Resource.</p>\n</div><br/><table class=\"grid\"><tr><td colspan=\"5\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"4\"><b>Destination Concept Details</b></td></tr><tr><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan=\"2\"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td></tr><tr><td style=\"border-right-width: 0px\">ORC-1</td><td style=\"border-left-width: 0px\"></td><td/><td>OrderControlCode[ServiceRequest.status]</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\">status</td><td style=\"border-left-width: 0px\"></td><td>IF ORC-5 NOT VALUED</td><td>ORC.element(&quot;5&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-1</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;order&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\">intent</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-2</td><td style=\"border-left-width: 0px\"></td><td>EI[Identifier]</td><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[1]</td><td style=\"border-left-width: 0px\"></td><td>IF OBR-2 NOT VALUED</td><td>OBR.element(&quot;2&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-2</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;PLAC&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[1].type.coding.code</td><td style=\"border-left-width: 0px\"></td><td>IF OBR-2 NOT VALUED</td><td>OBR.element(&quot;2&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-2</td><td style=\"border-left-width: 0px\"></td><td/><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[1].type.coding.system</td><td style=\"border-left-width: 0px\"></td><td>IF OBR-2 NOT VALUED</td><td>OBR.element(&quot;2&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-3</td><td style=\"border-left-width: 0px\"></td><td>EI[Identifier]</td><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[2]</td><td style=\"border-left-width: 0px\"></td><td>IF OBR-3 NOT VALUED</td><td>OBR.element(&quot;3&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-3</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;FILL&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[2].type.coding.code</td><td style=\"border-left-width: 0px\"></td><td>IF OBR-3 NOT VALUED</td><td>OBR.element(&quot;3&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-3</td><td style=\"border-left-width: 0px\"></td><td/><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[2].type.coding.system</td><td style=\"border-left-width: 0px\"></td><td>IF OBR-3 NOT VALUED</td><td>OBR.element(&quot;3&quot;).empty()</td></tr><tr><td style=\"border-right-width: 0px\">ORC-4</td><td style=\"border-left-width: 0px\"></td><td>EIP[Identifier-PlacerAssignedIdentifier]</td><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[3]</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-4</td><td style=\"border-left-width: 0px\"></td><td>EIP[Identifier-FillerAssignedIdentifier]</td><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[4]</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-5</td><td style=\"border-left-width: 0px\"></td><td/><td>OrderStatus</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\">status</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-7</td><td style=\"border-left-width: 0px\"></td><td>TQ[ServiceRequest]</td><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\">$this</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-9</td><td style=\"border-left-width: 0px\"></td><td/><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\">authoredOn</td><td style=\"border-left-width: 0px\"></td><td>IF ORC.1 IS &quot;NW&quot;</td><td>ORC.element(&quot;1&quot;)=&quot;NW&quot;</td></tr><tr><td style=\"border-right-width: 0px\">ORC-12</td><td style=\"border-left-width: 0px\"></td><td>XCN[Practitioner]</td><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\">requester(PractitionerRole.practitioner)</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-16</td><td style=\"border-left-width: 0px\"></td><td>CWE[CodeableConcept]</td><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\">extension-request-statusReason</td><td style=\"border-left-width: 0px\"></td><td>IF ORC-5 NOT VALUED</td><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-21</td><td style=\"border-left-width: 0px\"></td><td>XON[Organization]</td><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\">requester(PractitionerRole.organization(Organization))</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-22</td><td style=\"border-left-width: 0px\"></td><td>XAD[Address]</td><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\">requester(PractitionerRole.organization(Organization.address))</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-23</td><td style=\"border-left-width: 0px\"></td><td>XTN[ContactPoint]</td><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\">requester(PractitionerRole.organization(Organization.telecom))</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-24</td><td style=\"border-left-width: 0px\"></td><td>XAD[Address]</td><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\">requester(PractitionerRole.practitioner(Practitioner.address))</td><td style=\"border-left-width: 0px\"></td><td/><td/></tr><tr><td style=\"border-right-width: 0px\">ORC-29</td><td style=\"border-left-width: 0px\"></td><td>CWE[CodeableConcept]</td><td>OrderType</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\">locationCode</td><td style=\"border-left-width: 0px\"></td><td/><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 "Segment ORC to ServiceRequest.fsh" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "url" ];
       fhir:Extension.valueUri [ fhir:value "https://docs.google.com/spreadsheets/d/11VBF5TIRJTfRwkRIK1XH-k40dZqCd3g3a0sBY-zJU4Q/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/segment-orc-to-servicerequest"];
  fhir:ConceptMap.version [ fhir:value "0.1.0"];
  fhir:ConceptMap.name [ fhir:value "SegmentORCtoServiceRequest"];
  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 Segment ORC to the FHIR ServiceRequest 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 "ORC"];
  fhir:ConceptMap.targetUri [ fhir:value "ServiceRequest"];
  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 "ID" ]         ], [
           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.code [ fhir:value "ORC-1" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Order Control" ];
       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 "status" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "status" ];
         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 "vocabulary-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OrderControlCode[ServiceRequest.status]" ]         ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF ORC-5 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "ORC.element(\"5\").empty()" ]         ]       ]     ], [
       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 "ID" ]         ], [
           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.code [ fhir:value "ORC-1" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Order Control" ];
       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 "intent" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "intent" ];
         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 "\"order\"" ]         ]       ]     ], [
       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 "EI" ]         ], [
           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.code [ fhir:value "ORC-2" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Placer Order 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 "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.target.code [ fhir:value "identifier[1]" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[1]" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "EI[Identifier]" ]         ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF OBR-2 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OBR.element(\"2\").empty()" ]         ]       ]     ], [
       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 "EI" ]         ], [
           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.code [ fhir:value "ORC-2" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Placer Order 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 "code" ]           ], [
             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.target.code [ fhir:value "identifier[1].type.coding.code" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[1].type.coding.code" ];
         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 "\"PLAC\"" ]         ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF OBR-2 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OBR.element(\"2\").empty()" ]         ]       ]     ], [
       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 "EI" ]         ], [
           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.code [ fhir:value "ORC-2" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Placer Order 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 "uri" ]           ], [
             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.target.code [ fhir:value "identifier[1].type.coding.system" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[1].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:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF OBR-2 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OBR.element(\"2\").empty()" ]         ]       ]     ], [
       fhir:index 5;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "EI" ]         ], [
           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.code [ fhir:value "ORC-3" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Filler Order 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 "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.target.code [ fhir:value "identifier[2]" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[2]" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "EI[Identifier]" ]         ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF OBR-3 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OBR.element(\"3\").empty()" ]         ]       ]     ], [
       fhir:index 6;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "EI" ]         ], [
           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.code [ fhir:value "ORC-3" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Filler Order 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 "code" ]           ], [
             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.target.code [ fhir:value "identifier[2].type.coding.code" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[2].type.coding.code" ];
         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 "\"FILL\"" ]         ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF OBR-3 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OBR.element(\"3\").empty()" ]         ]       ]     ], [
       fhir:index 7;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "EI" ]         ], [
           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.code [ fhir:value "ORC-3" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Filler Order 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 "uri" ]           ], [
             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.target.code [ fhir:value "identifier[2].type.coding.system" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[2].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:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF OBR-3 NOT VALUED" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OBR.element(\"3\").empty()" ]         ]       ]     ], [
       fhir:index 8;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "EIP - This is EI in many versions including 2.9" ]         ], [
           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.code [ fhir:value "ORC-4" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Placer Group 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 "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.target.code [ fhir:value "identifier[3]" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[3]" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "EIP[Identifier-PlacerAssignedIdentifier]" ]         ]       ]     ], [
       fhir:index 9;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "EIP - This is EI in many versions including 2.9" ]         ], [
           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.code [ fhir:value "ORC-4" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Placer Group 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:Extension.url [ fhir:value "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo" ]         ];
         fhir:ConceptMap.group.element.target.code [ fhir:value "identifier[4]" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "identifier[4]" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "EIP[Identifier-FillerAssignedIdentifier]" ]         ]       ]     ], [
       fhir:index 10;
       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 "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.code [ fhir:value "ORC-5" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Order Status" ];
       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 "status" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "status" ];
         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 "vocabulary-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OrderStatus" ]         ]       ]     ], [
       fhir:index 11;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "TQ" ]         ], [
           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.code [ fhir:value "ORC-7" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Quantity/Timing" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:ConceptMap.group.element.target.code [ fhir:value "$this" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "$this" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "TQ[ServiceRequest]" ]         ]       ]     ], [
       fhir:index 12;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "DTM" ]         ], [
           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.code [ fhir:value "ORC-9" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Date/Time of Transaction" ];
       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 "dateTime" ]           ], [
             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.target.code [ fhir:value "authoredOn" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "authoredOn" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF ORC.1 IS \"NW\"" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "fhirpath" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "ORC.element(\"1\")=\"NW\"" ]         ]       ]     ], [
       fhir:index 13;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "XCN" ]         ], [
           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.code [ fhir:value "ORC-12" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Ordering Provider" ];
       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 "Reference(Practitioner)" ]           ], [
             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.target.code [ fhir:value "requester(PractitionerRole.practitioner)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "requester(PractitionerRole.practitioner)" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "XCN[Practitioner]" ]         ]       ]     ], [
       fhir:index 14;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "CWE" ]         ], [
           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.code [ fhir:value "ORC-16" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Order Control Code Reason" ];
       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 "CodeableConcept" ]           ], [
             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.target.code [ fhir:value "extension-request-statusReason" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "extension-request-statusReason" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "CWE[CodeableConcept]" ]         ];
         fhir:ConceptMap.group.element.target.product [
           fhir:index 0;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "antlr" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "IF ORC-5 NOT VALUED" ]         ]       ]     ], [
       fhir:index 15;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "XON" ]         ], [
           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.code [ fhir:value "ORC-21" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Ordering Facility 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 "Reference(Organization)" ]           ], [
             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.target.code [ fhir:value "requester(PractitionerRole.organization(Organization))" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "requester(PractitionerRole.organization(Organization))" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "XON[Organization]" ]         ]       ]     ], [
       fhir:index 16;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "XAD" ]         ], [
           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.code [ fhir:value "ORC-22" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Ordering Facility Address" ];
       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 "Address" ]           ], [
             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.target.code [ fhir:value "requester(PractitionerRole.organization(Organization.address))" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "requester(PractitionerRole.organization(Organization.address))" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "XAD[Address]" ]         ]       ]     ], [
       fhir:index 17;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "XTN" ]         ], [
           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.code [ fhir:value "ORC-23" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Ordering Facility Phone 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 "ContactPoint" ]           ], [
             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.target.code [ fhir:value "requester(PractitionerRole.organization(Organization.telecom))" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "requester(PractitionerRole.organization(Organization.telecom))" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "XTN[ContactPoint]" ]         ]       ]     ], [
       fhir:index 18;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "XAD" ]         ], [
           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.code [ fhir:value "ORC-24" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Ordering Provider Address" ];
       fhir:ConceptMap.group.element.target [
         fhir:index 0;
         fhir:ConceptMap.group.element.target.code [ fhir:value "requester(PractitionerRole.practitioner(Practitioner.address))" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "requester(PractitionerRole.practitioner(Practitioner.address))" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "XAD[Address]" ]         ]       ]     ], [
       fhir:index 19;
       fhir:Element.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "type" ];
           fhir:Extension.valueCode [ fhir:value "CWE" ]         ], [
           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.code [ fhir:value "ORC-29" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Order Type" ];
       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 "CodeableConcept" ]           ], [
             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.target.code [ fhir:value "locationCode" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "locationCode" ];
         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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "CWE[CodeableConcept]" ]         ], [
           fhir:index 1;
           fhir:ConceptMap.group.element.target.dependsOn.property [ fhir:value "vocabulary-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "OrderType" ]         ]       ]     ]
  ].

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

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