Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource &quot;medrx002&quot; </p></div><p><b>identifier</b>: id: 12345 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href=\"medication-med0316.html\">Medication/med0316: prescribed medication</a></p><p><b>subject</b>: <a href=\"patient-pat1.html\">Patient/pat1: Donald Duck</a> &quot;Duck DONALD&quot;</p><p><b>encounter</b>: <a href=\"encounter-f001.html\">Encounter/f001: encounter that leads to this prescription</a></p><p><b>authoredOn</b>: 2015-03-01</p><p><b>requester</b>: <a href=\"practitioner-f007.html\">Practitioner/f007: Patrick Pump</a> &quot;Simone HEPS&quot;</p><p><b>reasonCode</b>: Essential hypertension (disorder) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#59621000)</span></p></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.medicationReference [
     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.reasonCode [
     fhir:index 0;
     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.