Example Medication/med0317 (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Compounded Preparation - KCl in D5W Admixture - includes a reference to a substance in the ingredient element
@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 "med0317"];
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=\"med0317\"> </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 "med0317" </p></div><p><b>doseForm</b>: Injection Solution (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#385219001)</span></p><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Potassium Chloride <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#8591)</span></td></tr></table><p><b>strength</b>: 20 meq<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code meq = 'meq')</span>/1000 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></p></blockquote><blockquote><p><b>ingredient</b></p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>1000 ml glucost 50mg/ml Injection <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#313002)</span></td></tr></table><p><b>strength</b>: 5 g<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code g = 'g')</span>/100 mL<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mL = 'mL')</span></p></blockquote></div>"
];
fhir:Medication.doseForm [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:385219001;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "385219001" ];
fhir:Coding.display [ fhir:value "Injection Solution (qualifier value)" ]
];
fhir:CodeableConcept.text [ fhir:value "Injection Solution (qualifier value)" ]
];
fhir:Medication.ingredient [
fhir:index 0;
fhir:Medication.ingredient.item [
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
fhir:Coding.code [ fhir:value "8591" ];
fhir:Coding.display [ fhir:value "Potassium Chloride" ]
]
]
];
fhir:Medication.ingredient.strengthRatio [
fhir:Ratio.numerator [
fhir:Quantity.value [ fhir:value "20"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "meq" ]
];
fhir:Ratio.denominator [
fhir:Quantity.value [ fhir:value "1000"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "mL" ]
]
]
], [
fhir:index 1;
fhir:Medication.ingredient.item [
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
fhir:Coding.code [ fhir:value "313002" ];
fhir:Coding.display [ fhir:value "1000 ml glucost 50mg/ml Injection" ]
]
]
];
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 "g" ]
];
fhir:Ratio.denominator [
fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "mL" ]
]
]
]] .
# - 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.