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 
Example of a dispense with a increasing dose
@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//MedicationDispense/meddisp004> a fhir:MedicationDispense;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "meddisp004"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:MedicationDispense.status [ fhir:value "completed"];
fhir:MedicationDispense.medicationReference [
fhir:reference <http://hl7.org/fhir/Medication/medexample011>;
fhir:Reference.reference [ fhir:value "Medication/medexample011" ];
fhir:Reference.display [ fhir:value "prescribed medication" ]
];
fhir:MedicationDispense.patient [
fhir:reference <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:MedicationDispense.dispenser [
fhir:reference <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
];
fhir:MedicationDispense.authorizingPrescription [
fhir:index 0;
fhir:reference <http://hl7.org/fhir/MedicationOrder/medrx003>;
fhir:Reference.reference [ fhir:value "MedicationOrder/medrx003" ]
];
fhir:MedicationDispense.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http:hl7.org/fhir" ];
fhir:Coding.code [ fhir:value "FF" ];
fhir:Coding.display [ fhir:value "First Fill" ] ]
];
fhir:MedicationDispense.quantity [
fhir:Quantity.value [ fhir:value "36"^^xs:decimal ];
fhir:Quantity.unit [ fhir:value "tbl" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "tbl" ]
];
fhir:MedicationDispense.daysSupply [
fhir:Quantity.value [ fhir:value "9"^^xs:decimal ];
fhir:Quantity.unit [ fhir:value "Day" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "D" ]
];
fhir:MedicationDispense.whenPrepared [ fhir:value "2015-03-01T16:20:00Z"^^xs:dateTime];
fhir:MedicationDispense.whenHandedOver [ fhir:value "2015-03-02T17:20:00Z"^^xs:dateTime];
fhir:MedicationDispense.dosageInstruction [
fhir:index 0;
fhir:MedicationDispense.dosageInstruction.additionalInstructions [
a sct:311504000;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:311504000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "311504000" ];
fhir:Coding.display [ fhir:value "With or after food" ] ] ];
fhir:MedicationDispense.dosageInstruction.timing [
fhir:Timing.event [
fhir:value "2015-03-01"^^xs:date;
fhir:index 0 ];
fhir:Timing.repeat [
fhir:Timing.repeat.duration [ fhir:value "3"^^xs:decimal ];
fhir:Timing.repeat.durationUnit [ fhir:value "d" ];
fhir:Timing.repeat.frequency [ fhir:value "2"^^xs:int ];
fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ] ];
fhir:MedicationDispense.dosageInstruction.siteCodeableConcept [
a sct:181220002;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:181220002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "181220002" ];
fhir:Coding.display [ fhir:value "Entire oral cavity" ] ] ];
fhir:MedicationDispense.dosageInstruction.route [
a sct:26643006;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:26643006;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "26643006" ];
fhir:Coding.display [ fhir:value "Oral Route" ] ] ];
fhir:MedicationDispense.dosageInstruction.doseQuantity [
fhir:Quantity.value [ fhir:value "1"^^xs:decimal ];
fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/v3/orderableDrugForm" ];
fhir:Quantity.code [ fhir:value "TAB" ] ]
];
fhir:MedicationDispense.dosageInstruction [
fhir:index 1;
fhir:MedicationDispense.dosageInstruction.additionalInstructions [
a sct:311504000;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:311504000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "311504000" ];
fhir:Coding.display [ fhir:value "With or after food" ] ] ];
fhir:MedicationDispense.dosageInstruction.timing [
fhir:Timing.event [
fhir:value "2015-03-04"^^xs:date;
fhir:index 0 ];
fhir:Timing.repeat [
fhir:Timing.repeat.duration [ fhir:value "3"^^xs:decimal ];
fhir:Timing.repeat.durationUnit [ fhir:value "d" ];
fhir:Timing.repeat.frequency [ fhir:value "2"^^xs:int ];
fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ] ];
fhir:MedicationDispense.dosageInstruction.siteCodeableConcept [
a sct:181220002;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:181220002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "181220002" ];
fhir:Coding.display [ fhir:value "Entire oral cavity" ] ] ];
fhir:MedicationDispense.dosageInstruction.route [
a sct:26643006;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:26643006;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "26643006" ];
fhir:Coding.display [ fhir:value "Oral Route" ] ] ];
fhir:MedicationDispense.dosageInstruction.doseQuantity [
fhir:Quantity.value [ fhir:value "2"^^xs:decimal ];
fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/v3/orderableDrugForm" ];
fhir:Quantity.code [ fhir:value "TAB" ] ]
];
fhir:MedicationDispense.dosageInstruction [
fhir:index 2;
fhir:MedicationDispense.dosageInstruction.additionalInstructions [
a sct:311504000;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:311504000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "311504000" ];
fhir:Coding.display [ fhir:value "With or after food" ] ] ];
fhir:MedicationDispense.dosageInstruction.timing [
fhir:Timing.event [
fhir:value "2015-03-07"^^xs:date;
fhir:index 0 ];
fhir:Timing.repeat [
fhir:Timing.repeat.duration [ fhir:value "3"^^xs:decimal ];
fhir:Timing.repeat.durationUnit [ fhir:value "d" ];
fhir:Timing.repeat.frequency [ fhir:value "2"^^xs:int ];
fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ] ];
fhir:MedicationDispense.dosageInstruction.siteCodeableConcept [
a sct:181220002;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:181220002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "181220002" ];
fhir:Coding.display [ fhir:value "Entire oral cavity" ] ] ];
fhir:MedicationDispense.dosageInstruction.route [
a sct:26643006;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:26643006;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "26643006" ];
fhir:Coding.display [ fhir:value "Oral Route" ] ] ];
fhir:MedicationDispense.dosageInstruction.doseQuantity [
fhir:Quantity.value [ fhir:value "3"^^xs:decimal ];
fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/v3/orderableDrugForm" ];
fhir:Quantity.code [ fhir:value "TAB" ] ]
].
# -------------------------------------------------------------------------------------
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.