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 AL1 to AllergyIntolerance Map - XML Representation

Raw xml | Download


<ConceptMap xmlns="http://hl7.org/fhir">
  <id value="segment-al1-to-allergyintolerance"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>SegmentAL1toAllergyIntolerance (http://hl7.org/fhir/uv/v2mappings/segment-al1-to-allergyintolerance)</h2><p>Mapping from AL1 to <a href="http://hl7.org/fhir/R4/allergyintolerance.html">AllergyIntolerance</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 AL1 to the FHIR AllergyIntolerance Resource.</p>
</div><br/><table class="grid"><tr><td colspan="5"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan="4"><b>Destination Concept Details</b></td></tr><tr><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td><td/><td colspan="2"><b>Code</b> from </td><td><b>Code</b> from </td><td><b>Code</b> from </td></tr><tr><td style="border-right-width: 0px">AL1-2</td><td style="border-left-width: 0px"></td><td>CWE[code]</td><td>AllergyCategory</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">category</td><td style="border-left-width: 0px"></td><td/><td/></tr><tr><td style="border-right-width: 0px">AL1-2</td><td style="border-left-width: 0px"></td><td>CWE[code]</td><td>AllergyType</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">type</td><td style="border-left-width: 0px"></td><td/><td/></tr><tr><td style="border-right-width: 0px">AL1-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">code</td><td style="border-left-width: 0px"></td><td/><td/></tr><tr><td style="border-right-width: 0px">AL1-4</td><td style="border-left-width: 0px"></td><td>CWE[code]</td><td>AllergySeverity</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">reaction.severity</td><td style="border-left-width: 0px"></td><td>IF AL1-4 IN HL70128 OR &quot;INDUSTRY STANDARD&quot; AND NOT EQUALS 'U' with hl70128</td><td>AND If severity was used equivalent to reaction severity in FHIR</td></tr><tr><td style="border-right-width: 0px">AL1-4</td><td style="border-left-width: 0px"></td><td/><td/><td>&quot;unknown&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">AllergyIntolerance.reaction.severity.extension-data-absent-reason</td><td style="border-left-width: 0px"></td><td>If AL1-4 EQUALS 'U'</td><td>AND If severity was used equivalent to reaction severity in FHIR</td></tr><tr><td style="border-right-width: 0px">AL1-4</td><td style="border-left-width: 0px"></td><td>CWE[code]</td><td>AllergyCriticality</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">criticality</td><td style="border-left-width: 0px"></td><td/><td>If severity was used equivalent to criticality</td></tr><tr><td style="border-right-width: 0px">AL1-5</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">reaction.manifestation.text</td><td style="border-left-width: 0px"></td><td/><td/></tr><tr><td style="border-right-width: 0px">AL1-6</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">onsetDateTime</td><td style="border-left-width: 0px"></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 AL1 to AllergyIntolerance.fsh"/>
    </extension>
    <extension url="url">
      <valueUri
                value="https://docs.google.com/spreadsheets/d/10aUgY2Kw3sYlbaw-QHykWri8J3Fb3J_Xc7DvCY_nzyE/edit?usp=sharing"/>
    </extension>
  </extension>
  <url
       value="http://hl7.org/fhir/uv/v2mappings/segment-al1-to-allergyintolerance"/>
  <version value="0.1.0"/>
  <name value="SegmentAL1toAllergyIntolerance"/>
  <status value="active"/>
  <experimental value="true"/>
  <date value="2020-08-12"/>
  <publisher value="HL7 International"/>
  <contact>
    <name value="HL7 Orders and Observations Workgroup"/>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/orders/index.cfm"/>
    </telecom>
  </contact>
  <contact>
    <name value="Keith W. Boone"/>
    <telecom>
      <system value="email"/>
      <value value="kboone@ainq.com"/>
    </telecom>
  </contact>
  <description
               value="This ConceptMap represents a mapping from the HL7 V2 Segment AL1 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="AL1"/>
  <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="AL1-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>
        <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="AL1-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>
        <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="AL1-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>
        <code value="code"/>
        <display value="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="CWE"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="AL1-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>
        <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>
        <product>
          <property value="antlr"/>
          <value
                 value="IF AL1-4 IN HL70128 OR &quot;INDUSTRY STANDARD&quot; AND NOT EQUALS &#39;U&#39; with hl70128"/>
        </product>
        <product>
          <property value="narrative"/>
          <value
                 value="AND If severity was used equivalent to reaction severity in FHIR"/>
        </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="AL1-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>
        <code
              value="AllergyIntolerance.reaction.severity.extension-data-absent-reason"/>
        <display
                 value="AllergyIntolerance.reaction.severity.extension-data-absent-reason"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="value"/>
          <value value="&quot;unknown&quot;"/>
        </dependsOn>
        <product>
          <property value="antlr"/>
          <value value="If AL1-4 EQUALS &#39;U&#39;"/>
        </product>
        <product>
          <property value="narrative"/>
          <value
                 value="AND If severity was used equivalent to reaction severity in FHIR"/>
        </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="AL1-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>
        <code value="criticality"/>
        <display value="criticality"/>
        <equivalence value="equivalent"/>
        <dependsOn>
          <property value="data-type-map"/>
          <value value="CWE[code]"/>
        </dependsOn>
        <dependsOn>
          <property value="vocabulary-map"/>
          <value value="AllergyCriticality"/>
        </dependsOn>
        <product>
          <property value="narrative"/>
          <value value="If severity was used equivalent to criticality"/>
        </product>
      </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="AL1-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>
        <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="DT"/>
        </extension>
        <extension url="cardinalityMin">
          <valueInteger value="1"/>
        </extension>
        <extension url="cardinalityMax">
          <valueInteger value="1"/>
        </extension>
      </extension>
      <code value="AL1-6"/>
      <display value="Identification 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>
        <code value="onsetDateTime"/>
        <display value="onsetDateTime"/>
        <equivalence value="equivalent"/>
      </target>
    </element>
  </group>
</ConceptMap>