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

This page is part of the HL7 Version 2 to FHIR (v1.0.0-ballot: STU1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

: Segment IAM to AllergyIntolerance Map - XML Representation

Active as of 2023-12-19

Raw xml | Download



<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-iam-to-allergyintolerance"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p>Mapping from IAM to <a href="http://hl7.org/fhir/R4/allergyintolerance.html">AllergyIntolerance</a></p><p>ACTIVE (not intended for production usage). Published on 2023-12-19 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 IAM to the FHIR AllergyIntolerance 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="4"><b>Target Concept Details</b></td><td colspan="4"><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><b>antlr</b></td><td><b>narrative</b></td></tr><tr><td style="border-right-width: 0px">IAM-2</td><td style="border-left-width: 0px">Allergen Type Code</td><td>AllergyCategory</td><td>CWE[Code]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">category</td><td style="border-left-width: 0px">category</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-2</td><td style="border-left-width: 0px">Allergen Type Code</td><td>AllergyType</td><td>CWE[Code]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">type</td><td style="border-left-width: 0px">type</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-3</td><td style="border-left-width: 0px">Allergen Code/Mnemonic/Description</td><td/><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">code[1]</td><td style="border-left-width: 0px">code[1]</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-4</td><td style="border-left-width: 0px">Allergy Severity Code</td><td>AllergySeverity</td><td>CWE[Code]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">reaction.severity</td><td style="border-left-width: 0px">reaction.severity</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-4</td><td style="border-left-width: 0px">Allergy Severity Code</td><td/><td/><td>&quot;http://hl7.org/fhir/StructureDefinition/alternate-codes&quot;</td><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">criticality.extension[1].url</td><td style="border-left-width: 0px">criticality.extension[1].url</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-4</td><td style="border-left-width: 0px">Allergy Severity Code</td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">criticality.extension[1].valueCodeableConcept</td><td style="border-left-width: 0px">criticality.extension[1].valueCodeableConcept</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-5</td><td style="border-left-width: 0px">Allergy Reaction Code</td><td/><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">reaction.manifestation.text</td><td style="border-left-width: 0px">reaction.manifestation.text</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-7</td><td style="border-left-width: 0px">Allergy Unique Identifier</td><td/><td>EI[Identifier-Extension]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">identifier</td><td style="border-left-width: 0px">identifier</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-11</td><td style="border-left-width: 0px">Onset Date</td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">onsetDateTime</td><td style="border-left-width: 0px">onsetDateTime</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-12</td><td style="border-left-width: 0px">Onset Date Text</td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">onsetString</td><td style="border-left-width: 0px">onsetString</td><td>IF IAM-11 NOT VALUED</td><td/></tr><tr><td style="border-right-width: 0px">IAM-13</td><td style="border-left-width: 0px">Reported Date/Time</td><td/><td/><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">recordedDate</td><td style="border-left-width: 0px">recordedDate</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-14</td><td style="border-left-width: 0px">Reported By</td><td/><td>XPN[HumanName]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">recorder.reference(Practitioner.name)</td><td style="border-left-width: 0px">recorder.reference(Practitioner.name)</td><td>IF IAM-15 NOT VALUED</td><td>If IAM-15 is not valued, not always 100% clear this is a practitioner, so much review locally.</td></tr><tr><td style="border-right-width: 0px">IAM-14</td><td style="border-left-width: 0px">Reported By</td><td/><td>XPN[HumanName]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">recorder.reference(Patient[1].name)</td><td style="border-left-width: 0px">recorder.reference(Patient[1].name)</td><td>IF IAM-15 EQUALS &quot;SEL&quot;</td><td/></tr><tr><td style="border-right-width: 0px">IAM-14</td><td style="border-left-width: 0px">Reported By</td><td/><td>XPN[HumanName]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">recorder.reference(RelatedPerson.name)</td><td style="border-left-width: 0px">recorder.reference(RelatedPerson.name)</td><td>IF IAM-15 VALUED AND NOT &quot;SEL&quot;</td><td/></tr><tr><td style="border-right-width: 0px">IAM-15</td><td style="border-left-width: 0px">Relationship to Patient</td><td>Relationship</td><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">recorder.reference(RelatedPerson.relationship)</td><td style="border-left-width: 0px">recorder.reference(RelatedPerson.relationship)</td><td>IF IAM-15 VALUED AND NOT &quot;SEL&quot;</td><td/></tr><tr><td style="border-right-width: 0px">IAM-17</td><td style="border-left-width: 0px">Allergy Clinical Status</td><td/><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">clinicalStatus</td><td style="border-left-width: 0px">clinicalStatus</td><td/><td/></tr><tr><td style="border-right-width: 0px">IAM-27</td><td style="border-left-width: 0px">Clinician Identified Code</td><td/><td>CWE[CodeableConcept]</td><td/><td><a href="http://hl7.org/fhir/R4/codesystem-concept-map-equivalence.html#equivalent" title="equivalent">is equivalent to</a></td><td style="border-right-width: 0px">code[1]</td><td style="border-left-width: 0px">code[1]</td><td/><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 IAM to AllergyIntolerance.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/1oN0BuBRmIfVQHHU6DuwnL1ZL60h6BvnXISJQ7D6akbU/edit#gid=0"/>
    </extension>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="oo"/>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/v2mappings/segment-iam-to-allergyintolerance"/>
  <version value="1.0.0-ballot"/>
  <name value="SegmentIAMToAllergyIntolerance"/>
  <title value="Segment IAM to AllergyIntolerance Map"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2023-12-19"/>
  <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 IAM to the FHIR AllergyIntolerance 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="IAM"/>
  <targetUri value="AllergyIntolerance"/>
  <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="IAM-2"/>
      <display value="Allergen Type 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="category"/>
        <display value="category"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[Code]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="AllergyCategory"/>
        </dependsOn>
      </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="IAM-2"/>
      <display value="Allergen Type 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="type"/>
        <display value="type"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[Code]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="AllergyType"/>
        </dependsOn>
      </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="IAM-3"/>
      <display value="Allergen Code/Mnemonic/Description"/>
      <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="code[1]"/>
        <display value="code[1]"/>
        <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="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-4"/>
      <display value="Allergy Severity 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="reaction.severity"/>
        <display value="reaction.severity"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[Code]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="AllergySeverity"/>
        </dependsOn>
      </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="IAM-4"/>
      <display value="Allergy Severity Code"/>
      <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="criticality.extension[1].url"/>
        <display value="criticality.extension[1].url"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value
                 value="&quot;http://hl7.org/fhir/StructureDefinition/alternate-codes&quot;"/>
        </dependsOn>
      </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="IAM-4"/>
      <display value="Allergy Severity Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </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="criticality.extension[1].valueCodeableConcept"/>
        <display value="criticality.extension[1].valueCodeableConcept"/>
        <equivalence value="equivalent"/>
      </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="IAM-5"/>
      <display value="Allergy Reaction 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="reaction.manifestation.text"/>
        <display value="reaction.manifestation.text"/>
        <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="EI"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-7"/>
      <display value="Allergy Unique 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="identifier"/>
        <display value="identifier"/>
        <equivalence value="equivalent"/>
        <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="DT"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-11"/>
      <display value="Onset Date"/>
      <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="onsetDateTime"/>
        <display value="onsetDateTime"/>
        <equivalence value="equivalent"/>
      </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="IAM-12"/>
      <display value="Onset Date Text"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="string"/>
          </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="onsetString"/>
        <display value="onsetString"/>
        <equivalence value="equivalent"/>
        <product>
          <property value="antlr"/>
          <value value="IF IAM-11 NOT VALUED"/>
        </product>
      </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="IAM-13"/>
      <display value="Reported 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="recordedDate"/>
        <display value="recordedDate"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XPN"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-14"/>
      <display value="Reported By"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="HumanName"/>
          </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="recorder.reference(Practitioner.name)"/>
        <display value="recorder.reference(Practitioner.name)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="XPN[HumanName]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF IAM-15 NOT VALUED"/>
        </product>
        <product>
          <property value="narrative"/>
          <value
                 value="If IAM-15 is not valued, not always 100% clear this is a practitioner, so much review locally."/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XPN"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-14"/>
      <display value="Reported By"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="HumanName"/>
          </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="recorder.reference(Patient[1].name)"/>
        <display value="recorder.reference(Patient[1].name)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="XPN[HumanName]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF IAM-15 EQUALS &quot;SEL&quot;"/>
        </product>
      </target>
    </element>
    <element>
      <extension
                 url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
        <extension url="type">
          <valueCode value="XPN"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-14"/>
      <display value="Reported By"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="HumanName"/>
          </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="recorder.reference(RelatedPerson.name)"/>
        <display value="recorder.reference(RelatedPerson.name)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="XPN[HumanName]"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF IAM-15 VALUED AND NOT &quot;SEL&quot;"/>
        </product>
      </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="IAM-15"/>
      <display value="Relationship to Patient"/>
      <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="recorder.reference(RelatedPerson.relationship)"/>
        <display value="recorder.reference(RelatedPerson.relationship)"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[CodeableConcept]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="Relationship"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="IF IAM-15 VALUED AND NOT &quot;SEL&quot;"/>
        </product>
      </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="IAM-17"/>
      <display value="Allergy Clinical Status"/>
      <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="clinicalStatus"/>
        <display value="clinicalStatus"/>
        <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="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="IAM-27"/>
      <display value="Clinician Identified Code"/>
      <target>
        <extension
                   url="http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo">
          <extension url="type">
            <valueCode value="CodeableConcept"/>
          </extension>
        </extension>
        <modifierExtension
                           url="http://hl7.org/fhir/1.0/StructureDefinition/extension-ConceptMap.element.target.equivalence">
          <valueCode value="equivalent"/>
        </modifierExtension>
        <code value="code[1]"/>
        <display value="code[1]"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[CodeableConcept]"/>
        </dependsOn>
      </target>
    </element>
  </group>
</ConceptMap>