<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="allergyintolerance-code"/>
  <meta>
    <lastUpdated value="2026-04-03T20:06:10.198+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: ValueSet allergyintolerance-code</b>
      </p>
      <a name="allergyintolerance-code"> </a>
      <a name="hcallergyintolerance-code"> </a>
      <p>This value set includes codes based on the following rules:</p>
      <ul>
        <li>Import all the codes that are contained in 
          <a href="valueset-substance-code.html">Substance Code</a>
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 418038007 (Propensity to adverse reactions to substance)
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 267425008 (Lactose intolerance)
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 29736007 (Syndrome of carbohydrate intolerance)
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 340519003 (Lysine intolerance)
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 190753003 (Sucrose intolerance)
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 413427002 (Acquired fructose intolerance (disorder))
        </li>
        <li>Include codes from
          <a href="http://www.snomed.org/">
            <code>http://snomed.info/sct</code>
          </a>
          <span title="Version is not explicitly stated. No matching Code System found"> version Not Stated (use latest from terminology server)</span> where concept  is-a 716186003 (No known allergy (situation))
        </li>
      </ul>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pc"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="informative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/>
  </extension>
  <url value="http://hl7.org/fhir/ValueSet/allergyintolerance-code"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.3.137"/>
  </identifier>
  <identifier>
    <use value="old"/>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.3.127"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="SubstanceProductAndConditionAndNegationCodes"/>
  <title value="AllergyIntolerance Substance/Product, Condition and Negation Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="FHIR Project team"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <description value="This value set includes concept codes for specific substances/pharmaceutical products, allergy or intolerance conditions, and negation/exclusion codes to specify the absence of specific types of allergies or intolerances."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <copyright value="This resource includes content from SNOMED Clinical Terms® (SNOMED CT®) which is copyright of the International Health Terminology Standards Development Organisation (IHTSDO). Implementers of these specifications must have the appropriate SNOMED CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snomed-ct or info@snomed.org"/>
  <compose>
    <include>
      <valueSet value="http://hl7.org/fhir/ValueSet/substance-code"/>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="418038007"/>
      </filter>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="267425008"/>
      </filter>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="29736007"/>
      </filter>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="340519003"/>
      </filter>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="190753003"/>
      </filter>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="413427002"/>
      </filter>
    </include>
    <include>
      <system value="http://snomed.info/sct"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="716186003"/>
      </filter>
    </include>
  </compose>
</ValueSet>