Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B

Example PackagedProductDefinition/package-with-liquid-and-syringe (XML)

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Jump past Narrative

Basic example of a co-packaged liquid and a syringe, contents only, no packaging described (id = "package-with-liquid-and-syringe")

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

<PackagedProductDefinition xmlns="http://hl7.org/fhir">
  <id value="package-with-liquid-and-syringe"/> 
  <!--    Note that contained here is a completely different meaning to "containedItem" below
       This refers to data contained in the resource, not physically in the package.  
    -->
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: PackagedProductDefinition</b> <a name="package-with-liquid-and-syringe"> </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 PackagedProductDefinition &quot;package-with-liquid-and-syringe&quot; </p> </div> <p> <b> packageFor</b> : <span title="  the product for which this is one available package type (possibly one package type
         of several for this product)  "><a href="todo.html">MedicinalProductDefinition/ProductThatHasThisPackType</a> </span> </p> <blockquote> <p> <b> packaging</b> </p> <blockquote> <p> <b> containedItem</b> </p> <h3> Items</h3> <table class="grid"><tr> <td> -</td> <td> <b> Reference</b> </td> </tr> <tr> <td> *</td> <td> <a name="liquidItem"> </a> <blockquote> <p/>  <p> <a name="liquidItem"> </a> </p> <p> <b> status</b> : active</p> <p> <b> manufacturedDoseForm</b> : solution for injection <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (doseform#solution for injection)</span> </p> </blockquote> </td> </tr> </table> <p> <b> amount</b> : 20 ml<span style="background: LightGoldenRodYellow"> (Details: UCUM code mL = 'mL')</span> </p> </blockquote> <blockquote> <p> <b> containedItem</b> </p> <h3> Items</h3> <table class="grid"><tr> <td> -</td> <td> <b> Reference</b> </td> </tr> <tr> <td> *</td> <td> <a name="syringeDevice"> </a> <blockquote> <p/>  <p> <a name="syringeDevice"> </a> </p> <h3> Classifications</h3> <table class="grid"><tr> <td> -</td> <td> <b> Type</b> </td> </tr> <tr> <td> *</td> <td> syringe <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> </tr> </table> </blockquote> </td> </tr> </table> </blockquote> </blockquote> </div> </text> <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> 
    <ManufacturedItemDefinition> 
      <id value="liquidItem"/> 
      <status value="active"/>  
      <manufacturedDoseForm> 
        <coding> 
          <system value="http://example.org.uk/fhir/doseform"/> 
          <code value="solution for injection"/> 
        </coding> 
      </manufacturedDoseForm> 
    </ManufacturedItemDefinition> 
  </contained> 
  <!--    the product for which this is one available package type (possibly one package type
   of several for this product)    -->
  <packageFor> 
    <reference value="MedicinalProductDefinition/ProductThatHasThisPackType"/> 
  </packageFor> 
  <!--    package contents start here, consists of a liquid and a syringe    -->
  <packaging> 
    <!--    here we can describe the packaging, but in this case we just want to talk about the
     contents    -->
    <!--    Note that containedItem here is a completely different meaning to "contained" above
           This refers to items physically contained in the package.    -->
    <containedItem> 
      <item> 
        <reference> 
        <!--    reference an item defined above    -->
        <reference value="#liquidItem"/> 
        </reference> 
      </item> 
      <amount> 
        <value value="20"/> 
        <unit value="ml"/> 
        <system value="http://unitsofmeasure.org"/>  
        <code value="mL"/> 
      </amount> 
    </containedItem> 
    <containedItem> 
      <item> 
        <reference> 
        <!--    reference an item defined above    -->
        <reference value="#syringeDevice"/> 
        </reference> 
      </item> 
    </containedItem> 
  </packaging> 
</PackagedProductDefinition> 

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.