This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). 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
Biomedical Research and Regulation Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw XML (canonical form + also see XML Format Specification)
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</b> </p> <p> <b> id</b> : package-with-liquid-and-syringe</p> <p> <b> subject</b> : <a> MedicinalProductDefinition/ProductThatHasThisPackType</a> </p> <blockquote> <p> <b> package</b> </p> <blockquote> <p> <b> containedItem</b> </p> <p> <b> item</b> : <a> </a> </p> <blockquote> <p> <b> id</b> : liquidItem</p> <p> <b> manufacturedDoseForm</b> : <span> solution for injection</span> </p> <p> <b> ingredient</b> : <a> Ingredient/liquidIngredient</a> </p> </blockquote> <p> <b> amount</b> : 20 ml</p> </blockquote> <blockquote> <p> <b> containedItem</b> </p> <p> <b> item</b> : <a> </a> </p> <blockquote> <p> <b> id</b> : syringeDevice</p> <p> <b> type</b> : <span> syringe</span> </p> </blockquote> </blockquote> </blockquote> </div> </text> <contained> <DeviceDefinition> <id value="syringeDevice"/> <type> <text value="syringe"/> </type> <!-- 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"/> <manufacturedDoseForm> <coding> <system value="http://example.org.uk/fhir/doseform"/> <code value="solution for injection"/> </coding> </manufacturedDoseForm> <ingredient> <reference value="Ingredient/liquidIngredient"/> </ingredient> </ManufacturedItemDefinition> </contained> <!-- the product for which this is one available package type (possibly one package type of several for this product) --> <subject> <reference value="MedicinalProductDefinition/ProductThatHasThisPackType"/> </subject> <!-- package contents start here, consists of a liquid and a syringe --> <package> <!-- 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 an item defined above --> <reference value="#liquidItem"/> </item> <amountQuantity> <value value="20"/> <unit value="ml"/> </amountQuantity> </containedItem> <containedItem> <item> <!-- reference an item defined above --> <reference value="#syringeDevice"/> </item> </containedItem> </package> </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.