STU 3 Candidate

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

Medicationorderexample1.ttl

Raw Turtle, JSON-LD

Fully populated example of a MedicationOrder

@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/medrx001> a fhir:MedicationOrder;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medrx001"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:MedicationOrder.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.system [ fhir:value "http://www.bmc.nl/portal/prescriptions" ];
     fhir:Identifier.value [ fhir:value "12345" ]
  ];
  fhir:MedicationOrder.status [ fhir:value "active"];
  fhir:MedicationOrder.medicationReference [
     fhir:reference <http://hl7.org/fhir/Medication/MedicationExample2>;
     fhir:Reference.reference [ fhir:value "Medication/MedicationExample2" ];
     fhir:Reference.display [ fhir:value "prescribed medication" ]
  ];
  fhir:MedicationOrder.patient [
     fhir:reference <http://hl7.org/fhir/Patient/f001>;
     fhir:Reference.reference [ fhir:value "Patient/f001" ];
     fhir:Reference.display [ fhir:value "Eve Everywoman" ]
  ];
  fhir:MedicationOrder.encounter [
     fhir:reference <http://hl7.org/fhir/Encounter/f002>;
     fhir:Reference.reference [ fhir:value "Encounter/f002" ];
     fhir:Reference.display [ fhir:value "encounter who leads to this priscription" ]
  ];
  fhir:MedicationOrder.dateWritten [ fhir:value "2015-01-15"^^xs:date];
  fhir:MedicationOrder.prescriber [
     fhir:reference <http://hl7.org/fhir/Practitioner/f007>;
     fhir:Reference.reference [ fhir:value "Practitioner/f007" ];
     fhir:Reference.display [ fhir:value "Patrick Pump" ]
  ];
  fhir:MedicationOrder.reasonCode [
     fhir:index 0;
     a sct:65363002;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:65363002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "65363002" ];
       fhir:Coding.display [ fhir:value "Otitis Media" ]     ]
  ];
  fhir:MedicationOrder.dosageInstruction [
     fhir:index 0;
     fhir:MedicationOrder.dosageInstruction.text [ fhir:value "Take 5ml three times daily" ];
     fhir:MedicationOrder.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:MedicationOrder.dosageInstruction.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "3"^^xs:int ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     fhir:MedicationOrder.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:MedicationOrder.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:MedicationOrder.dosageInstruction.doseQuantity [
       fhir:Quantity.value [ fhir:value "5"^^xs:decimal ];
       fhir:Quantity.unit [ fhir:value "mL" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mL" ]     ]
  ];
  fhir:MedicationOrder.dispenseRequest [
     fhir:MedicationOrder.dispenseRequest.medicationReference [
       fhir:reference <http://hl7.org/fhir/Medication/MedicationExample3>;
       fhir:Reference.reference [ fhir:value "Medication/MedicationExample3" ]     ];
     fhir:MedicationOrder.dispenseRequest.validityPeriod [
       fhir:Period.start [ fhir:value "2015-01-15"^^xs:date ];
       fhir:Period.end [ fhir:value "2016-01-15"^^xs:date ]     ];
     fhir:MedicationOrder.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "2"^^xs:int ];
     fhir:MedicationOrder.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "100"^^xs:decimal ];
       fhir:Quantity.unit [ fhir:value "mL" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mL" ]     ];
     fhir:MedicationOrder.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "10"^^xs:decimal ];
       fhir:Quantity.unit [ fhir:value "days" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "d" ]     ]
  ];
  fhir:MedicationOrder.substitution [
     fhir:MedicationOrder.substitution.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir" ];
         fhir:Coding.code [ fhir:value "G" ];
         fhir:Coding.display [ fhir:value "Generic Composition" ]       ]     ];
     fhir:MedicationOrder.substitution.reason [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir" ];
         fhir:Coding.code [ fhir:value "FP" ];
         fhir:Coding.display [ fhir:value "formulary policy" ]       ]     ]
  ].

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


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.