Release 4B Snapshot #1

This page is part of the FHIR Specification (v4.3.0-snapshot1: Release 4B Snapshot #1). 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

Pharmacy Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

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</b></p><div><p>Resource &quot;example001&quot; </p></div><p><b>identifier</b>: id: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>category</b>: Inpatient <span> (<a>MedicationStatement Category Codes</a>#inpatient)</span></p><p><b>medication</b>: <a> </a></p><blockquote><div><p>Resource &quot;med0309&quot; </p></div><p><b>code</b>: Tylenol PM <span> (<a>National drug codes</a>#50580-506-02)</span></p><p><b>form</b>: Film-coated tablet (qualifier value) <span> (<a>SNOMED CT</a>#385057009)</span></p><blockquote><p><b>ingredient</b></p><p><b>item</b>: Acetaminophen 500 MG <span> (<a>RxNorm</a>#315266)</span></p><p><b>strength</b>: 500 mg<span> (Details: UCUM code mg = 'mg')</span>/1 Tab<span> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code Tab = 'Tab')</span></p></blockquote><blockquote><p><b>ingredient</b></p><p><b>item</b>: Diphenhydramine Hydrochloride 25 mg <span> (<a>RxNorm</a>#901813)</span></p><p><b>strength</b>: 25 mg<span> (Details: UCUM code mg = 'mg')</span>/1 Tab<span> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code Tab = 'Tab')</span></p></blockquote><h3>Batches</h3><table><tr><td>-</td><td><b>LotNumber</b></td><td><b>ExpirationDate</b></td></tr><tr><td>*</td><td>9494788</td><td>2017-05-22</td></tr></table></blockquote><p><b>subject</b>: <a>Patient/pat1: Donald Duck</a> &quot;Duck DONALD&quot;</p><p><b>effective</b>: 2015-01-23</p><p><b>dateAsserted</b>: 2015-02-22</p><p><b>informationSource</b>: <a>Patient/pat1: Donald Duck</a> &quot;Duck DONALD&quot;</p><p><b>derivedFrom</b>: <a>MedicationRequest/medrx002</a></p><p><b>reasonCode</b>: Restless Legs <span> (<a>SNOMED CT</a>#32914008)</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</p></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.form [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a 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.ingredient [
       fhir:index 0;
       fhir:Medication.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.ingredient.strength [
         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://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "Tab" ]
         ]
       ]
     ], [
       fhir:index 1;
       fhir:Medication.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.ingredient.strength [
         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://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "Tab" ]
         ]
       ]
     ];
     fhir:Medication.batch [
       fhir:Medication.batch.lotNumber [ fhir:value "9494788" ];
       fhir:Medication.batch.expirationDate [ fhir:value "2017-05-22"^^xsd:date ]
     ]
  ];
  fhir:MedicationStatement.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://www.bmc.nl/portal/medstatements" ];
     fhir:Identifier.value [ fhir:value "12345689" ]
  ];
  fhir:MedicationStatement.status [ fhir:value "active"];
  fhir:MedicationStatement.category [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/medication-statement-category" ];
       fhir:Coding.code [ fhir:value "inpatient" ];
       fhir:Coding.display [ fhir:value "Inpatient" ]
     ]
  ];
  fhir:MedicationStatement.medicationReference [
     fhir:Reference.reference [ fhir:value "#med0309" ]
  ];
  fhir:MedicationStatement.subject [
     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.dateAsserted [ fhir:value "2015-02-22"^^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.derivedFrom [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/MedicationRequest/medrx002>;
     fhir:Reference.reference [ fhir:value "MedicationRequest/medrx002" ]
  ];
  fhir:MedicationStatement.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a 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:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "1-2 tablets once daily at bedtime as needed for restless legs" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.text [ fhir:value "Taking at bedtime" ]
     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
       ]
     ];
     fhir:Dosage.asNeededCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a 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:Dosage.route [
       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:Dosage.doseAndRate [
       fhir:index 0;
       fhir:Dosage.doseAndRate.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/dose-rate-type" ];
           fhir:Coding.code [ fhir:value "ordered" ];
           fhir:Coding.display [ fhir:value "Ordered" ]
         ]
       ];
       fhir:Dosage.doseAndRate.doseRange [
         fhir:Range.low [
           fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
           fhir:Quantity.unit [ fhir:value "TAB" ];
           fhir:Quantity.system [ fhir:value "http://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" ];
           fhir:Quantity.code [ fhir:value "TAB" ]
         ]
       ]
     ]
  ] .

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

<http://hl7.org/fhir/MedicationRequest/medrx002> a fhir:MedicationRequest .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/MedicationStatement/example001.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/MedicationStatement/example001.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.