HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

: Segment DG1 to EpisodeOfCare Map - XML Representation

Active as of 2024-04-24

Raw xml | Download



<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-dg1-to-episodeofcare"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ConceptMap segment-dg1-to-episodeofcare</b></p><a name="segment-dg1-to-episodeofcare"> </a><a name="hcsegment-dg1-to-episodeofcare"> </a><a name="segment-dg1-to-episodeofcare-en-US"> </a><p>Mapping from DG1 to <a href="http://hl7.org/fhir/R4/episodeofcare.html">EpisodeOfCare</a></p><p>ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations  (HL7 Orders and Observations Workgroup: <a href="http://www.hl7.org/Special/committees/orders">http://www.hl7.org/Special/com...</a>, Keith W. Boone: <a href="mailto:kboone@ainq.com">kboone@ainq.com</a>, Rob Hausam: <a href="mailto:rrhausam@gmail.com">rrhausam@gmail.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 EpisodeOfCare Resource.</p>
</div><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class="grid"><tr><td colspan="5"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="2"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan="2"><b>Properties</b></td></tr><tr><td colspan="2"><b>Codes</b> from </td><td><b>vocabularymap</b></td><td><b>datatypemap</b></td><td><b>value</b></td><td/><td colspan="2"><b>Codes</b> from </td><td/></tr><tr><td style="border-right-width: 0px">DG1-3</td><td style="border-left-width: 0px">Diagnosis Code</td><td/><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.code)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.code)</td><td/></tr><tr><td style="border-right-width: 0px">DG1-4</td><td style="border-left-width: 0px">Diagnosis Description</td><td/><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.code.text)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.code.text)</td><td>Doesn't warrant mapping</td></tr><tr><td style="border-right-width: 0px">DG1-5</td><td style="border-left-width: 0px">Diagnosis Date/Time</td><td/><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.onsetDateTime)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.onsetDateTime)</td><td>Should confirm that these two concepts are equivalent. Condition.recordedDate is also available</td></tr><tr><td style="border-right-width: 0px">DG1-6</td><td style="border-left-width: 0px">Diagnosis Type</td><td>DiagnosisType</td><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.role</td><td style="border-left-width: 0px">diagnosis.role</td><td/></tr><tr><td style="border-right-width: 0px">DG1-15</td><td style="border-left-width: 0px">Diagnosis Priority</td><td/><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.rank</td><td style="border-left-width: 0px">diagnosis.rank</td><td>Could contribute to Condition.category or be a new extension</td></tr><tr><td style="border-right-width: 0px">DG1-16</td><td style="border-left-width: 0px">Diagnosing Clinician</td><td/><td>XCN[Practitioner]</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.asserter(Practitioner)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.asserter(Practitioner)</td><td>While DG1-16 can repeat, we are not aware of instances where this is used.  Until such time, we will not yet establish an agreed to method to communicate the extra repeats in FHIR.</td></tr><tr><td style="border-right-width: 0px">DG1-19</td><td style="border-left-width: 0px">Attestation Date/Time</td><td/><td/><td>&quot;http://hl7.org/fhir/StructureDefinition/condition-assertedDate&quot;</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.extension[1].url)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.extension[1].url)</td><td/></tr><tr><td style="border-right-width: 0px">DG1-19</td><td style="border-left-width: 0px">Attestation Date/Time</td><td/><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.extension[1].valueDateTime)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.extension[1].valueDateTime)</td><td>It is unclear whether to use recorded or asserted date.  What is your opinion?</td></tr><tr><td style="border-right-width: 0px">DG1-19</td><td style="border-left-width: 0px">Attestation Date/Time</td><td/><td/><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.recordedDate)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.recordedDate)</td><td>It is unclear whether to use recorded or asserted date.  What is your opinion?</td></tr><tr><td style="border-right-width: 0px">DG1-20</td><td style="border-left-width: 0px">Diagnosis Identifier</td><td/><td>EI[Identifier-Extension]</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.identifier)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.identifier)</td><td>We should confirm that this is truly a unique ID before it gets used as .id. It may need to be combined with a visit ID to make it fully unique.</td></tr><tr><td style="border-right-width: 0px">DG1-21</td><td style="border-left-width: 0px">Diagnosis Action Code</td><td/><td/><td>&quot;entered-in-error&quot;</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="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">diagnosis.condition(Condition.verificationStatus.coding.code)</td><td>Other values (A and U) don't map to anything</td></tr><tr><td style="border-right-width: 0px">DG1-21</td><td style="border-left-width: 0px">Diagnosis Action Code</td><td/><td/><td>&quot;http://terminology.hl7.org/CodeSystem/condition-ver-status&quot;</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="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">diagnosis.condition(Condition.verificationStatus.coding.system)</td><td/></tr><tr><td style="border-right-width: 0px">DG1-22</td><td style="border-left-width: 0px">Parent Diagnosis</td><td/><td/><td>&quot;http://hl7.org/fhir/StructureDefinition/condition-dueTo&quot;</td><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.extension[2].url)</td><td style="border-left-width: 0px">diagnosis.condition(Condition.extension[2].url)</td><td/></tr><tr><td style="border-right-width: 0px">DG1-22</td><td style="border-left-width: 0px">Parent Diagnosis</td><td/><td>EI[Condition]</td><td/><td><a href="http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">diagnosis.condition(Condition.extension[2].valueReference(Condition))</td><td style="border-left-width: 0px">diagnosis.condition(Condition.extension[2].valueReference(Condition))</td><td>Extensions for occurredFollowing and related also exist</td></tr></table></div>
  </text>
  <extension
             url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact">
    <extension url="type">
      <valueCode value="derived-from"/>
    </extension>
    <extension url="label">
      <valueString value="Segment DG1 to EpisodeOfCare.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/1seZccIaX-x7-8vVxT1JiiG5Hm1dtWgYcI2RxiiKzh-o/edit#gid=0"/>
    </extension>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/v2mappings/segment-dg1-to-episodeofcare"/>
  <version value="1.0.0-ballot"/>
  <name value="SegmentDG1ToEpisodeOfCare"/>
  <title value="Segment DG1 to EpisodeOfCare Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2024-04-24"/>
  <publisher value="HL7 International / Orders and Observations"/>
  <contact>
    <name value="HL7 Orders and Observations Workgroup"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/orders"/>
    </telecom>
  </contact>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <contact>
    <name value="Rob Hausam"/>
    <telecom>
      <system value="email"/>
      <value value="rrhausam@gmail.com"/>
    </telecom>
  </contact>
  <description
               value="This ConceptMap represents a mapping from the HL7 V2 Segment DG1 to the FHIR EpisodeOfCare Resource."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <copyright
             value="Copyright (c) 2020, HL7 International, Inc., All Rights Reserved."/>
  <sourceUri value="DG1"/>
  <targetUri value="EpisodeOfCare"/>
  <group>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-3"/>
      <display value="Diagnosis Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.code)"/>
        <display value="diagnosis.condition(Condition.code)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[CodeableConcept]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="ST"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-4"/>
      <display value="Diagnosis Description"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.code.text)"/>
        <display value="diagnosis.condition(Condition.code.text)"/>
        <equivalence value="equivalent"/>
        <comment value="Doesn't warrant mapping"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-5"/>
      <display value="Diagnosis Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="dateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.onsetDateTime)"/>
        <display value="diagnosis.condition(Condition.onsetDateTime)"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Should confirm that these two concepts are equivalent. Condition.recordedDate is also available"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-6"/>
      <display value="Diagnosis Type"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.role"/>
        <display value="diagnosis.role"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[CodeableConcept]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="DiagnosisType"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="NM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-15"/>
      <display value="Diagnosis Priority"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="positiveInt"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.rank"/>
        <display value="diagnosis.rank"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Could contribute to Condition.category or be a new extension"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XCN"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="-1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="-1"/>
        </extension>
      </extension>
      <code value="DG1-16"/>
      <display value="Diagnosing Clinician"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.asserter(Practitioner)"/>
        <display
                 value="diagnosis.condition(Condition.asserter(Practitioner)"/>
        <equivalence value="equivalent"/>
        <comment
                 value="While DG1-16 can repeat, we are not aware of instances where this is used.  Until such time, we will not yet establish an agreed to method to communicate the extra repeats in FHIR."/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="XCN[Practitioner]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-19"/>
      <display value="Attestation Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="uri"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="1"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.extension[1].url)"/>
        <display value="diagnosis.condition(Condition.extension[1].url)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://hl7.org/fhir/StructureDefinition/condition-assertedDate&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-19"/>
      <display value="Attestation Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="dateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="1"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code
              value="diagnosis.condition(Condition.extension[1].valueDateTime)"/>
        <display
                 value="diagnosis.condition(Condition.extension[1].valueDateTime)"/>
        <equivalence value="equivalent"/>
        <comment
                 value="It is unclear whether to use recorded or asserted date.  What is your opinion?"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="DTM"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-19"/>
      <display value="Attestation Date/Time"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="dateTime"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.recordedDate)"/>
        <display value="diagnosis.condition(Condition.recordedDate)"/>
        <equivalence value="equivalent"/>
        <comment
                 value="It is unclear whether to use recorded or asserted date.  What is your opinion?"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="EI"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-20"/>
      <display value="Diagnosis Identifier"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="identifier"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="-1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.identifier)"/>
        <display value="diagnosis.condition(Condition.identifier)"/>
        <equivalence value="equivalent"/>
        <comment
                 value="We should confirm that this is truly a unique ID before it gets used as .id. It may need to be combined with a visit ID to make it fully unique."/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="EI[Identifier-Extension]"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="ID"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-21"/>
      <display value="Diagnosis Action Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="code"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code
              value="diagnosis.condition(Condition.verificationStatus.coding.code)"/>
        <display
                 value="diagnosis.condition(Condition.verificationStatus.coding.code)"/>
        <equivalence value="equivalent"/>
        <comment value="Other values (A and U) don't map to anything"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;entered-in-error&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="ID"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-21"/>
      <display value="Diagnosis Action Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="uri"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code
              value="diagnosis.condition(Condition.verificationStatus.coding.system)"/>
        <display
                 value="diagnosis.condition(Condition.verificationStatus.coding.system)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://terminology.hl7.org/CodeSystem/condition-ver-status&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="EI"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-22"/>
      <display value="Parent Diagnosis"/>
      <target>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="diagnosis.condition(Condition.extension[2].url)"/>
        <display value="diagnosis.condition(Condition.extension[2].url)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://hl7.org/fhir/StructureDefinition/condition-dueTo&quot;"/>
        </dependsOn>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="EI"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="DG1-22"/>
      <display value="Parent Diagnosis"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="Reference"/>
          </extension>
          <extension url="cardinalityMin">
            <valueInteger value="0"/>
          </extension>
          <extension url="cardinalityMax">
            <valueInteger value="1"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code
              value="diagnosis.condition(Condition.extension[2].valueReference(Condition))"/>
        <display
                 value="diagnosis.condition(Condition.extension[2].valueReference(Condition))"/>
        <equivalence value="equivalent"/>
        <comment
                 value="Extensions for occurredFollowing and related also exist"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="EI[Condition]"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>