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

Medicationrequest0310.ttl

Example MedicationRequest/medrx0310 (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 Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use

@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/medrx0310> a fhir:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "medrx0310"];
  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>: medrx0310</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>medication</b>: id: med0309; Tylenol PM <span>(Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '50580-506-02', given as 'Tylenol PM'})</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>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>dosageInstruction</b>: </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" ]
       ]

<http://hl7.org/fhir/MedicationRequest/medrx0310> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "medrx0310"] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "med0309" ] ;
     fhir:code [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/sid/ndc"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/sid/ndc>
         ] ;
         fhir:code [ fhir:v "50580-608-02" ] ;
         fhir:display [ fhir:v "Tylenol PM Extra Strength, 1 BOTTLE in 1 CARTON (50580-608-02) > 100 TABLET, FILM COATED in 1 BOTTLE (package)" ]
       ] ) ;
       fhir:text [ fhir:v "Tylenol PM" ]

     ]
  ];
  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.medicationReference [
     fhir:Reference.reference [ fhir:value "#med0309" ]
  ];
  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.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: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 "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     fhir:reference [
       fhir:l <#med0309> ;
       fhir:reference [ fhir:v "#med0309" ]

     ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.sequence [ fhir:value "1"^^xsd:integer ];
     fhir:Dosage.text [ fhir:value "Take 1-2 tablets once daily at bedtime as needed for restless legs" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.text [ fhir:value "Take at bedtime" ]
     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:integer ];
         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.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: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/f001> ;
     fhir:reference [ fhir:v "Encounter/f001" ] ; #   Linked to a resource Encounter between patient and practitioner 
     fhir:display [ fhir:v "encounter who leads to this prescription" ]
  ] ; # 
  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:dosageInstruction [
     fhir:simple [
       fhir:text [ fhir:v "Take 1-2 tablets once daily at bedtime as needed for restless legs" ] ;
       fhir:additionalInstruction ( [
         fhir:text [ fhir:v "Take at bedtime" ]
       ] ) ;
       fhir:timing [
         fhir:repeat [
           fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
           fhir:period [ fhir:v "1"^^xsd:decimal ] ;
           fhir:periodUnit [ fhir:v "d" ]
         ]
       ] ;
       fhir:asNeededFor ( [
         fhir:coding ( [
           a sct:32914008 ;
           fhir:system [
             fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
             fhir:l <http://snomed.info/sct>
           ] ;
           fhir:code [ fhir:v "32914008" ] ;
           fhir:display [ fhir:v "Restless Legs" ]
         ] )
       ] ) ;
       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: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" ]
           ]
         ]
       ] )

     ]
  ] .

  ] . # 


<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 .

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

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

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