QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## : Substance example - XML Representation

Raw xml | Download

    <Substance xmlns="http://hl7.org/fhir">
      <id value="example"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance"/>
      </meta>
      <text>
        <status value="generated"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource "example" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-qicore-substance.html">QICoreSubstance</a></p></div><p><b>identifier</b>: id: 1463</p><p><b>status</b>: active</p><p><b>category</b>: Allergen <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-substance-category.html">Substance Category Codes</a>#allergen)</span></p><p><b>code</b>: apitoxin (Honey Bee Venom) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><h3>Ingredients</h3><table class="grid"><tr><td>-</td><td><b>Quantity</b></td><td><b>Substance[x]</b></td></tr><tr><td>*</td><td>0.150 mg/1</td><td><a href="Substance-example.html">Substance/example</a></td></tr></table></div>
      </text>
      <identifier>
        <system value="http://acme.org/identifiers/substances"/>
        <value value="1463"/>
      </identifier>
      <status value="active"/>
      <category>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/substance-category"/>
          <code value="allergen"/>
          <display value="Allergen"/>
        </coding>
      </category>
      <code>
        <text value="apitoxin (Honey Bee Venom)"/>
      </code>
      <ingredient>
        <quantity>
          <numerator>
            <value value="0.150"/>
            <unit value="mg"/>
          </numerator>
          <denominator>
            <value value="1"/>
          </denominator>
        </quantity>
        <substanceReference>
          <reference value="Substance/example"/>
        </substanceReference>
      </ingredient>
    </Substance>