FHIR Release 3 (STU) CI-Build

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0 . For a full list Continuous Integration Build of available versions, see FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Medicationrequest0301.ttl

Example MedicationRequest/medrx0301 (Turtle)

Maturity Level : N/A
Responsible Owner: Pharmacy Work Group Ballot Standards Status : Informative Compartments : Encounter , Group , Patient , Practitioner

Raw Turtle , JSON-LD (+ also see Turtle/RDF Format Specification )

Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@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/medrx0301> a fhir:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medrx0301"];
  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>: medrx0301</p><p><b>contained</b>: , </p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>category</b>: Inpatient <span>(Details : {http://hl7.org/fhir/medication-request-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})</span></p><p><b>medication</b>: id: med0310; Oral Form Oxycodone (product) <span>(Details : {SNOMED CT code '430127000' = 'Oral form oxycodone', given as 'Oral Form Oxycodone (product)'})</span></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>context</b>: <a>encounter who leads to this prescription</a></p><p><b>supportingInformation</b>: <a>Procedure/biopsy</a></p><p><b>authoredOn</b>: 15/01/2015</p><h3>Requesters</h3><table><tr><td>-</td><td><b>Agent</b></td><td><b>OnBehalfOf</b></td></tr><tr><td>*</td><td><a>Patrick Pump</a></td><td><a>Organization/f002</a></td></tr></table><p><b>reasonCode</b>: Rib Pain (finding) <span>(Details : {SNOMED CT code '297217002' = 'Rib pain', given as 'Rib Pain (finding)'})</span></p><p><b>note</b>: Patient told to take with food</p><p><b>dosageInstruction</b>: </p><h3>DispenseRequests</h3><table><tr><td>-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td><td><b>ExpectedSupplyDuration</b></td></tr><tr><td>*</td><td>15/01/2015 --&gt; 15/01/2016</td><td>1</td><td>30 TAB<span> (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')</span></td><td>10 days<span> (Details: UCUM code d = 'd')</span></td></tr></table><h3>Substitutions</h3><table><tr><td>-</td><td><b>Allowed</b></td><td><b>Reason</b></td></tr><tr><td>*</td><td>true</td><td>formulary policy <span>(Details : {http://hl7.org/fhir/v3/ActReason code 'FP' = 'formulary policy', given as 'formulary policy'})</span></td></tr></table><p><b>detectedIssue</b>: <a>DetectedIssue/allergy</a></p><p><b>eventHistory</b>: Author's Signature. Generated Summary: id: signature; recorded: 01/02/2017 5:23:07 PM; </p></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "med0310" ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:430127000;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "430127000" ];
         fhir:Coding.display [ fhir:value "Oral Form Oxycodone (product)" ]
       ]

<http://hl7.org/fhir/MedicationRequest/medrx0301> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medrx0301"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0310" ] ;
     fhir:code [
       fhir:coding ( [
         a sct:430127000 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "430127000" ] ;
         fhir:display [ fhir:v "Oxycodone-containing product in oral dose form" ]
       ] )

     ]
  ], [
     a fhir:Provenance;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "signature" ];
     fhir:Provenance.target [
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/ProcedureRequest/physiotherapy>;
       fhir:Reference.reference [ fhir:value "ProcedureRequest/physiotherapy" ]
     ];
     fhir:Provenance.recorded [ fhir:value "2017-02-01T17:23:07Z"^^xsd:dateTime ];
     fhir:Provenance.agent [
       fhir:index 0;
       fhir:Provenance.agent.role [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ParticipationType" ];
           fhir:Coding.code [ fhir:value "AUT" ]
         ]
       ];
       fhir:Provenance.agent.whoReference [
         fhir:link <http://hl7.org/fhir/Practitioner/example>;
         fhir:Reference.reference [ fhir:value "Practitioner/example" ];
         fhir:Reference.display [ fhir:value "Dr Adam Careful" ]

  ] [
     a fhir:Provenance ;
     fhir:id [ fhir:v "signature" ] ;
     fhir:target ( [
       fhir:l <http://hl7.org/fhir/ServiceRequest/physiotherapy> ;
       fhir:reference [ fhir:v "ServiceRequest/physiotherapy" ]
     ] ) ;
     fhir:recorded [ fhir:v "2017-02-01T17:23:07Z"^^xsd:dateTime ] ;
     fhir:agent ( [
       fhir:role ( [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
             fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
           ] ;
           fhir:code [ fhir:v "AUT" ]
         ] )
       ] ) ;
       fhir:who [
         fhir:l <http://hl7.org/fhir/Practitioner/example> ;
         fhir:reference [ fhir:v "Practitioner/example" ] ;
         fhir:display [ fhir:v "Dr Adam Careful" ]

       ]
     ];
     fhir:Provenance.signature [
       fhir:index 0;
       fhir:Signature.type [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ];
         fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.1" ];
         fhir:Coding.display [ fhir:value "Author's Signature" ]
       ];
       fhir:Signature.when [ fhir:value "2017-02-01T17:23:07Z"^^xsd:dateTime ];
       fhir:Signature.whoReference [
         fhir:link <http://hl7.org/fhir/Practitioner/example>;
         fhir:Reference.reference [ fhir:value "Practitioner/example" ];
         fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
       ];
       fhir:Signature.contentType [ fhir:value "application/signature+xml" ];
       fhir:Signature.blob [ fhir:value "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary ]
     ]
  ];
  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 "12345689" ]
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.category [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/medication-request-category" ];
       fhir:Coding.code [ fhir:value "inpatient" ];
       fhir:Coding.display [ fhir:value "Inpatient" ]
     ]
  ];
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "#med0310" ]
  ];
  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.context [
     fhir:link <http://hl7.org/fhir/Encounter/f001>;
     fhir:Reference.reference [ fhir:value "Encounter/f001" ];
     fhir:Reference.display [ fhir:value "encounter who leads to this prescription" ]
  ];
  fhir:MedicationRequest.supportingInformation [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Procedure/biopsy>;
     fhir:Reference.reference [ fhir:value "Procedure/biopsy" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2015-01-15"^^xsd:date];
  fhir:MedicationRequest.requester [
     fhir:MedicationRequest.requester.agent [
       fhir:link <http://hl7.org/fhir/Practitioner/f007>;
       fhir:Reference.reference [ fhir:value "Practitioner/f007" ];
       fhir:Reference.display [ fhir:value "Patrick Pump" ]
     ];
     fhir:MedicationRequest.requester.onBehalfOf [
       fhir:link <http://hl7.org/fhir/Organization/f002>;
       fhir:Reference.reference [ fhir:value "Organization/f002" ]
     ]
  ];
  fhir:MedicationRequest.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:297217002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "297217002" ];
       fhir:Coding.display [ fhir:value "Rib Pain (finding)" ]

     ] ) ;
     fhir:signature ( [
       fhir:type ( [
         fhir:system [
           fhir:v "urn:iso-astm:E1762-95:2013"^^xsd:anyURI ;
           fhir:l <urn:iso-astm:E1762-95:2013>
         ] ;
         fhir:code [ fhir:v "1.2.840.10065.1.12.1.1" ] ;
         fhir:display [ fhir:v "Author's Signature" ]
       ] ) ;
       fhir:when [ fhir:v "2017-02-01T17:23:07Z"^^xsd:dateTime ] ;
       fhir:who [
         fhir:l <http://hl7.org/fhir/Practitioner/example> ;
         fhir:reference [ fhir:v "Practitioner/example" ] ;
         fhir:display [ fhir:v "Dr Adam Careful" ]
       ] ;
       fhir:targetFormat [ fhir:v "application/fhir+xml" ] ;
       fhir:sigFormat [ fhir:v "application/signature+xml" ] ;
       fhir:data [ fhir:v "dGhpcyBibG9iIGlzIHNuaXBwZWQ="^^xsd:base64Binary ]
     ] )
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [
       fhir:v "http://www.bmc.nl/portal/prescriptions"^^xsd:anyURI ;
       fhir:l <http://www.bmc.nl/portal/prescriptions>
     ] ;
     fhir:value [ fhir:v "12345689" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:statusReason [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason>
       ] ;
       fhir:code [ fhir:v "altchoice" ] ;
       fhir:display [ fhir:v "Try another treatment first" ]
     ] )
  ] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-admin-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/medicationrequest-admin-category>
       ] ;
       fhir:code [ fhir:v "inpatient" ] ;
       fhir:display [ fhir:v "Inpatient" ]
     ] )
  ] ) ; # 
  fhir:medication [
     fhir:reference [
       fhir:l <#med0310> ;
       fhir:reference [ fhir:v "#med0310" ]
     ] #   Linked to a RESOURCE Medication  
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ] ; #   Linked to the resource patient who needs the medication  
     fhir:display [ fhir:v "Donald Duck" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/Encounter/f201> ;
     fhir:reference [ fhir:v "Encounter/f201" ] ; #   Linked to a resource Encounter between patient and practitioner 
     fhir:display [ fhir:v "encounter who leads to this prescription" ]
  ] ; # 
  fhir:supportingInformation ( [
     fhir:l <http://hl7.org/fhir/Procedure/biopsy> ;
     fhir:reference [ fhir:v "Procedure/biopsy" ]
  ] ) ; # 
  fhir:authoredOn [ fhir:v "2015-01-15"^^xsd:date] ; # 
  fhir:requester [
     fhir:l <http://hl7.org/fhir/Practitioner/f007> ;
     fhir:reference [ fhir:v "Practitioner/f007" ] ;
     fhir:display [ fhir:v "Patrick Pump" ]
  ] ; # 
  fhir:performerType [
     fhir:coding ( [
       a sct:26369006 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "26369006" ] ;
       fhir:display [ fhir:v "Public Health Nurse" ]
     ] )
  ] ; # 
  fhir:performer ( [
     fhir:l <http://hl7.org/fhir/Practitioner/f204> ;
     fhir:reference [ fhir:v "Practitioner/f204" ] ;
     fhir:display [ fhir:v "Carla Espinosa" ]
  ] ) ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:coding ( [
         a sct:297217002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "297217002" ] ;
         fhir:display [ fhir:v "Rib Pain (finding)" ]
       ] )

     ]
  ];
  fhir:MedicationRequest.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "Patient told to take with food" ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "one to two tablets every 4-6 hours as needed for rib pain" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:418914006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "418914006" ];
         fhir:Coding.display [ fhir:value "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)" ]
       ]
     ];
     fhir:Dosage.patientInstruction [ fhir:value "Take one to two tablets every four to six hours as needed for rib pain" ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:integer ];
         fhir:Timing.repeat.period [ fhir:value "4"^^xsd:decimal ];
         fhir:Timing.repeat.periodMax [ fhir:value "6"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "h" ]
       ]
     ];
     fhir:Dosage.asNeededCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:297217002;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "297217002" ];
         fhir:Coding.display [ fhir:value "Rib Pain (finding)" ]
       ]
     ];
     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.method [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:421521009;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "421521009" ];
         fhir:Coding.display [ fhir:value "Swallow - dosing instruction imperative (qualifier value)" ]
       ]
     ];
     fhir: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/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/v3/orderableDrugForm" ];
         fhir:Quantity.code [ fhir:value "TAB" ]
       ]

  ] ) ; # 
  fhir:insurance ( [
     fhir:l <http://hl7.org/fhir/Coverage/9876B1> ;
     fhir:reference [ fhir:v "Coverage/9876B1" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Patient told to take with food" ]
  ] ) ; # 
  fhir:dosageInstruction [
     fhir:simple [
       fhir:text [ fhir:v "one to two tablets every 4-6 hours as needed for rib pain" ] ;
       fhir:additionalInstruction ( [
         fhir:coding ( [
           a sct:418914006 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "418914006" ] ;
           fhir:display [ fhir:v "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)" ]
         ] )
       ] ) ;
       fhir:patientInstruction [ fhir:v "Take one to two tablets every four to six hours as needed for rib pain" ] ;
       fhir:timing [
         fhir:repeat [
           fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
           fhir:period [ fhir:v "4"^^xsd:decimal ] ;
           fhir:periodMax [ fhir:v "6"^^xsd:decimal ] ;
           fhir:periodUnit [ fhir:v "h" ]
         ]
       ] ;
       fhir:asNeededFor ( [
         fhir:coding ( [
           a sct:297217002 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "297217002" ] ;
           fhir:display [ fhir:v "Rib Pain (finding)" ]
         ] )
       ] ) ;
       fhir:route [
         fhir:coding ( [
           a sct:26643006 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "26643006" ] ;
           fhir:display [ fhir:v "Oral Route" ]
         ] )
       ] ;
       fhir:method [
         fhir:coding ( [
           a sct:421521009 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "421521009" ] ;
           fhir:display [ fhir:v "Swallow - dosing instruction imperative (qualifier value)" ]
         ] )
       ] ;
       fhir:doseAndRate ( [
         fhir:type [
           fhir:coding ( [
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/dose-rate-type>
             ] ;
             fhir:code [ fhir:v "ordered" ] ;
             fhir:display [ fhir:v "Ordered" ]
           ] )
         ] ;
         fhir:dose [
           a fhir:Range ;
           fhir:low [
             fhir:value [ fhir:v "1"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "TAB" ] ;
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
             ] ;
             fhir:code [ fhir:v "TAB" ]
           ] ;
           fhir:high [
             fhir:value [ fhir:v "2"^^xsd:decimal ] ;
             fhir:unit [ fhir:v "TAB" ] ;
             fhir:system [
               fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
               fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
             ] ;
             fhir:code [ fhir:v "TAB" ]
           ]
         ]
       ] )

     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.validityPeriod [
       fhir:Period.start [ fhir:value "2015-01-15"^^xsd:date ];
       fhir:Period.end [ fhir:value "2016-01-15"^^xsd:date ]
     ];
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "1"^^xsd:positiveInteger ];
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "30"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "TAB" ];
       fhir:Quantity.system [ fhir:value "http://hl7.org/fhir/v3/orderableDrugForm" ];
       fhir:Quantity.code [ fhir:value "TAB" ]
     ];
     fhir:MedicationRequest.dispenseRequest.expectedSupplyDuration [
       fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "days" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "d" ]

  ] ; # 
  fhir:dispenseRequest [
     fhir:validityPeriod [
       fhir:start [ fhir:v "2015-01-15"^^xsd:date ] ;
       fhir:end [ fhir:v "2016-01-15"^^xsd:date ]
     ] ;
     fhir:numberOfRepeatsAllowed [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
     fhir:quantity [
       fhir:value [ fhir:v "30"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "TAB" ] ;
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm>
       ] ;
       fhir:code [ fhir:v "TAB" ]
     ] ;
     fhir:expectedSupplyDuration [
       fhir:value [ fhir:v "10"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "days" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "d" ]
     ] ;
     fhir:dispenser [
       fhir:l <http://hl7.org/fhir/Organization/2.16.840.1.113883.19.5> ;
       fhir:reference [ fhir:v "Organization/2.16.840.1.113883.19.5" ]

     ]
  ];
  fhir:MedicationRequest.substitution [
     fhir:MedicationRequest.substitution.allowed [ fhir:value "true"^^xsd:boolean ];
     fhir:MedicationRequest.substitution.reason [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActReason" ];
         fhir:Coding.code [ fhir:value "FP" ];
         fhir:Coding.display [ fhir:value "formulary policy" ]
       ]

  ] ; # 
  fhir:substitution [
     fhir:allowed [
       a fhir:Boolean ;
       fhir:v true
     ] ;
     fhir:reason [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason>
         ] ;
         fhir:code [ fhir:v "FP" ] ;
         fhir:display [ fhir:v "formulary policy" ]
       ] )

     ]
  ];
  fhir:MedicationRequest.detectedIssue [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/DetectedIssue/allergy>;
     fhir:Reference.reference [ fhir:value "DetectedIssue/allergy" ]
  ];
  fhir:MedicationRequest.eventHistory [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#signature" ];
     fhir:Reference.display [ fhir:value "Author's Signature" ]
  ] .

  ] ; # 
  fhir:eventHistory ( [
     fhir:l <#signature> ;
     fhir:reference [ fhir:v "#signature" ] ;
     fhir:display [ fhir:v "Author's Signature" ]
  ] ) . # 


<http://hl7.org/fhir/ProcedureRequest/physiotherapy> a fhir:ProcedureRequest .

<http://hl7.org/fhir/ServiceRequest/physiotherapy> a fhir:ServiceRequest .


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

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

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

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


<http://hl7.org/fhir/Procedure/biopsy> a fhir:Procedure .

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

<http://hl7.org/fhir/Organization/f002> a fhir:Organization .

<http://hl7.org/fhir/DetectedIssue/allergy> a fhir:DetectedIssue .

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


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

<http://hl7.org/fhir/Coverage/9876B1> a fhir:Coverage .


<http://hl7.org/fhir/MedicationRequest/medrx0301.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://hl7.org/fhir/STU3/MedicationRequest/medrx0301.ttl> .

<http://hl7.org/fhir/Organization/2.16.840.1.113883.19.5> a fhir:Organization .


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


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.