Example Medication/med0310 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Generic Formulation - Oxycodone
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Medication;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "med0310"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"med0310\"> </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 Medication "med0310" </p></div><p><b>code</b>: Oral Form Oxycodone (product) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#430127000)</span></p><p><b>doseForm</b>: Tablet dose form (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385055001)</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a name=\"sub03\"> </a><blockquote><p/><p><a name=\"sub03\"> </a></p><p><b>instance</b>: false</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Oxycodone (substance) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#55452001)</span></td></tr></table></blockquote></td></tr></table><p><b>strength</b>: 5 mg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mg = 'mg')</span>/1(unit TAB from http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm)<span style=\"background: LightGoldenRodYellow\"> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')</span></p></blockquote></div>"
];
fhir:DomainResource.contained [
a fhir:Substance;
fhir:index 0;
fhir:Resource.id [ fhir:value "sub03" ];
fhir:Substance.instance [ fhir:value "false"^^xsd:boolean ];
fhir:Substance.code [
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:55452001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "55452001" ];
fhir:Coding.display [ fhir:value "Oxycodone (substance)" ]
]
]
]
];
fhir:Medication.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:430127000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "430127000" ];
fhir:Coding.display [ fhir:value "Oral Form Oxycodone (product)" ]
]
];
fhir:Medication.doseForm [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:385055001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "385055001" ];
fhir:Coding.display [ fhir:value "Tablet dose form (qualifier value)" ]
]
];
fhir:Medication.ingredient [
fhir:index 0;
fhir:Medication.ingredient.item [
fhir:CodeableReference.reference [
fhir:Reference.reference [ fhir:value "#sub03" ]
]
];
fhir:Medication.ingredient.strengthRatio [
fhir:Ratio.numerator [
fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "mg" ]
];
fhir:Ratio.denominator [
fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
fhir:Quantity.code [ fhir:value "TAB" ]
]
]
]] .
# - 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.