Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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

Packagedproductdefinition-example.ttl

Example PackagedProductDefinition/example (Turtle)

Biomedical Research and Regulation Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification )

General example, carton with blister pack and tablets inside

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/PackagedProductDefinition/example> a fhir:PackagedProductDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 &quot;example&quot; </p></div><p><b>identifier</b>: id: {PCID}</p><p><b>description</b>: ALU-PVC/PVDC BLISTERS. CARTONS OF 10 FILM-COATED TABLETS.</p><blockquote><p><b>package</b></p><p><b>type</b>: Carton <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageitemcontainertype#Carton)</span></p><p><b>quantity</b>: 1</p><p><b>material</b>: Paperboard <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#Paperboard)</span></p><p><b>manufacturer</b>: <a href=\"todo.html\">Organization/example</a></p><blockquote><p><b>property</b></p><p><b>type</b>: height <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#height)</span></p><p><b>value</b>: 50 mm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm = 'mm')</span></p></blockquote><blockquote><p><b>property</b></p><p><b>type</b>: width <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#width)</span></p><p><b>value</b>: 45 mm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm = 'mm')</span></p></blockquote><blockquote><p><b>property</b></p><p><b>type</b>: depth <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#depth)</span></p><p><b>value</b>: 23.5 mm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm = 'mm')</span></p></blockquote><blockquote><p><b>package</b></p><p><b>type</b>: Blister <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageitemcontainertype#Blister)</span></p><p><b>quantity</b>: 1</p><p><b>material</b>: PVC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#PVC)</span>, PVDC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#PVDC)</span>, alu <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#alu)</span></p><p><b>manufacturer</b>: <a href=\"todo.html\">Organization/example</a></p></blockquote></blockquote></div>"
  ];
  fhir:PackagedProductDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://ema.europa.eu/example/pcid" ];
     fhir:Identifier.value [ fhir:value "{PCID}" ]
  ];
  fhir:PackagedProductDefinition.description [ fhir:value "ALU-PVC/PVDC BLISTERS. CARTONS OF 10 FILM-COATED TABLETS."];
  fhir:PackagedProductDefinition.package [
     fhir:PackagedProductDefinition.package.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/packageitemcontainertype" ];
         fhir:Coding.code [ fhir:value "Carton" ]
       ]
     ];
     fhir:PackagedProductDefinition.package.quantity [ fhir:value "1"^^xsd:integer ];
     fhir:PackagedProductDefinition.package.material [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/packageItemContainerMaterial" ];
         fhir:Coding.code [ fhir:value "Paperboard" ]
       ]
     ];
     fhir:PackagedProductDefinition.package.manufacturer [
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/Organization/example>;
       fhir:Reference.reference [ fhir:value "Organization/example" ]
     ];
     fhir:PackagedProductDefinition.package.property [
       fhir:index 0;
       fhir:PackagedProductDefinition.package.property.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "height" ]
         ]
       ];
       fhir:PackagedProductDefinition.package.property.valueQuantity [
         fhir:Quantity.value [ fhir:value "50"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mm" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mm" ]

[a fhir:PackagedProductDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: PackagedProductDefinition</b><a name=\"example\"> </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;example&quot; </p></div><p><b>identifier</b>: id: {PCID}</p><p><b>description</b>: ALU-PVC/PVDC BLISTERS. CARTONS OF 10 FILM-COATED TABLETS.</p><blockquote><p><b>packaging</b></p><p><b>type</b>: Carton <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageitemcontainertype#Carton)</span></p><p><b>quantity</b>: <span title=\"  top level, so this can only ever be 1, but it is optional  \">1</span></p><p><b>material</b>: Paperboard <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#Paperboard)</span></p><p><b>manufacturer</b>: <a href=\"broken-link.html\">Organization/example</a></p><blockquote><p><b>property</b></p><p><b>type</b>: height <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#height)</span></p><p><b>value</b>: 50 mm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm = 'mm')</span></p></blockquote><blockquote><p><b>property</b></p><p><b>type</b>: width <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#width)</span></p><p><b>value</b>: 45 mm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm = 'mm')</span></p></blockquote><blockquote><p><b>property</b></p><p><b>type</b>: depth <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#depth)</span></p><p><b>value</b>: 23.5 mm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mm = 'mm')</span></p></blockquote><blockquote><p><b>packaging</b></p><p><b>type</b>: Blister <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageitemcontainertype#Blister)</span></p><p><b>quantity</b>: 1</p><p><b>material</b>: PVC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#PVC)</span>, PVDC <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#PVDC)</span>, alu <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (packageItemContainerMaterial#alu)</span></p><blockquote><p><b>shelfLifeStorage</b></p></blockquote><p><b>manufacturer</b>: <a href=\"broken-link.html\">Organization/example</a></p><blockquote><p><b>property</b></p></blockquote><blockquote><p><b>property</b></p></blockquote><blockquote><p><b>containedItem</b></p></blockquote></blockquote></blockquote></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://ema.europa.eu/example/pcid"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "{PCID}" ]
  ] ) ; # 
  fhir:description [ fhir:v "ALU-PVC/PVDC BLISTERS. CARTONS OF 10 FILM-COATED TABLETS."] ; # 
  fhir:packaging [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://ema.europa.eu/example/packageitemcontainertype"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "Carton" ]
       ] )
     ] ;
     fhir:quantity [ fhir:v "1"^^xsd:integer ] ; #    top level, so this can only ever be 1, but it is optional   
     fhir:material ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://ema.europa.eu/example/packageItemContainerMaterial"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "Paperboard" ]
       ] )
     ] ) ;
     fhir:manufacturer ( [
       fhir:reference [ fhir:v "Organization/example" ]
     ] ) ;
     fhir:property ( [
       fhir:type [
         fhir:coding ( [
           fhir:code [ fhir:v "height" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Quantity ;
         fhir:value [ fhir:v "50"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mm" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mm" ]

       ]
     ], [
       fhir:index 1;
       fhir:PackagedProductDefinition.package.property.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "width" ]
         ]
       ];
       fhir:PackagedProductDefinition.package.property.valueQuantity [
         fhir:Quantity.value [ fhir:value "45"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mm" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mm" ]

     ] [
       fhir:type [
         fhir:coding ( [
           fhir:code [ fhir:v "width" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Quantity ;
         fhir:value [ fhir:v "45"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mm" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mm" ]

       ]
     ], [
       fhir:index 2;
       fhir:PackagedProductDefinition.package.property.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.code [ fhir:value "depth" ]
         ]
       ];
       fhir:PackagedProductDefinition.package.property.valueQuantity [
         fhir:Quantity.value [ fhir:value "23.5"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "mm" ];
         fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
         fhir:Quantity.code [ fhir:value "mm" ]

     ] [
       fhir:type [
         fhir:coding ( [
           fhir:code [ fhir:v "depth" ]
         ] )
       ] ;
       fhir:value [
         a fhir:Quantity ;
         fhir:value [ fhir:v "23.5"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mm" ] ;
         fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "mm" ]

       ]
     ];
     fhir:PackagedProductDefinition.package.package [
       fhir:index 0;
       fhir:PackagedProductDefinition.package.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/packageitemcontainertype" ];
           fhir:Coding.code [ fhir:value "Blister" ]
         ]
       ];
       fhir:PackagedProductDefinition.package.quantity [ fhir:value "1"^^xsd:integer ];
       fhir:PackagedProductDefinition.package.material [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/packageItemContainerMaterial" ];
           fhir:Coding.code [ fhir:value "PVC" ]
         ]
       ], [
         fhir:index 1;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/packageItemContainerMaterial" ];
           fhir:Coding.code [ fhir:value "PVDC" ]
         ]
       ], [
         fhir:index 2;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/packageItemContainerMaterial" ];
           fhir:Coding.code [ fhir:value "alu" ]
         ]
       ];
       fhir:PackagedProductDefinition.package.shelfLifeStorage [
         fhir:index 0;
         fhir:PackagedProductDefinition.package.shelfLifeStorage.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/shelfLifeTypePlaceHolder" ];
             fhir:Coding.code [ fhir:value "ShelfLifeofPackagedMedicinalProduct" ]
           ]
         ];
         fhir:PackagedProductDefinition.package.shelfLifeStorage.periodDuration [
           fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "year" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "a" ]
         ];
         fhir:PackagedProductDefinition.package.shelfLifeStorage.specialPrecautionsForStorage [
           fhir:index 0;
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://ema.europa.eu/example/specialprecautionsforstorage" ];
             fhir:Coding.code [ fhir:value "none" ]
           ]
         ]
       ];
       fhir:PackagedProductDefinition.package.manufacturer [
         fhir:index 0;
         fhir:link <http://hl7.org/fhir/Organization/example>;
         fhir:Reference.reference [ fhir:value "Organization/example" ]
       ];
       fhir:PackagedProductDefinition.package.property [
         fhir:index 0;
         fhir:PackagedProductDefinition.package.property.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.code [ fhir:value "height" ]
           ]
         ];
         fhir:PackagedProductDefinition.package.property.valueQuantity [
           fhir:Quantity.value [ fhir:value "45"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mm" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "mm" ]

     ] ) ;
     fhir:packaging ( [
       fhir:type [
         fhir:coding ( [
           fhir:system [ fhir:v "http://ema.europa.eu/example/packageitemcontainertype"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "Blister" ]
         ] )
       ] ;
       fhir:quantity [ fhir:v "1"^^xsd:integer ] ;
       fhir:material ( [
         fhir:coding ( [
           fhir:system [ fhir:v "http://ema.europa.eu/example/packageItemContainerMaterial"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "PVC" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://ema.europa.eu/example/packageItemContainerMaterial"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "PVDC" ]
         ] )
       ] [
         fhir:coding ( [
           fhir:system [ fhir:v "http://ema.europa.eu/example/packageItemContainerMaterial"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "alu" ]
         ] )
       ] ) ;
       fhir:shelfLifeStorage ( [
         fhir:type [
           fhir:coding ( [
             fhir:system [ fhir:v "http://ema.europa.eu/example/shelfLifeTypePlaceHolder"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "ShelfLifeofPackagedMedicinalProduct" ]
           ] )
         ] ;
         fhir:period [
           a fhir:Duration ;
           fhir:value [ fhir:v "3"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "year" ] ;
           fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "a" ]
         ] ;
         fhir:specialPrecautionsForStorage ( [
           fhir:coding ( [
             fhir:system [ fhir:v "http://ema.europa.eu/example/specialprecautionsforstorage"^^xsd:anyURI ] ;
             fhir:code [ fhir:v "none" ]
           ] )
         ] )
       ] ) ;
       fhir:manufacturer ( [
         fhir:reference [ fhir:v "Organization/example" ]
       ] ) ;
       fhir:property ( [
         fhir:type [
           fhir:coding ( [
             fhir:code [ fhir:v "height" ]
           ] )
         ] ;
         fhir:value [
           a fhir:Quantity ;
           fhir:value [ fhir:v "45"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "mm" ] ;
           fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "mm" ]

         ]
       ], [
         fhir:index 1;
         fhir:PackagedProductDefinition.package.property.type [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.code [ fhir:value "width" ]
           ]
         ];
         fhir:PackagedProductDefinition.package.property.valueQuantity [
           fhir:Quantity.value [ fhir:value "35"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "mm" ];
           fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
           fhir:Quantity.code [ fhir:value "mm" ]

       ] [
         fhir:type [
           fhir:coding ( [
             fhir:code [ fhir:v "width" ]
           ] )
         ] ;
         fhir:value [
           a fhir:Quantity ;
           fhir:value [ fhir:v "35"^^xsd:decimal ] ;
           fhir:unit [ fhir:v "mm" ] ;
           fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "mm" ]

         ]
       ];
       fhir:PackagedProductDefinition.package.containedItem [
         fhir:index 0;
         fhir:PackagedProductDefinition.package.containedItem.item [
           fhir:CodeableReference.reference [
             fhir:link <http://hl7.org/fhir/ManufacturedItemDefinition/tablet>;
             fhir:Reference.reference [ fhir:value "ManufacturedItemDefinition/tablet" ]

       ] ) ;
       fhir:containedItem ( [
         fhir:item [
           fhir:reference [
             fhir:reference [ fhir:v "ManufacturedItemDefinition/tablet" ]

           ]
         ];
         fhir:PackagedProductDefinition.package.containedItem.amount [
           fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ]
         ]
       ]
     ]
  ] .

<http://hl7.org/fhir/Organization/example> a fhir:Organization .

<http://hl7.org/fhir/ManufacturedItemDefinition/tablet> a fhir:ManufacturedItemDefinition .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/PackagedProductDefinition/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/PackagedProductDefinition/example.ttl> .

         ] ;
         fhir:amount [
           fhir:value [ fhir:v "10"^^xsd:decimal ]
         ] #    10 tablets in the blister pack   
       ] )
     ] ) #    inner packaging   
  ]] . #    outer packaging   


# -------------------------------------------------------------------------------------


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.