<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="us-core-allergyintolerance" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>url</b>: <a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance">http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance</a></p>
      <p>
        <b>version</b>: 1.0.0</p>
      <p>
        <b>name</b>: US  Core AllergyIntolerance Profile</p>
      <p>
        <b>status</b>: DRAFT</p>
      <p>
        <b>date</b>: 01/08/2016</p>
      <p>
        <b>publisher</b>: HL7 US Realm Steering Committee</p>
      <p>
        <b>contact</b>: </p>
      <p>
        <b>url</b>: <a href="http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance">http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance</a></p>
      <p>
        <b>version</b>: 1.0.0</p>
      <p>
        <b>name</b>: US  Core AllergyIntolerance Profile</p>
      <p>
        <b>status</b>: DRAFT</p>
      <p>
        <b>date</b>: 01/08/2016</p>
      <p>
        <b>publisher</b>: HL7 US Realm Steering Committee</p>
      <p>
        <b>contact</b>: </p>
      <p>
        <b>fhirVersion</b>: 3.0.0</p>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: argonaut-dq-dstu2</p>
        <p>
          <b>uri</b>: <a href="http://unknown.org/Argonaut DQ DSTU2">http://unknown.org/Argonaut DQ DSTU2</a></p>
        <p>
          <b>name</b>: Argonaut DQ DSTU2</p>
      </blockquote>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: rim</p>
        <p>
          <b>uri</b>: <a href="http://hl7.org/v3">http://hl7.org/v3</a></p>
        <p>
          <b>name</b>: RIM Mapping</p>
      </blockquote>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: w5</p>
        <p>
          <b>uri</b>: <a href="http://hl7.org/fhir/w5">http://hl7.org/fhir/w5</a></p>
        <p>
          <b>name</b>: W5 Mapping</p>
      </blockquote>
      <blockquote>
        <p>
          <b>mapping</b>
        </p>
        <p>
          <b>identity</b>: v2</p>
        <p>
          <b>uri</b>: <a href="http://hl7.org/v2">http://hl7.org/v2</a></p>
        <p>
          <b>name</b>: HL7 v2 Mapping</p>
      </blockquote>
      <p>
        <b>kind</b>: RESOURCE</p>
      <p>
        <b>abstract</b>: false</p>
      <p>
        <b>type</b>: AllergyIntolerance</p>
      <p>
        <b>baseDefinition</b>: <a href="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance">http://hl7.org/fhir/StructureDefinition/AllergyIntolerance</a></p>
      <p>
        <b>derivation</b>: CONSTRAINT</p>
      <h3>Snapshots</h3>
      <table class="grid">
        <tr>
          <td>-</td>
          <td>
            <b>Element</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>todo-bundle</td>
        </tr>
      </table>
      <h3>Differentials</h3>
      <table class="grid">
        <tr>
          <td>-</td>
          <td>
            <b>Element</b>
          </td>
        </tr>
        <tr>
          <td>*</td>
          <td>todo-bundle</td>
        </tr>
      </table>
    </div>
  </text>
  <url value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" />
  <version value="1.0.0" />
  <name value="US  Core AllergyIntolerance Profile" />
  <status value="draft" />
  <date value="2016-08-01" />
  <publisher value="HL7 US Realm Steering Committee" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://www.healthit.gov" />
    </telecom>
  </contact>
  <fhirVersion value="3.0.0" />
  <mapping>
    <identity value="argonaut-dq-dstu2" />
    <uri value="http://unknown.org/Argonaut DQ DSTU2" />
    <name value="Argonaut DQ DSTU2" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/w5" />
    <name value="W5 Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="AllergyIntolerance" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" />
  <derivation value="constraint" />
  <snapshot>
    <element id="AllergyIntolerance:uscoreallergyintolerance">
      <path value="AllergyIntolerance" />
      <short value="US Core Allergies Profile" />
      <definition value="The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements." />
      <alias value="Allergy" />
      <alias value="Intolerance" />
      <alias value="Adverse Reaction" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="AllergyIntolerance" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="DomainResource" />
      </type>
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="w5" />
        <map value="clinical.general" />
      </mapping>
      <mapping>
        <identity value="argonaut-dq-dstu2" />
        <map value="AllergyIntolerance" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="AllergyIntolerance:uscoreallergyintolerance">
      <path value="AllergyIntolerance" />
      <short value="US Core Allergies Profile" />
      <definition value="The US Core Allergies Profile is based upon the core FHIR AllergyIntolerance Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medical allergies' requirements." />
      <mustSupport value="false" />
      <isModifier value="false" />
      <mapping>
        <identity value="argonaut-dq-dstu2" />
        <map value="AllergyIntolerance" />
      </mapping>
    </element>
    <element id="AllergyIntolerance:uscoreallergyintolerance.clinicalStatus">
      <path value="AllergyIntolerance.clinicalStatus" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/allergy-clinical-status" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="argonaut-dq-dstu2" />
        <map value="AllergyIntolerance.status" />
      </mapping>
    </element>
    <element id="AllergyIntolerance:uscoreallergyintolerance.verificationStatus">
      <path value="AllergyIntolerance.verificationStatus" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/allergy-verification-status" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="argonaut-dq-dstu2" />
        <map value="AllergyIntolerance.status" />
      </mapping>
    </element>
    <element id="AllergyIntolerance:uscoreallergyintolerance.code">
      <path value="AllergyIntolerance.code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <binding>
        <strength value="extensible" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/us/core/ValueSet/us-core-substance" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="argonaut-dq-dstu2" />
        <map value="AllergyIntolerance.substance" />
      </mapping>
    </element>
    <element id="AllergyIntolerance:uscoreallergyintolerance.patient">
      <path value="AllergyIntolerance.patient" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" />
      </type>
      <mustSupport value="true" />
      <isModifier value="false" />
      <mapping>
        <identity value="argonaut-dq-dstu2" />
        <map value="AllergyIntolerance.patient" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>