Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B

Example MedicinalProductDefinition/drug-and-device-complete (XML)

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Jump past Narrative

A powder and solution for injection that comes with a syringe in the pack (complete example) (id = "drug-and-device-complete")

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

<MedicinalProductDefinition xmlns="http://hl7.org/fhir">
  <id value="drug-and-device-complete"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> 
        <b> 
          Generated Narrative
        </b> 
      </p> 
      <p> 
        <b> 
          id
        </b> 
        : drug-and-device
      </p> 
      <p> 
        <b> 
          identifier
        </b> 
        : id: Wonderdrug+
      </p> 
      <p> 
        <b> 
          Combined Pharmaceutical Dose Form
        </b> 
        :
        <span title="Codes: {http://example.org.uk/fhir/doseform solution for injection}">
          solution for injection
        </span> 
      </p> 
      <p> 
        <b> 
          Packaged Product
        </b> 
        :
        <a name="package"/> 
      </p> 
      <blockquote> 
        <p> 
          <b> 
            package
          </b> 
        </p> 
        <blockquote> 
          <p> 
            <b> 
              Box
            </b> 
          </p> 
          <blockquote> 
            <p> 
              <b> 
                Inner box for Powder and Solution
              </b> 
            </p> 
            <blockquote> 
              <p> 
                <b> 
                  Sachet
                </b> 
              </p> 
              <blockquote> 
                <p> 
                  <b> 
                    Item
                  </b> 
                  :
                  <a href="#liquidItem">
                    Powder for Solution for Injection
                  </a> 
                </p> 
                <p> 
                  <b> 
                    Amount
                  </b> 
                  : 5 mg
                </p> 
                <p> 
                  <b> 
                    Ingredient
                  </b> 
                  : Wondersubstance
                </p> 
              </blockquote> 
            </blockquote> 
            <blockquote> 
              <p> 
                <b> 
                  Bottle
                </b> 
              </p> 
              <blockquote> 
                <p> 
                  <b> 
                    Item
                  </b> 
                  :
                  <a href="#liquidItem">
                    Solvent
                  </a> 
                </p> 
                <p> 
                  <b> 
                    Amount
                  </b> 
                  : 20 ml
                </p> 
                <p> 
                  <b> 
                    Ingredient
                  </b> 
                  : Distilled Water
                </p> 
              </blockquote> 
            </blockquote> 
          </blockquote> 
          <blockquote> 
            <p> 
              <b> 
                Foil bag
              </b> 
            </p> 
            <blockquote> 
              <p> 
                <b> 
                  Device
                </b> 
                :
                <a href="#syringeDevice">
                  Syringe
                </a> 
              </p> 
              <p> 
                <b> 
                  amount
                </b> 
                : 1
              </p> 
            </blockquote> 
          </blockquote> 
        </blockquote> 
      </blockquote> 
      <p> 
        <b> 
          Administrable Product
        </b> 
        :
      </p> 
      <blockquote> 
        <p> 
          Wonderdrug, dose form: Solution For Injection
        </p> 
      </blockquote> 
      <h3> 
        Names
      </h3> 
      <table class="grid">
        <tr> 
          <td> 
            -
          </td> 
          <td> 
            <b> 
              Product Name
            </b> 
          </td> 
        </tr> 
        <tr> 
          <td> 
            *
          </td> 
          <td> 
            Wonderdrug+ liquid 20ml
          </td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <contained> 
    <PackagedProductDefinition> 
      <id value="package"/> 
      <packageFor> 
        <reference value="#"/> 
      </packageFor> 
      <packaging> 
        <packaging> 
          <type> 
            <coding> 
              <code value="cardboard box (outer)"/> 
            </coding> 
          </type> 
          <packaging> 
            <type> 
              <coding> 
                <code value="cardboard box (inner)"/> 
              </coding> 
            </type> 
            <packaging> 
              <type> 
                <coding> 
                  <code value="sachet"/> 
                </coding> 
              </type> 
              <containedItem> 
                <item> 
                  <reference> 
                  <reference value="#powderItem"/> 
                  </reference> 
                </item> 
                <amount> 
                  <value value="5"/> 
                  <unit value="g"/> 
                  <system value="http://unitsofmeasure.org"/>  
                  <code value="g"/> 
                </amount> 
              </containedItem> 
            </packaging> 
            <packaging> 
              <type> 
                <coding> 
                  <code value="bottle"/> 
                </coding> 
              </type> 
              <containedItem> 
                <item> 
                  <reference> 
                  <reference value="#solventItem"/> 
                  </reference> 
                </item> 
                <amount> 
                  <value value="20"/> 
                  <unit value="ml"/> 
                  <system value="http://unitsofmeasure.org"/>  
                  <code value="mL"/> 
                </amount> 
              </containedItem> 
            </packaging> 
          </packaging> 
          <packaging> 
            <type> 
              <coding> 
                <code value="foil bag"/> 
              </coding> 
            </type> 
            <containedItem> 
              <item> 
                <reference> 
                <reference value="#syringeDevice"/> 
                </reference> 
              </item> 
              <amount> 
                <value value="1"/> 
              </amount> 
            </containedItem> 
          </packaging> 
        </packaging> 
      </packaging> 
    </PackagedProductDefinition> 
  </contained> 
  <contained> 
    <ManufacturedItemDefinition> 
      <id value="solventItem"/> 
      <status value="active"/>  
      <manufacturedDoseForm> 
        <coding> 
          <system value="http://example.org.uk/fhir/doseform"/> 
          <code value="solvent for powder for injection"/> 
        </coding> 
      </manufacturedDoseForm> 
    </ManufacturedItemDefinition> 
  </contained> 
  <contained> 
    <ManufacturedItemDefinition> 
      <id value="powderItem"/> 
      <status value="active"/>  
      <manufacturedDoseForm> 
        <coding> 
          <system value="http://example.org.uk/fhir/doseform"/> 
          <code value="powder for solution for injection"/> 
        </coding> 
      </manufacturedDoseForm> 
    </ManufacturedItemDefinition> 
  </contained> 
  <contained> 
    <DeviceDefinition> 
      <id value="syringeDevice"/> 
      <classification> 
        <type> 
          <text value="syringe"/> 
        </type> 
      </classification> 
        <!--   Schema appears to be broken, deviceName is not present in XSD   -->
        <!--  deviceName>
        <name value="WonderSyringe"/>
        <type value="manufacturer-name"/>
      </deviceName  -->
    </DeviceDefinition> 
  </contained> 
    <!--  contained>
    <Ingredient>
      <id value="ingredientPowder"/>
      <status value="active"/> 
      <for>
        <reference value="ManufacturedItemDefinition/powderItem"/>
      </for>
      <role>
        <coding>
          <system value="http://example.org.uk/fhir/ingredientRole"/>
          <code value="active"/>
        </coding>
      </role>
      <substance>
        <code>
          <concept>
          <coding>
            <system value="http://example.org.uk/fhir/ingredients"/>
            <code value="12345"/>
            <display value="Wonderdrug BP"/>
          </coding>
          </concept>
        </code>
      </substance>
    </Ingredient>
  </contained>
  <contained>
    <Ingredient>
      <id value="ingredientSolvent"/>
      <status value="active"/>
      <for>
        <reference value="ManufacturedItemDefinition/solventItem"/>
      </for>
      
      <role>
        <coding>
          <system value="http://example.org.uk/fhir/ingredientRole"/>
          <code value="active"/>
        </coding>
      </role>
      <substance>
        <code>
          <concept>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="444883009"/>
            <display value="Distilled water"/>
          </coding>
          </concept>
        </code>
      </substance>
    </Ingredient>
  </contained  -->
  <contained> 
    <AdministrableProductDefinition> 
      <id value="administrable-form"/> 
      <status value="active"/>  
      <formOf> 
        <reference value="#"/> 
      </formOf> 
      <administrableDoseForm> 
        <coding> 
          <code value="solution for injection"/> 
        </coding> 
      </administrableDoseForm> 
      <producedFrom> 
        <reference value="#powderItem"/> 
      </producedFrom> 
      <producedFrom> 
        <reference value="#solventItem"/> 
      </producedFrom> 
      <routeOfAdministration> 
        <code> 
          <coding> 
            <system value="http://example.org.uk/fhir/route"/> 
            <code value="intramuscular"/> 
          </coding> 
        </code> 
      </routeOfAdministration> 
    </AdministrableProductDefinition> 
  </contained> 
  <identifier> 
    <system value="http://example.org.uk/fhir/product"/> 
    <value value="Wonderdrug+"/> 
  </identifier> 
  <combinedPharmaceuticalDoseForm> 
    <coding> 
      <system value="http://example.org.uk/fhir/doseform"/> 
      <code value="Powder and solution for injection with itegral syringe"/> 
    </coding> 
  </combinedPharmaceuticalDoseForm> 
  <name> 
    <productName value="Wonderdrug liquid 20ml (integral syringe)"/> 
  </name> 
</MedicinalProductDefinition> 

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.