Example PackagedProductDefinition/package-with-liquid-and-syringe (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Basic example of a co-packaged liquid and a syringe, contents only, no packaging described
@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 -------------------------------------------------------------------
[a fhir:PackagedProductDefinition;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "package-with-liquid-and-syringe"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<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 "package-with-liquid-and-syringe" </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=\"broken-link.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>"
];
fhir:DomainResource.contained [
a fhir:DeviceDefinition;
fhir:index 0;
fhir:Resource.id [ fhir:value "syringeDevice" ];
fhir:DeviceDefinition.classification [
fhir:index 0;
fhir:DeviceDefinition.classification.type [
fhir:CodeableConcept.text [ fhir:value "syringe" ]
]
]
], [
a fhir:ManufacturedItemDefinition;
fhir:index 1;
fhir:Resource.id [ fhir:value "liquidItem" ];
fhir:ManufacturedItemDefinition.status [ fhir:value "active" ];
fhir:ManufacturedItemDefinition.manufacturedDoseForm [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://example.org.uk/fhir/doseform" ];
fhir:Coding.code [ fhir:value "solution for injection" ]
]
]
];
fhir:PackagedProductDefinition.packageFor [
fhir:index 0;
fhir:Reference.reference [ fhir:value "MedicinalProductDefinition/ProductThatHasThisPackType" ]
];
fhir:PackagedProductDefinition.packaging [
fhir:PackagedProductDefinition.packaging.containedItem [
fhir:index 0;
fhir:PackagedProductDefinition.packaging.containedItem.item [
fhir:CodeableReference.reference [
fhir:Reference.reference [ fhir:value "#liquidItem" ]
]
];
fhir:PackagedProductDefinition.packaging.containedItem.amount [
fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "ml" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "mL" ]
]
], [
fhir:index 1;
fhir:PackagedProductDefinition.packaging.containedItem.item [
fhir:CodeableReference.reference [
fhir:Reference.reference [ fhir:value "#syringeDevice" ]
]
]
]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.