Example MedicinalProductDefinition/drug-and-device (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
A liquid that comes with a syringe in the pack, basic details only
@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 "drug-and-device"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n <b>\n Generated Narrative\n </b>\n </p>\n <p>\n <b>\n Id\n </b>\n : drug-and-device\n </p>\n <p>\n <b>\n Identifier\n </b>\n : Wonderdrug+\n </p>\n <p>\n <b>\n Combined Pharmaceutical Dose Form\n </b>\n :\n <span title=\"Codes: {http://example.org.uk/fhir/doseform solution for injection}\">\n solution for injection\n </span>\n </p>\n <p>\n <b>\n Packaged Product\n </b>\n :\n <a name=\"package\"/>\n </p>\n <blockquote>\n <p>\n <b>\n Package\n </b>\n </p>\n <blockquote>\n <p>\n <b>\n Contained Item\n </b>\n </p>\n <p>\n <b>\n Item\n </b>\n :\n <a href=\"#liquidItem\">\n Solution for Injection\n </a>\n </p>\n <p>\n <b>\n Amount\n </b>\n : 20 ml\n </p>\n <p>\n <b>\n Ingredient\n </b>\n : Wondersubstance BP\n </p>\n </blockquote>\n <blockquote>\n <p>\n <b>\n Contained Item\n </b>\n </p>\n <p>\n <b>\n Device\n </b>\n :\n <a href=\"#syringeDevice\">\n Syringe\n </a>\n </p>\n <p>\n <b>\n Amount\n </b>\n : 1\n </p>\n </blockquote>\n </blockquote>\n <h3>\n Names\n </h3>\n <table class=\"grid\">\n <tr>\n <td>\n -\n </td>\n <td>\n <b>\n Product Name\n </b>\n </td>\n </tr>\n <tr>\n <td>\n *\n </td>\n <td>\n Wonderdrug+ liquid 20ml\n </td>\n </tr>\n </table>\n </div>"
];
fhir:DomainResource.contained [
a fhir:PackagedProductDefinition;
fhir:index 0;
fhir:Resource.id [ fhir:value "package" ];
fhir:PackagedProductDefinition.packageFor [
fhir:index 0;
fhir:Reference.reference [ fhir:value "#" ]
];
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" ]
]
]
]
]
], [
a fhir:DeviceDefinition;
fhir:index 1;
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 2;
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:MedicinalProductDefinition.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://example.org.uk/fhir/product" ];
fhir:Identifier.value [ fhir:value "Wonderdrug+" ]
];
fhir:MedicinalProductDefinition.combinedPharmaceuticalDoseForm [
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:MedicinalProductDefinition.name [
fhir:index 0;
fhir:MedicinalProductDefinition.name.productName [ fhir:value "Wonderdrug+ liquid 20ml" ]
]] .
# - 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.