Example MedicinalProductDefinition/Acetamin-500-20-generic (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Acetaminophin product, pack and tablet (using contained resources)
@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:MedicinalProductDefinition;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "Acetamin-500-20-generic"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicinalProductDefinition</b><a name=\"Acetamin-500-20-generic\"> </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 MedicinalProductDefinition "Acetamin-500-20-generic" </p></div><p><b>identifier</b>: <span title=\" contained>\n <Ingredient>\n <id value="Acetamin-ing-500"/>\n <status value="active"/>\n <for>\n <reference value="ManufacturedItemDefinition/Acetamin-tab-500"/>\n </for>\n <role>\n <coding>\n <code value="active"/>\n </coding>\n </role>\n <substance>\n <code>\n <concept>\n <coding>\n <system value="http://snomed.info/sct"/>\n <code value="387517004"/>\n <display value="Acetaminophen"/>\n </coding>\n </concept>\n </code>\n <strength>\n <presentationRatio>\n <numerator>\n <value value="500"/>\n <unit value="mg"/>\n </numerator>\n <denominator>\n <value value="1"/>\n <unit value="tablet"/>\n </denominator>\n </presentationRatio>\n </strength>\n </substance>\n </Ingredient>\n </contained \">id: 12345</span></p><h3>Names</h3><table class=\"grid\"><tr><td>-</td><td><b>ProductName</b></td></tr><tr><td>*</td><td>Acetaminophen 500 mg tablets [generic]</td></tr></table></div>"
];
fhir:DomainResource.contained [
a fhir:PackagedProductDefinition;
fhir:index 0;
fhir:Resource.id [ fhir:value "Acetamin-pack-20" ];
fhir:PackagedProductDefinition.packageFor [
fhir:index 0;
fhir:Reference.reference [ fhir:value "#" ]
];
fhir:PackagedProductDefinition.packaging [
fhir:PackagedProductDefinition.packaging.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "cardboard box" ]
]
];
fhir:PackagedProductDefinition.packaging.containedItem [
fhir:index 0;
fhir:PackagedProductDefinition.packaging.containedItem.item [
fhir:CodeableReference.reference [
fhir:Reference.reference [ fhir:value "#Acetamin-tab-500" ]
]
];
fhir:PackagedProductDefinition.packaging.containedItem.amount [
fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ]
]
]
]
], [
a fhir:ManufacturedItemDefinition;
fhir:index 1;
fhir:Resource.id [ fhir:value "Acetamin-tab-500" ];
fhir:ManufacturedItemDefinition.status [ fhir:value "active" ];
fhir:ManufacturedItemDefinition.manufacturedDoseForm [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "tablet" ]
]
]
];
fhir:MedicinalProductDefinition.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://example.nation.org/drugs" ];
fhir:Identifier.value [ fhir:value "12345" ]
];
fhir:MedicinalProductDefinition.name [
fhir:index 0;
fhir:MedicinalProductDefinition.name.productName [ fhir:value "Acetaminophen 500 mg tablets [generic]" ]
]] .
# - 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.