This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Real-world prescription example
@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/sct/> . @prefix xs: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir//MedicationOrder/f202> a fhir:MedicationOrder; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "f202"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:MedicationOrder.status [ fhir:value "completed"]; fhir:MedicationOrder.medicationReference [ fhir:reference <http://hl7.org/fhir/Medication/f202>; fhir:Reference.reference [ fhir:value "Medication/f202" ]; fhir:Reference.display [ fhir:value "Flucloxacilline" ] ]; fhir:MedicationOrder.patient [ fhir:reference <http://hl7.org/fhir/Patient/f201>; fhir:Reference.reference [ fhir:value "Patient/f201" ]; fhir:Reference.display [ fhir:value "Roel" ] ]; fhir:MedicationOrder.encounter [ fhir:reference <http://hl7.org/fhir/Encounter/f203>; fhir:Reference.reference [ fhir:value "Encounter/f203" ]; fhir:Reference.display [ fhir:value "Roel's encounter on March eleventh 2013" ] ]; fhir:MedicationOrder.dateWritten [ fhir:value "2013-03-11"^^xs:date]; fhir:MedicationOrder.prescriber [ fhir:reference <http://hl7.org/fhir/Practitioner/f201>; fhir:Reference.reference [ fhir:value "Practitioner/f201" ] ]; fhir:MedicationOrder.reasonReference [ fhir:index 0; fhir:reference <http://hl7.org/fhir/Condition/f203>; fhir:Reference.reference [ fhir:value "Condition/f203" ]; fhir:Reference.display [ fhir:value "sepsis" ] ]; fhir:MedicationOrder.dosageInstruction [ fhir:index 0; fhir:MedicationOrder.dosageInstruction.text [ fhir:value "Flucloxacilline 12g/24h" ]; fhir:MedicationOrder.dosageInstruction.timing [ fhir:Timing.repeat [ fhir:Timing.repeat.boundsPeriod [ fhir:Period.start [ fhir:value "2013-03-11"^^xs:date ]; fhir:Period.end [ fhir:value "2013-03-21"^^xs:date ] ] ] ]; fhir:MedicationOrder.dosageInstruction.route [ a sct:47625008; fhir:CodeableConcept.coding [ fhir:index 0; a sct:47625008; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "47625008" ]; fhir:Coding.display [ fhir:value "Intravenous route" ] ] ]; fhir:MedicationOrder.dosageInstruction.method [ a sct:323493005; fhir:CodeableConcept.coding [ fhir:index 0; a sct:323493005; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "323493005" ]; fhir:Coding.display [ fhir:value "Injected floxacillin" ] ] ]; fhir:MedicationOrder.dosageInstruction.maxDosePerPeriod [ fhir:Ratio.numerator [ fhir:Quantity.value [ fhir:value "12"^^xs:decimal ]; fhir:Quantity.unit [ fhir:value "gram" ]; fhir:Quantity.system [ fhir:value "http://snomed.info/sct" ]; fhir:Quantity.code [ fhir:value "258682000" ] ]; fhir:Ratio.denominator [ fhir:Quantity.value [ fhir:value "24"^^xs:decimal ]; fhir:Quantity.unit [ fhir:value "hours" ]; fhir:Quantity.system [ fhir:value "http://snomed.info/sct" ]; fhir:Quantity.code [ fhir:value "258702006" ] ] ] ]. # -------------------------------------------------------------------------------------
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.