FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example ValueSet/allergyintolerance-code (XML)

Terminology Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw XML (canonical form + also see XML Format Specification)

Definition for Value SetAllergyIntolerance Substance/Product, Condition and Negation Codes

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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="allergyintolerance-code"/> 
  <meta> 
    <lastUpdated value="2024-04-19T18:19:53.040+00:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <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>  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>  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>  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>  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>  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>  where concept  is-a  413427002 (Acquired fructose intolerance)
        </li> 
        <li> Include codes from 
          <a href="http://www.snomed.org/">
            <code> http://snomed.info/sct</code> 
          </a>  where concept  is-a  716186003 (No known allergy)
        </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="draft"/> 
  </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-cibuild"/> 
  <name value="SubstanceProductAndConditionAndNegationCodes"/> 
  <title value="AllergyIntolerance Substance/Product, Condition and Negation Codes"/> 
  <status value="draft"/> 
  <experimental value="true"/> 
  <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-snome
  d-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> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.