Pharmaceutical Quality (Industry)
1.0.0 - STU1

Pharmaceutical Quality (Industry), published by HL7 International / Biomedical Research and Regulation. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/uv-dx-pq/ and changes regularly. See the Directory of published versions

## : Example: Bundle - Batch Formula - XML Representation

Raw xml | Download

    <Bundle xmlns="http://hl7.org/fhir">
      <id value="bundle-batch-formula-pq-ex1"/>
      <meta>
        <profile
                 value="http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Bundle-batch-formula-pq"/>
      </meta>
      <type value="collection"/>
      <!--  MedicinalProductDefinition - the main resource in any product scenario  -->
      <entry>
        <fullUrl value="urn:uuid:a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
        <!--  Section 1.1 - DP Identification  -->
        <resource>
          <MedicinalProductDefinition>
            <!-- medicinalproductdefinition-drug-product-dxpq-ex1 -->
            <id value="a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="MedicinalProductDefinition_a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"> </a><p><b>Generated Narrative: MedicinalProductDefinition</b><a name="a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"> </a><a name="hca0694a7a-aafa-4cbe-8135-c788a9a4d3d5"> </a></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 MedicinalProductDefinition &quot;a0694a7a-aafa-4cbe-8135-c788a9a4d3d5&quot; </p></div><h3>Names</h3><table class="grid"><tr><td style="display: none">-</td><td><b>ProductName</b></td><td><b>Type</b></td></tr><tr><td style="display: none">*</td><td>Stalbatolol</td><td>Proprietary <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-cs-productNameType-pq-example.html">Product Name Type - example</a>#Proprietary)</span></td></tr></table></div>
            </text>
            <name>
              <productName value="Stalbatolol"/>
              <type>
                <coding>
                  <system
                          value="http://hl7.org/fhir/uv/pharm-quality/CodeSystem/cs-productNameType-pq-example"/>
                  <code value="Proprietary"/>
                  <display value="Proprietary"/>
                </coding>
              </type>
            </name>
          </MedicinalProductDefinition>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:b89ed9d2-80f9-0cfb-70a1-5a6572e73a65"/>
        <resource>
          <Ingredient>
            <!-- ingredient1 -->
            <id value="b89ed9d2-80f9-0cfb-70a1-5a6572e73a65"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Ingredient_b89ed9d2-80f9-0cfb-70a1-5a6572e73a65"> </a><p><b>Generated Narrative: Ingredient</b><a name="b89ed9d2-80f9-0cfb-70a1-5a6572e73a65"> </a><a name="hcb89ed9d2-80f9-0cfb-70a1-5a6572e73a65"> </a></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 Ingredient &quot;b89ed9d2-80f9-0cfb-70a1-5a6572e73a65&quot; </p></div><p><b>status</b>: active</p><p><b>for</b>: See on this page: MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5</p><p><b>role</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/R5/codesystem-ingredient-role.html">Ingredient Role</a>#100000072072)</span></p><blockquote><p><b>substance</b></p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td>See on this page: SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474: Stelbatolol</td></tr></table><h3>Strengths</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Presentation[x]</b></td></tr><tr><td style="display: none">*</td><td>15.2 mg/1 tablet</td></tr></table></blockquote></div>
            </text>
            <status value="active"/>
            <for>
              <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
              <reference
                         value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
            </for>
            <role>
              <coding>
                <system value="http://hl7.org/fhir/ingredient-role"/>
                <code value="100000072072"/>
                <display value="Active"/>
              </coding>
            </role>
            <substance>
              <code>
                <reference>
                  <!-- SubstanceDefinition/substance1 -->
                  <reference
                             value="SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474"/>
                  <display value="Stelbatolol"/>
                </reference>
              </code>
              <strength>
                <presentationRatio>
                  <numerator>
                    <value value="15.2"/>
                    <unit value="mg"/>
                  </numerator>
                  <denominator>
                    <value value="1"/>
                    <unit value="tablet"/>
                  </denominator>
                </presentationRatio>
              </strength>
            </substance>
          </Ingredient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:b89fd9d2-80f9-0cfb-70a1-5a6572e73a65"/>
        <resource>
          <Ingredient>
            <!-- excipient1 -->
            <id value="b89fd9d2-80f9-0cfb-70a1-5a6572e73a65"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Ingredient_b89fd9d2-80f9-0cfb-70a1-5a6572e73a65"> </a><p><b>Generated Narrative: Ingredient</b><a name="b89fd9d2-80f9-0cfb-70a1-5a6572e73a65"> </a><a name="hcb89fd9d2-80f9-0cfb-70a1-5a6572e73a65"> </a></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 Ingredient &quot;b89fd9d2-80f9-0cfb-70a1-5a6572e73a65&quot; </p></div><p><b>status</b>: active</p><p><b>for</b>: See on this page: MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5</p><p><b>role</b>: Excipient <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/R5/codesystem-ingredient-role.html">Ingredient Role</a>#100000072082)</span></p><blockquote><p><b>substance</b></p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Mannitol</span></td></tr></table><h3>Strengths</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Presentation[x]</b></td></tr><tr><td style="display: none">*</td><td>145.0 mg/1 tablet</td></tr></table></blockquote></div>
            </text>
            <status value="active"/>
            <for>
              <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
              <reference
                         value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
            </for>
            <role>
              <coding>
                <system value="http://hl7.org/fhir/ingredient-role"/>
                <code value="100000072082"/>
                <display value="Excipient"/>
              </coding>
            </role>
            <substance>
              <code>
                <reference>
                  <display value="Mannitol"/>
                </reference>
              </code>
              <strength>
                <presentationRatio>
                  <numerator>
                    <value value="145.0"/>
                    <unit value="mg"/>
                  </numerator>
                  <denominator>
                    <value value="1"/>
                    <unit value="tablet"/>
                  </denominator>
                </presentationRatio>
              </strength>
            </substance>
          </Ingredient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:b89ed9d2-81f9-0cfb-70a1-5a6572e73a65"/>
        <resource>
          <Ingredient>
            <!-- excipient2 -->
            <id value="b89ed9d2-81f9-0cfb-70a1-5a6572e73a65"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Ingredient_b89ed9d2-81f9-0cfb-70a1-5a6572e73a65"> </a><p><b>Generated Narrative: Ingredient</b><a name="b89ed9d2-81f9-0cfb-70a1-5a6572e73a65"> </a><a name="hcb89ed9d2-81f9-0cfb-70a1-5a6572e73a65"> </a></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 Ingredient &quot;b89ed9d2-81f9-0cfb-70a1-5a6572e73a65&quot; </p></div><p><b>status</b>: active</p><p><b>for</b>: See on this page: MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5</p><p><b>role</b>: Excipient <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/R5/codesystem-ingredient-role.html">Ingredient Role</a>#100000072082)</span></p><blockquote><p><b>substance</b></p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Maize starch</span></td></tr></table><h3>Strengths</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Presentation[x]</b></td></tr><tr><td style="display: none">*</td><td>13.8 mg/1 tablet</td></tr></table></blockquote></div>
            </text>
            <status value="active"/>
            <for>
              <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
              <reference
                         value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
            </for>
            <role>
              <coding>
                <system value="http://hl7.org/fhir/ingredient-role"/>
                <code value="100000072082"/>
                <display value="Excipient"/>
              </coding>
            </role>
            <substance>
              <code>
                <reference>
                  <display value="Maize starch"/>
                </reference>
              </code>
              <strength>
                <presentationRatio>
                  <numerator>
                    <value value="13.8"/>
                    <unit value="mg"/>
                  </numerator>
                  <denominator>
                    <value value="1"/>
                    <unit value="tablet"/>
                  </denominator>
                </presentationRatio>
              </strength>
            </substance>
          </Ingredient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:b89ed9d2-80f9-0cfb-70a1-5a6572e73a66"/>
        <resource>
          <Ingredient>
            <!-- excipient3 -->
            <id value="b89ed9d2-80f9-0cfb-70a1-5a6572e73a66"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Ingredient_b89ed9d2-80f9-0cfb-70a1-5a6572e73a66"> </a><p><b>Generated Narrative: Ingredient</b><a name="b89ed9d2-80f9-0cfb-70a1-5a6572e73a66"> </a><a name="hcb89ed9d2-80f9-0cfb-70a1-5a6572e73a66"> </a></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 Ingredient &quot;b89ed9d2-80f9-0cfb-70a1-5a6572e73a66&quot; </p></div><p><b>status</b>: active</p><p><b>for</b>: See on this page: MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5</p><p><b>role</b>: Excipient <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/R5/codesystem-ingredient-role.html">Ingredient Role</a>#100000072082)</span></p><blockquote><p><b>substance</b></p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Calcium carboxymethylcellulose</span></td></tr></table><h3>Strengths</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Presentation[x]</b></td></tr><tr><td style="display: none">*</td><td>4.0 mg/1 tablet</td></tr></table></blockquote></div>
            </text>
            <status value="active"/>
            <for>
              <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
              <reference
                         value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
            </for>
            <role>
              <coding>
                <system value="http://hl7.org/fhir/ingredient-role"/>
                <code value="100000072082"/>
                <display value="Excipient"/>
              </coding>
            </role>
            <substance>
              <code>
                <reference>
                  <display value="Calcium carboxymethylcellulose"/>
                </reference>
              </code>
              <strength>
                <presentationRatio>
                  <numerator>
                    <value value="4.0"/>
                    <unit value="mg"/>
                  </numerator>
                  <denominator>
                    <value value="1"/>
                    <unit value="tablet"/>
                  </denominator>
                </presentationRatio>
              </strength>
            </substance>
          </Ingredient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:b89ed9d2-80f9-0cfb-70b1-5a6572e73a66"/>
        <resource>
          <Ingredient>
            <!-- excipient4 -->
            <id value="b89ed9d2-80f9-0cfb-70b1-5a6572e73a66"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Ingredient_b89ed9d2-80f9-0cfb-70b1-5a6572e73a66"> </a><p><b>Generated Narrative: Ingredient</b><a name="b89ed9d2-80f9-0cfb-70b1-5a6572e73a66"> </a><a name="hcb89ed9d2-80f9-0cfb-70b1-5a6572e73a66"> </a></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 Ingredient &quot;b89ed9d2-80f9-0cfb-70b1-5a6572e73a66&quot; </p></div><p><b>status</b>: active</p><p><b>for</b>: See on this page: MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5</p><p><b>role</b>: Excipient <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/R5/codesystem-ingredient-role.html">Ingredient Role</a>#100000072082)</span></p><blockquote><p><b>substance</b></p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Magnesium stearate</span></td></tr></table><h3>Strengths</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Presentation[x]</b></td></tr><tr><td style="display: none">*</td><td>2.0 mg/1 tablet</td></tr></table></blockquote></div>
            </text>
            <status value="active"/>
            <for>
              <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
              <reference
                         value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
            </for>
            <role>
              <coding>
                <system value="http://hl7.org/fhir/ingredient-role"/>
                <code value="100000072082"/>
                <display value="Excipient"/>
              </coding>
            </role>
            <substance>
              <code>
                <reference>
                  <display value="Magnesium stearate"/>
                </reference>
              </code>
              <strength>
                <presentationRatio>
                  <numerator>
                    <value value="2.0"/>
                    <unit value="mg"/>
                  </numerator>
                  <denominator>
                    <value value="1"/>
                    <unit value="tablet"/>
                  </denominator>
                </presentationRatio>
              </strength>
            </substance>
          </Ingredient>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:4cf2cbba-33e6-1124-9bf2-1c6756380474"/>
        <resource>
          <SubstanceDefinition>
            <!-- substance1 -->
            <id value="4cf2cbba-33e6-1124-9bf2-1c6756380474"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="SubstanceDefinition_4cf2cbba-33e6-1124-9bf2-1c6756380474"> </a><p><b>Generated Narrative: SubstanceDefinition</b><a name="4cf2cbba-33e6-1124-9bf2-1c6756380474"> </a><a name="hc4cf2cbba-33e6-1124-9bf2-1c6756380474"> </a></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 SubstanceDefinition &quot;4cf2cbba-33e6-1124-9bf2-1c6756380474&quot; </p></div><h3>Names</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td></tr><tr><td style="display: none">*</td><td>Stelbatolol</td></tr></table></div>
            </text>
            <name>
              <name value="Stelbatolol"/>
            </name>
          </SubstanceDefinition>
        </resource>
      </entry>
      <!--  Section 7 - Batch Formula  -->
      <entry>
        <fullUrl value="urn:uuid:bf17176f-9779-180b-5c59-e58cddc11070"/>
        <resource>
          <Medication>
            <!-- medication-batch-formula-unlinked -->
            <id value="bf17176f-9779-180b-5c59-e58cddc11070"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Medication_bf17176f-9779-180b-5c59-e58cddc11070"> </a><p><b>Generated Narrative: Medication</b><a name="bf17176f-9779-180b-5c59-e58cddc11070"> </a><a name="hcbf17176f-9779-180b-5c59-e58cddc11070"> </a></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 Medication &quot;bf17176f-9779-180b-5c59-e58cddc11070&quot; </p></div><p><b>code</b>: Large Batch of Stelbatolol <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceIngredient-1"> </a><blockquote><p/><p><a name="substanceIngredient-1"> </a></p><p><a name="hcsubstanceIngredient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td>See on this page: SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474</td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: true</p><p><b>strength</b>: 10.98 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-1"> </a><blockquote><p/><p><a name="substanceExcipient-1"> </a></p><p><a name="hcsubstanceExcipient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Mannitol</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 104.72 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-2"> </a><blockquote><p/><p><a name="substanceExcipient-2"> </a></p><p><a name="hcsubstanceExcipient-2"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Maize starch</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 9.98 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-3"> </a><blockquote><p/><p><a name="substanceExcipient-3"> </a></p><p><a name="hcsubstanceExcipient-3"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Calcium carboxymethylcellulose</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 2.90 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-4"> </a><blockquote><p/><p><a name="substanceExcipient-4"> </a></p><p><a name="hcsubstanceExcipient-4"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Magnesium stearate</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 1.44 kg</p></blockquote><h3>Batches</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Extension</b></td></tr><tr><td style="display: none">*</td><td>, </td></tr></table><hr/><blockquote><p><b>Generated Narrative: Substance #substanceIngredient-1</b><a name="substanceIngredient-1"> </a><a name="hcsubstanceIngredient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a href="Bundle-bundle-batch-formula-pq-ex1.html#SubstanceDefinition_4cf2cbba-33e6-1124-9bf2-1c6756380474">SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474</a></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-1</b><a name="substanceExcipient-1"> </a><a name="hcsubstanceExcipient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Mannitol</span></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-2</b><a name="substanceExcipient-2"> </a><a name="hcsubstanceExcipient-2"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Maize starch</span></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-3</b><a name="substanceExcipient-3"> </a><a name="hcsubstanceExcipient-3"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Calcium carboxymethylcellulose</span></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-4</b><a name="substanceExcipient-4"> </a><a name="hcsubstanceExcipient-4"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Magnesium stearate</span></td></tr></table></blockquote></div>
            </text>
            <contained>
              <Substance>
                <id value="substanceIngredient-1"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <!-- SubstanceDefinition/substance1 -->
                    <reference
                               value="SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-1"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Mannitol"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-2"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Maize starch"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-3"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Calcium carboxymethylcellulose"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-4"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Magnesium stearate"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <code>
              <!--  some other cases link via plandef and activity.product  -->
              <extension
                         url="http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-medication-definition-pq">
                <valueReference>
                  <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
                  <reference
                             value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
                </valueReference>
              </extension>
              <text value="Large Batch of Stelbatolol"/>
            </code>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceIngredient-1"/>
                  <display value="Stelbatolol"/>
                </reference>
              </item>
              <isActive value="true"/>
              <strengthQuantity>
                <value value="10.98"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-1"/>
                  <display value="Mannitol"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="104.72"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-2"/>
                  <display value="Maize starch"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="9.98"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-3"/>
                  <display value="Calcium carboxymethylcellulose"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="2.90"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-4"/>
                  <display value="Magnesium stearate"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="1.44"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <batch>
              <!--                <extension url="http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch">
                      <extension url="batchQuantity">
                         <valueQuantity>
                            <value value="722000"/>
                            <unit value="tablets"/>
                         </valueQuantity>
                      </extension>
                   </extension> -->
              <!--             NEW Extension -->
              <extension
                         url="http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-batch-number-of-items-pq">
                <valueQuantity>
                  <value value="722000"/>
                  <unit value="tablets"/>
                </valueQuantity>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch">
                <extension url="batchQuantity">
                  <valueQuantity>
                    <value value="130"/>
                    <unit value="kg"/>
                  </valueQuantity>
                </extension>
              </extension>
            </batch>
          </Medication>
        </resource>
      </entry>
      <entry>
        <fullUrl value="urn:uuid:bf17176f-9779-180b-5c59-e58cddc11071"/>
        <resource>
          <Medication>
            <!-- medication-batch-formula-2-unlinked -->
            <id value="bf17176f-9779-180b-5c59-e58cddc11071"/>
            <text>
              <status value="generated"/>
              <div xmlns="http://www.w3.org/1999/xhtml"><a name="Medication_bf17176f-9779-180b-5c59-e58cddc11071"> </a><p><b>Generated Narrative: Medication</b><a name="bf17176f-9779-180b-5c59-e58cddc11071"> </a><a name="hcbf17176f-9779-180b-5c59-e58cddc11071"> </a></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 Medication &quot;bf17176f-9779-180b-5c59-e58cddc11071&quot; </p></div><p><b>code</b>: Small Batch of Stelbatolol <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceIngredient-1"> </a><blockquote><p/><p><a name="substanceIngredient-1"> </a></p><p><a name="hcsubstanceIngredient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td>See on this page: SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474</td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: true</p><p><b>strength</b>: 5.98 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-1"> </a><blockquote><p/><p><a name="substanceExcipient-1"> </a></p><p><a name="hcsubstanceExcipient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Mannitol</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 52.36 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-2"> </a><blockquote><p/><p><a name="substanceExcipient-2"> </a></p><p><a name="hcsubstanceExcipient-2"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Maize starch</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 5.99 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-3"> </a><blockquote><p/><p><a name="substanceExcipient-3"> </a></p><p><a name="hcsubstanceExcipient-3"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Calcium carboxymethylcellulose</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 1.45 kg</p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a name="hcsubstanceExcipient-4"> </a><blockquote><p/><p><a name="substanceExcipient-4"> </a></p><p><a name="hcsubstanceExcipient-4"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Magnesium stearate</span></td></tr></table></blockquote></td></tr></table><p><b>isActive</b>: false</p><p><b>strength</b>: 0.72 kg</p></blockquote><h3>Batches</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Extension</b></td></tr><tr><td style="display: none">*</td><td>, </td></tr></table><hr/><blockquote><p><b>Generated Narrative: Substance #substanceIngredient-1</b><a name="substanceIngredient-1"> </a><a name="hcsubstanceIngredient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a href="Bundle-bundle-batch-formula-pq-ex1.html#SubstanceDefinition_4cf2cbba-33e6-1124-9bf2-1c6756380474">SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474</a></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-1</b><a name="substanceExcipient-1"> </a><a name="hcsubstanceExcipient-1"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Mannitol</span></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-2</b><a name="substanceExcipient-2"> </a><a name="hcsubstanceExcipient-2"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Maize starch</span></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-3</b><a name="substanceExcipient-3"> </a><a name="hcsubstanceExcipient-3"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Calcium carboxymethylcellulose</span></td></tr></table></blockquote><hr/><blockquote><p><b>Generated Narrative: Substance #substanceExcipient-4</b><a name="substanceExcipient-4"> </a><a name="hcsubstanceExcipient-4"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><span>: Magnesium stearate</span></td></tr></table></blockquote></div>
            </text>
            <contained>
              <Substance>
                <id value="substanceIngredient-1"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <!-- SubstanceDefinition/substance1 -->
                    <reference
                               value="SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-1"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Mannitol"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-2"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Maize starch"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-3"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Calcium carboxymethylcellulose"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <contained>
              <Substance>
                <id value="substanceExcipient-4"/>
                <instance value="false"/>
                <code>
                  <reference>
                    <display value="Magnesium stearate"/>
                  </reference>
                </code>
              </Substance>
            </contained>
            <code>
              <!--  some other cases link via plandef and activity.product  -->
              <extension
                         url="http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-medication-definition-pq">
                <valueReference>
                  <!-- MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1 -->
                  <reference
                             value="MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"/>
                </valueReference>
              </extension>
              <text value="Small Batch of Stelbatolol"/>
            </code>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceIngredient-1"/>
                  <display value="Stelbatolol"/>
                </reference>
              </item>
              <isActive value="true"/>
              <strengthQuantity>
                <value value="5.98"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-1"/>
                  <display value="Mannitol"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="52.36"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-2"/>
                  <display value="Maize starch"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="5.99"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-3"/>
                  <display value="Calcium carboxymethylcellulose"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="1.45"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <ingredient>
              <item>
                <reference>
                  <reference value="#substanceExcipient-4"/>
                  <display value="Magnesium stearate"/>
                </reference>
              </item>
              <isActive value="false"/>
              <strengthQuantity>
                <value value="0.72"/>
                <unit value="kg"/>
              </strengthQuantity>
            </ingredient>
            <batch>
              <!--                <extension url="http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch">
                      <extension url="batchQuantity">
                         <valueQuantity>
                            <value value="371000"/>
                            <unit value="tablets"/>
                         </valueQuantity>
                      </extension>
                   </extension> -->
              <!--             NEW Extension -->
              <extension
                         url="http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-batch-number-of-items-pq">
                <valueQuantity>
                  <value value="371000"/>
                  <unit value="tablets"/>
                </valueQuantity>
              </extension>
              <extension
                         url="http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch">
                <extension url="batchQuantity">
                  <valueQuantity>
                    <value value="65"/>
                    <unit value="kg"/>
                  </valueQuantity>
                </extension>
              </extension>
            </batch>
          </Medication>
        </resource>
      </entry>
    </Bundle>