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
. Page versions: R5 R4B R4 R3
Example of a medication statement where the Patient reported - I'm taking med x at this dose (from bottle) - most complete 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//MedicationStatement/example001> a fhir:MedicationStatement;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example001"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ]
];
fhir:MedicationStatement.status [ fhir:value "completed"];
fhir:MedicationStatement.medicationReference [
fhir:reference <http://hl7.org/fhir/Medication/MedicationExample7>;
fhir:Reference.reference [ fhir:value "Medication/MedicationExample7" ]
];
fhir:MedicationStatement.patient [
fhir:reference <http://hl7.org/fhir/Patient/pat1>;
fhir:Reference.reference [ fhir:value "Patient/pat1" ]
];
fhir:MedicationStatement.effectiveDateTime [ fhir:value "2015-01-23"^^xs:date];
fhir:MedicationStatement.informationSourceReference [
fhir:reference <http://hl7.org/fhir/Patient/pat2>;
fhir:Reference.reference [ fhir:value "Patient/pat2" ]
];
fhir:MedicationStatement.dateAsserted [ fhir:value "2015-02-22"^^xs:date];
fhir:MedicationStatement.wasNotTaken [ fhir:value "false"^^xs:boolean];
fhir:MedicationStatement.reasonForUseCodeableConcept [
a sct:22253000;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:22253000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "22253000" ];
fhir:Coding.display [ fhir:value "Pain" ] ]
];
fhir:MedicationStatement.note [
fhir:index 0;
fhir:Annotation.text [ fhir:value "Patient indicates they miss the occasional dose" ]
];
fhir:MedicationStatement.dosage [
fhir:index 0;
fhir:MedicationStatement.dosage.text [ fhir:value "one tablet four times daily as needed for pain" ];
fhir:MedicationStatement.dosage.timing [
fhir:Timing.repeat [
fhir:Timing.repeat.frequency [ fhir:value "4"^^xs:int ];
fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
fhir:Timing.repeat.periodUnit [ fhir:value "d" ] ] ];
fhir:MedicationStatement.dosage.asNeededBoolean [ fhir:value "true"^^xs:boolean ];
fhir:MedicationStatement.dosage.route [
a sct:260548002;
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:260548002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "260548002" ];
fhir:Coding.display [ fhir:value "Oral" ] ] ];
fhir:MedicationStatement.dosage.quantityQuantity [
fhir:Quantity.value [ fhir:value "1"^^xs:decimal ] ];
fhir:MedicationStatement.dosage.maxDosePerPeriod [
fhir:Ratio.numerator [
fhir:Quantity.value [ fhir:value "4"^^xs:decimal ];
fhir:Quantity.unit [ fhir:value "tablets" ];
fhir:Quantity.system [ fhir:value "http://snomed.info/sct" ];
fhir:Quantity.code [ fhir:value "385055001" ] ];
fhir:Ratio.denominator [
fhir:Quantity.value [ fhir:value "1"^^xs:decimal ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "d" ] ] ]
].
# -------------------------------------------------------------------------------------
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.