Pharmaceutical Quality (Industry)
1.0.0 - STU1 International flag

This page is part of the Pharmaceutical Quality (Industry) (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: Example: Bundle - Batch Formula - JSON Representation

Raw json | Download


{
  "resourceType" : "Bundle",
  "id" : "bundle-batch-formula-pq-ex1",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Bundle-batch-formula-pq"
    ]
  },
  "type" : "collection",
  "entry" : [
    //  MedicinalProductDefinition - the main resource in any product scenario 
    {
      "fullUrl" : "urn:uuid:a0694a7a-aafa-4cbe-8135-c788a9a4d3d5",
      "resource" : //  Section 1.1 - DP Identification 
      {
        "resourceType" : "MedicinalProductDefinition",
        "id" : "a0694a7a-aafa-4cbe-8135-c788a9a4d3d5",
        "text" : // medicinalproductdefinition-drug-product-dxpq-ex1
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "name" : [
          {
            "productName" : "Stalbatolol",
            "type" : {
              "coding" : [
                {
                  "system" : "http://hl7.org/fhir/uv/pharm-quality/CodeSystem/cs-productNameType-pq-example",
                  "code" : "Proprietary",
                  "display" : "Proprietary"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:b89ed9d2-80f9-0cfb-70a1-5a6572e73a65",
      "resource" : {
        "resourceType" : "Ingredient",
        "id" : "b89ed9d2-80f9-0cfb-70a1-5a6572e73a65",
        "text" : // ingredient1
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "for" : [
          {
            "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
          }
        ],
        "role" : // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/ingredient-role",
              "code" : "100000072072",
              "display" : "Active"
            }
          ]
        },
        "substance" : {
          "code" : {
            "reference" : {
              "reference" : "SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474",
              "display" : "Stelbatolol"
            }
          },
          "strength" : [
            // SubstanceDefinition/substance1
            {
              "presentationRatio" : {
                "numerator" : {
                  "value" : 15.2,
                  "unit" : "mg"
                },
                "denominator" : {
                  "value" : 1,
                  "unit" : "tablet"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:b89fd9d2-80f9-0cfb-70a1-5a6572e73a65",
      "resource" : {
        "resourceType" : "Ingredient",
        "id" : "b89fd9d2-80f9-0cfb-70a1-5a6572e73a65",
        "text" : // excipient1
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "for" : [
          {
            "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
          }
        ],
        "role" : // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/ingredient-role",
              "code" : "100000072082",
              "display" : "Excipient"
            }
          ]
        },
        "substance" : {
          "code" : {
            "reference" : {
              "display" : "Mannitol"
            }
          },
          "strength" : [
            {
              "presentationRatio" : {
                "numerator" : {
                  "value" : 145.0,
                  "unit" : "mg"
                },
                "denominator" : {
                  "value" : 1,
                  "unit" : "tablet"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:b89ed9d2-81f9-0cfb-70a1-5a6572e73a65",
      "resource" : {
        "resourceType" : "Ingredient",
        "id" : "b89ed9d2-81f9-0cfb-70a1-5a6572e73a65",
        "text" : // excipient2
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "for" : [
          {
            "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
          }
        ],
        "role" : // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/ingredient-role",
              "code" : "100000072082",
              "display" : "Excipient"
            }
          ]
        },
        "substance" : {
          "code" : {
            "reference" : {
              "display" : "Maize starch"
            }
          },
          "strength" : [
            {
              "presentationRatio" : {
                "numerator" : {
                  "value" : 13.8,
                  "unit" : "mg"
                },
                "denominator" : {
                  "value" : 1,
                  "unit" : "tablet"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:b89ed9d2-80f9-0cfb-70a1-5a6572e73a66",
      "resource" : {
        "resourceType" : "Ingredient",
        "id" : "b89ed9d2-80f9-0cfb-70a1-5a6572e73a66",
        "text" : // excipient3
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "for" : [
          {
            "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
          }
        ],
        "role" : // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/ingredient-role",
              "code" : "100000072082",
              "display" : "Excipient"
            }
          ]
        },
        "substance" : {
          "code" : {
            "reference" : {
              "display" : "Calcium carboxymethylcellulose"
            }
          },
          "strength" : [
            {
              "presentationRatio" : {
                "numerator" : {
                  "value" : 4.0,
                  "unit" : "mg"
                },
                "denominator" : {
                  "value" : 1,
                  "unit" : "tablet"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:b89ed9d2-80f9-0cfb-70b1-5a6572e73a66",
      "resource" : {
        "resourceType" : "Ingredient",
        "id" : "b89ed9d2-80f9-0cfb-70b1-5a6572e73a66",
        "text" : // excipient4
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "status" : "active",
        "for" : [
          {
            "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
          }
        ],
        "role" : // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
        {
          "coding" : [
            {
              "system" : "http://hl7.org/fhir/ingredient-role",
              "code" : "100000072082",
              "display" : "Excipient"
            }
          ]
        },
        "substance" : {
          "code" : {
            "reference" : {
              "display" : "Magnesium stearate"
            }
          },
          "strength" : [
            {
              "presentationRatio" : {
                "numerator" : {
                  "value" : 2.0,
                  "unit" : "mg"
                },
                "denominator" : {
                  "value" : 1,
                  "unit" : "tablet"
                }
              }
            }
          ]
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:4cf2cbba-33e6-1124-9bf2-1c6756380474",
      "resource" : {
        "resourceType" : "SubstanceDefinition",
        "id" : "4cf2cbba-33e6-1124-9bf2-1c6756380474",
        "text" : // substance1
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "name" : [
          {
            "name" : "Stelbatolol"
          }
        ]
      }
    },
    {
      "fullUrl" : "urn:uuid:bf17176f-9779-180b-5c59-e58cddc11070",
      "resource" : {
        "resourceType" : "Medication",
        "id" : "bf17176f-9779-180b-5c59-e58cddc11070",
        "text" : // medication-batch-formula-unlinked
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "contained" : [
          {
            "resourceType" : "Substance",
            "id" : "substanceIngredient-1",
            "instance" : false,
            "code" : {
              "reference" : {
                "reference" : "SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474"
              }
            }
          },
          // SubstanceDefinition/substance1
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-1",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Mannitol"
              }
            }
          },
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-2",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Maize starch"
              }
            }
          },
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-3",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Calcium carboxymethylcellulose"
              }
            }
          },
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-4",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Magnesium stearate"
              }
            }
          }
        ],
        "code" : {
          "extension" : [
            //  some other cases link via plandef and activity.product 
            {
              "url" : "http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-medication-definition-pq",
              "valueReference" : {
                "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
              }
            }
          ],
          "text" : "Large Batch of Stelbatolol"
        },
        "ingredient" : [
          // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceIngredient-1",
                "display" : "Stelbatolol"
              }
            },
            "isActive" : true,
            "strengthQuantity" : {
              "value" : 10.98,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-1",
                "display" : "Mannitol"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 104.72,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-2",
                "display" : "Maize starch"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 9.98,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-3",
                "display" : "Calcium carboxymethylcellulose"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 2.90,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-4",
                "display" : "Magnesium stearate"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 1.44,
              "unit" : "kg"
            }
          }
        ],
        "batch" : {
          "extension" : [
            //                <extension url="http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch">
                  <extension url="batchQuantity">
                     <valueQuantity>
                        <value value="722000"/>
                        <unit value="tablets"/>
                     </valueQuantity>
                  </extension>
               </extension>
            //             NEW Extension
            {
              "url" : "http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-batch-number-of-items-pq",
              "valueQuantity" : {
                "value" : 722000,
                "unit" : "tablets"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch",
              "extension" : [
                {
                  "url" : "batchQuantity",
                  "valueQuantity" : {
                    "value" : 130,
                    "unit" : "kg"
                  }
                }
              ]
            }
          ]
        }
      }
    },
    {
      "fullUrl" : "urn:uuid:bf17176f-9779-180b-5c59-e58cddc11071",
      "resource" : {
        "resourceType" : "Medication",
        "id" : "bf17176f-9779-180b-5c59-e58cddc11071",
        "text" : // medication-batch-formula-2-unlinked
        {
          "status" : "generated",
          "div" : "<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>"
        },
        "contained" : [
          {
            "resourceType" : "Substance",
            "id" : "substanceIngredient-1",
            "instance" : false,
            "code" : {
              "reference" : {
                "reference" : "SubstanceDefinition/4cf2cbba-33e6-1124-9bf2-1c6756380474"
              }
            }
          },
          // SubstanceDefinition/substance1
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-1",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Mannitol"
              }
            }
          },
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-2",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Maize starch"
              }
            }
          },
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-3",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Calcium carboxymethylcellulose"
              }
            }
          },
          {
            "resourceType" : "Substance",
            "id" : "substanceExcipient-4",
            "instance" : false,
            "code" : {
              "reference" : {
                "display" : "Magnesium stearate"
              }
            }
          }
        ],
        "code" : {
          "extension" : [
            //  some other cases link via plandef and activity.product 
            {
              "url" : "http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-medication-definition-pq",
              "valueReference" : {
                "reference" : "MedicinalProductDefinition/a0694a7a-aafa-4cbe-8135-c788a9a4d3d5"
              }
            }
          ],
          "text" : "Small Batch of Stelbatolol"
        },
        "ingredient" : [
          // MedicinalProductDefinition/medicinalproductdefinition-drug-product-dxpq-ex1
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceIngredient-1",
                "display" : "Stelbatolol"
              }
            },
            "isActive" : true,
            "strengthQuantity" : {
              "value" : 5.98,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-1",
                "display" : "Mannitol"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 52.36,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-2",
                "display" : "Maize starch"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 5.99,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-3",
                "display" : "Calcium carboxymethylcellulose"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 1.45,
              "unit" : "kg"
            }
          },
          {
            "item" : {
              "reference" : {
                "reference" : "#substanceExcipient-4",
                "display" : "Magnesium stearate"
              }
            },
            "isActive" : false,
            "strengthQuantity" : {
              "value" : 0.72,
              "unit" : "kg"
            }
          }
        ],
        "batch" : {
          "extension" : [
            //                <extension url="http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch">
                  <extension url="batchQuantity">
                     <valueQuantity>
                        <value value="371000"/>
                        <unit value="tablets"/>
                     </valueQuantity>
                  </extension>
               </extension>
            //             NEW Extension
            {
              "url" : "http://hl7.org/fhir/uv/pharm-quality/StructureDefinition/Extension-batch-number-of-items-pq",
              "valueQuantity" : {
                "value" : 371000,
                "unit" : "tablets"
              }
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/medication-manufacturingBatch",
              "extension" : [
                {
                  "url" : "batchQuantity",
                  "valueQuantity" : {
                    "value" : 65,
                    "unit" : "kg"
                  }
                }
              ]
            }
          ]
        }
      }
    }
  ]
}