summary on show codes show debug ☰ x hide task hide provenance hide tables
 dark mode greyscale b&w text only
x
1. Model at left shows a full product and package structure, using all parts (but with only a small amount of data, to illustrate). The picture below shows how both parts of the package are populated. The next example removes the box.
x
Bundle [documentation R4 R5 R6]
id: powder-product-bundle
Type: collection
Product [documentation R4 R5 R6]
id: powder-product
fullUrl: (none)
- Name: Superpowder
Dose Form (combination of all parts): Powder for solution (http://example.org.uk/fhir/doseform)
arrow indicates that this PackagedProductDefinition resource points back to the parent MedicinalProductDefinition, instead of being linked forwards from it - via PackagedProductDefinition.packageFor
Package - Superpowder Pack 100mg [documentation R4 R5 R6]
id: package
fullUrl: (none)
Name: Superpowder Pack 100mg
Packaging - Box (outer)
Type: Box (outer)
Packaging - Foil bag (inner)
Type: Foil bag (inner)
Amount: 100 mg
Found a parent (PackagedProductDefinition/item, id: package fullUrl: (none))
which is linked to this by resource.id
Manufactured Item [documentation R4 R5 R6]
id: powder
fullUrl: (none)
- powder (http://example.org.uk/fhir/doseform)
Status: active
Dose Form: powder (http://example.org.uk/fhir/doseform)
Warning - Found Ingredient that is not referenced (powderIngredient)

-<Bundle xmlns="http://hl7.org/fhir">
 <id value="powder-product-bundle"/>
 <type value="collection"/>
-<entry>
-<resource>
-<MedicinalProductDefinition>
 <id value="powder-product"/>
-<combinedPharmaceuticalDoseForm>
-<coding>
 <system value="http://example.org.uk/fhir/doseform"/>
 <code value="Powder for solution"/>
 </coding>
 </combinedPharmaceuticalDoseForm>
-<name>
 <productName value="Superpowder"/>
 </name>
 </MedicinalProductDefinition>
 </resource>
 </entry>
-<entry>
-<resource>
-<ManufacturedItemDefinition>
 <id value="powder"/>
 <status value="active"/>
-<manufacturedDoseForm>
-<coding>
 <system value="http://example.org.uk/fhir/doseform"/>
 <code value="powder"/>
 </coding>
 </manufacturedDoseForm>
 <!--ingredient> <reference> <reference value="Ingredient/powderIngredient"/> </reference> </ingredient -->
 </ManufacturedItemDefinition>
 </resource>
 </entry>
-<entry>
-<resource>
-<Ingredient>
 <id value="powderIngredient"/>
 <status value="active"/>
-<role>
-<coding>
 <system value="http://example.org.uk/fhir/ingredientRole"/>
 <code value="active"/>
 <display value="Active Ingredient"/>
 </coding>
 </role>
-<substance>
-<code>
-<concept>
-<coding>
 <system value="http://example.org.uk/fhir/ingredientRole"/>
 <code value="ABC123"/>
 <display value="Supersubstance"/>
 </coding>
 </concept>
 </code>
 </substance>
 </Ingredient>
 </resource>
 </entry>
-<entry>
-<resource>
-<PackagedProductDefinition>
 <id value="package"/>
 <name value="Superpowder Pack 100mg"/>
-<packageFor>
 </packageFor>
-<packaging>
-<type>
-<coding>
 <code value="Box (outer)"/>
 </coding>
 </type>
-<packaging>
-<type>
-<coding>
 <code value="Foil bag (inner)"/>
 </coding>
 </type>
-<containedItem>
-<item>
-<reference>
 <reference value="ManufacturedItemDefinition/powder"/>
 </reference>
 </item>
-<amount>
 <value value="100"/>
 <unit value="mg"/>
 </amount>
 </containedItem>
 </packaging>
 </packaging>
 </PackagedProductDefinition>
 </resource>
 </entry>
 </Bundle>