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 DG1 to Encounter 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-dg1-to-encounter"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>SegmentDG1toEncounter (http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-encounter)</h2><p>Mapping from DG1 to <a href=\"http://hl7.org/fhir/R4/encounter.html\">Encounter</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 DG1 to the FHIR Encounter 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=\"2\"><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></tr><tr><td style=\"border-right-width: 0px\">DG1-3</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\">diagnosis.condition(Condition.code)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-4</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\">diagnosis.condition(Condition.code.text)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-5</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\">diagnosis.condition(Condition.onsetDateTime)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-6</td><td style=\"border-left-width: 0px\"></td><td>CWE[CodeableConcept]</td><td>DiagnosisType</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\">diagnose.use</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-15</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\">diagnosis.rank</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-16</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\">diagnosis.condition(Condition.asserter(Practitioner)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-19</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\">diagnosis.condition(Condition.extension-assertedDate)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-19</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\">diagnosis.condition(Condition.recordedDate)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-20</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\">diagnosis.condition(Condition.identifier)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-21</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;entered-in-error&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\">diagnosis.condition(Condition.verificationStatus.coding.code)</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-21</td><td style=\"border-left-width: 0px\"></td><td/><td/><td>&quot;http://terminology.hl7.org/CodeSystem/condition-ver-status&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\">diagnosis.condition(Condition.verificationStatus.coding.system</td><td style=\"border-left-width: 0px\"></td></tr><tr><td style=\"border-right-width: 0px\">DG1-22</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\">diagnosis.condition(Condition.extension-condition-dueTo(Condition))</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 "Segment DG1 to Encounter.fsh" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "url" ];
       fhir:Extension.valueUri [ fhir:value "https://docs.google.com/spreadsheets/d/1pmkhzcfab8cQk8mlALJtAiUmKJoOLhDu9NRkbBkei-4/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-dg1-to-encounter"];
  fhir:ConceptMap.version [ fhir:value "0.1.0"];
  fhir:ConceptMap.name [ fhir:value "SegmentDG1toEncounter"];
  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 DG1 to the FHIR Encounter 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 "DG1"];
  fhir:ConceptMap.targetUri [ fhir:value "Encounter"];
  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 "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 "DG1-3" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis 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 "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 "diagnosis.condition(Condition.code)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.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 "data-type-map" ];
           fhir:ConceptMap.group.element.target.dependsOn.value [ fhir:value "CWE[CodeableConcept]" ]         ]       ]     ], [
       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 "ST" ]         ], [
           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 "DG1-4" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis Description" ];
       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 "cardinalityMin" ];
             fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]           ], [
             fhir:index 1;
             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 "diagnosis.condition(Condition.code.text)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.code.text)" ];
         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 "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 "DG1-5" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis Date/Time" ];
       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 "diagnosis.condition(Condition.onsetDateTime)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.onsetDateTime)" ];
         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 "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 "DG1-6" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis 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 "diagnose.use" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnose.use" ];
         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 "DiagnosisType" ]         ]       ]     ], [
       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 "NM" ]         ], [
           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 "DG1-15" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis Priority" ];
       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 "positiveInt" ]           ], [
             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 "diagnosis.rank" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.rank" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ], [
       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 "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 "DG1-16" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosing Clinician" ];
       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 "diagnosis.condition(Condition.asserter(Practitioner)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.asserter(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 6;
       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 "DG1-19" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Attestation Date/Time" ];
       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 "diagnosis.condition(Condition.extension-assertedDate)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.extension-assertedDate)" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ], [
       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 "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 "DG1-19" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Attestation Date/Time" ];
       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 "diagnosis.condition(Condition.recordedDate)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.recordedDate)" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ], [
       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 "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 "DG1-20" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis 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 "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 "diagnosis.condition(Condition.identifier)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.identifier)" ];
         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: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 "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 "DG1-21" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis Action 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 "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 "diagnosis.condition(Condition.verificationStatus.coding.code)" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.verificationStatus.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 "\"entered-in-error\"" ]         ]       ]     ], [
       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 "DG1-21" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Diagnosis Action 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 "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 "diagnosis.condition(Condition.verificationStatus.coding.system" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.verificationStatus.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/condition-ver-status\"" ]         ]       ]     ], [
       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 "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 "DG1-22" ];
       fhir:ConceptMap.group.element.display [ fhir:value "Parent Diagnosis" ];
       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(Condition)" ]           ], [
             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 "diagnosis.condition(Condition.extension-condition-dueTo(Condition))" ];
         fhir:ConceptMap.group.element.target.display [ fhir:value "diagnosis.condition(Condition.extension-condition-dueTo(Condition))" ];
         fhir:ConceptMap.group.element.target.equivalence [ fhir:value "equivalent" ]       ]     ]
  ].

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

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