Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Medicationrequestexample2.ttl

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

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

Order for a medication that includes the dosage of a prescription in text

@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/MedicationRequest/medrx002> a fhir:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medrx002"];
  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><p><b>identifier</b>: id: 12345 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><h3>Medications</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><p><b>subject</b>: <a>Donald Duck. Generated Summary: Medical record number: 654321 (USUAL); active; Duck Donald (OFFICIAL); gender: male</a></p><p><b>encounter</b>: <a>encounter that leads to this prescription. Generated Summary: id: v1451 (OFFICIAL); status: completed; <span>ambulatory</span>; <span>Patient-initiated encounter</span>; <span>Non-urgent cardiological admission</span></a></p><p><b>authoredOn</b>: 2015-03-01</p><p><b>requester</b>: <a>Patrick Pump. Generated Summary: id: 874635264 (OFFICIAL), id: 567IUI51C154 (USUAL); Simone Heps (OFFICIAL); Phone: 020556936, S.M.Heps@bmc.nl, Fax: 0205669283; gender: female; birthDate: 1971-11-07</a></p><h3>Reasons</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table><h3>DosageInstructions</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></div>"
  ];
  fhir:MedicationRequest.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:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.medication [
     fhir:CodeableReference.reference [
       fhir:link <http://hl7.org/fhir/Medication/med0316>;
       fhir:Reference.reference [ fhir:value "Medication/med0316" ];
       fhir:Reference.display [ fhir:value "prescribed medication" ]
     ]
  ];
  fhir:MedicationRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1>;
     fhir:Reference.reference [ fhir:value "Patient/pat1" ];
     fhir:Reference.display [ fhir:value "Donald Duck" ]
  ];
  fhir:MedicationRequest.encounter [
     fhir:link <http://hl7.org/fhir/Encounter/f001>;
     fhir:Reference.reference [ fhir:value "Encounter/f001" ];
     fhir:Reference.display [ fhir:value "encounter that leads to this prescription" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2015-03-01"^^xsd:date];
  fhir:MedicationRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/f007>;
     fhir:Reference.reference [ fhir:value "Practitioner/f007" ];
     fhir:Reference.display [ fhir:value "Patrick Pump" ]
  ];
  fhir:MedicationRequest.reason [
     fhir:index 0;
     fhir:CodeableReference.concept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:59621000;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "59621000" ];
         fhir:Coding.display [ fhir:value "Essential hypertension (disorder)" ]
       ]
     ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Take one tablet daily as directed" ]
  ] .

<http://hl7.org/fhir/Medication/med0316> a fhir:Medication .

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

<http://hl7.org/fhir/Encounter/f001> a fhir:Encounter .

<http://hl7.org/fhir/Practitioner/f007> a fhir:Practitioner .

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

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