STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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

Medicationstatementexample1.ttl

Raw Turtle, JSON-LD

Patient reports they are taking Tylenol PM and has the bottle

@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 -------------------------------------------------------------------

<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:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example001</p><p><b>contained</b>: </p><p><b>status</b>: active</p><p><b>medication</b>: id: med0309; Tylenol PM <span>(Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '??', given as 'Tylenol PM'})</span>; isBrand</p><p><b>patient</b>: <a>Donald Duck</a></p><p><b>effective</b>: 23/01/2015</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>dateAsserted</b>: 22/02/2015</p><p><b>notTaken</b>: false</p><p><b>reasonForUseCode</b>: Restless Legs <span>(Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</p><h3>Dosages</h3><table><tr><td>-</td><td><b>Text</b></td><td><b>AdditionalInstructions</b></td><td><b>Timing</b></td><td><b>AsNeeded[x]</b></td><td><b>Route</b></td><td><b>Dose[x]</b></td></tr><tr><td>*</td><td>1-2 tablets once daily at bedtime as needed for restless legs</td><td>Taking at bedtime <span>(Details )</span></td><td>Do Once per 1 days</td><td>Restless Legs <span>(Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})</span></td><td>Oral Route <span>(Details : {SNOMED CT code '26643006' = 'Oral route (qualifier value)', given as 'Oral Route'})</span></td><td>1-2 TAB</td></tr></table></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "med0309" ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/sid/ndc" ];
         fhir:Coding.code [ fhir:value "50580-506-02" ];
         fhir:Coding.display [ fhir:value "Tylenol PM" ]
       ]
     ];
     fhir:Medication.isBrand [ fhir:value "true"^^xsd:boolean ];
     fhir:Medication.product [
       fhir:Medication.product.form [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:concept sct:385057009;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "385057009" ];
           fhir:Coding.display [ fhir:value "Film-coated tablet (qualifier value)" ]
         ]
       ];
       fhir:Medication.product.ingredient [
         fhir:index 0;
         fhir:Medication.product.ingredient.itemCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
             fhir:Coding.code [ fhir:value "315266" ];
             fhir:Coding.display [ fhir:value "Acetaminophen 500 MG" ]
           ]
         ];
         fhir:Medication.product.ingredient.amount [
           fhir:Ratio.numerator [
             fhir:Quantity.value [ fhir:value "500"^^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://hl7.org/fhir/v3/orderableDrugForm" ];
             fhir:Quantity.code [ fhir:value "Tab" ]
           ]
         ]
       ], [
         fhir:index 1;
         fhir:Medication.product.ingredient.itemCodeableConcept [
           fhir:CodeableConcept.coding [
             fhir:index 0;
             fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
             fhir:Coding.code [ fhir:value "901813" ];
             fhir:Coding.display [ fhir:value "Diphenhydramine Hydrochloride 25 mg" ]
           ]
         ];
         fhir:Medication.product.ingredient.amount [
           fhir:Ratio.numerator [
             fhir:Quantity.value [ fhir:value "25"^^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://hl7.org/fhir/v3/orderableDrugForm" ];
             fhir:Quantity.code [ fhir:value "Tab" ]
           ]
         ]
       ];
       fhir:Medication.product.batch [
         fhir:index 0;
         fhir:Medication.product.batch.lotNumber [ fhir:value "9494788" ];
         fhir:Medication.product.batch.expirationDate [ fhir:value "2017-05-22"^^xsd:date ]
       ]
     ]
  ];
  fhir:MedicationStatement.status [ fhir:value "active"];
  fhir:MedicationStatement.medicationReference [
     fhir:Reference.reference [ fhir:value "#med0309" ]
  ];
  fhir:MedicationStatement.patient [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationStatement.effectiveDateTime [ fhir:value "2015-01-23"^^xsd:date];
  fhir:MedicationStatement.informationSource [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationStatement.dateAsserted [ fhir:value "2015-02-22"^^xsd:date];
  fhir:MedicationStatement.notTaken [ fhir:value "false"^^xsd:boolean];
  fhir:MedicationStatement.reasonForUseCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:concept sct:32914008;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "32914008" ];
       fhir:Coding.display [ fhir:value "Restless Legs" ]
     ]
  ];
  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 "1-2 tablets once daily at bedtime as needed for restless legs" ];
     fhir:MedicationStatement.dosage.additionalInstructions [
       fhir:index 0;
       fhir:CodeableConcept.text [ fhir:value "Taking at bedtime" ]
     ];
     fhir:MedicationStatement.dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:int ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ];
     fhir:MedicationStatement.dosage.asNeededCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept sct:32914008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "32914008" ];
         fhir:Coding.display [ fhir:value "Restless Legs" ]
       ]
     ];
     fhir:MedicationStatement.dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept 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:MedicationStatement.dosage.doseRange [
       fhir:Range.low [
         fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "TAB" ];
         fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/ValueSet/v3-orderableDrugForm" ];
         fhir:Quantity.code [ fhir:value "TAB" ]
       ];
       fhir:Range.high [
         fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
         fhir:Quantity.unit [ fhir:value "TAB" ];
         fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/ValueSet/v3-orderableDrugForm" ];
         fhir:Quantity.code [ fhir:value "TAB" ]
       ]
     ]
  ] .

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient, fhir:Patient .

# -------------------------------------------------------------------------------------


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.