@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 -------------------------------------------------------------------

<https://fhir.medirecords.com/MedicationRequest/23fb5cbd-37ec-4aa4-953e-7e0ec711be94> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "23fb5cbd-37ec-4aa4-953e-7e0ec711be94"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-09-19T01:43:30Z"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-medication-request-admission"^^xsd:anyURI ;
       fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-medication-request-admission>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest 23fb5cbd-37ec-4aa4-953e-7e0ec711be94</b></p><a name=\"23fb5cbd-37ec-4aa4-953e-7e0ec711be94\"> </a><a name=\"hc23fb5cbd-37ec-4aa4-953e-7e0ec711be94\"> </a><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\">Last updated: 2024-09-19 01:43:30+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-medication-request-admission.html\">MR MedicationRequest Admission</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/medicationrequest-category inpatient}\">PLANNED</span></p><p><b>medication</b>: <a href=\"#hc23fb5cbd-37ec-4aa4-953e-7e0ec711be94/1\">Medication </a></p><p><b>subject</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Mila Female, DoB: 1990-11-29 ( Medicare Number: 32788511952 (, period: (?) --&gt; 2025-02))</a></p><p><b>encounter</b>: <a href=\"Encounter-0291f306-e786-4ac4-be26-44b47714d85f.html\">Encounter: extension = 2023-10-20 01:00:00+0000,2023-12-22,Planned Encounter for a Patient who has been admitted to a Hospital,Public Transport (arrivalMode#P); identifier = Visit number: ADM-27; status = in-progress; class = inpatient encounter (ActCode#IMP); period = 2023-12-20 00:34:00+0000 --&gt; (ongoing); reasonCode = Ischaemic foot</a></p><p><b>authoredOn</b>: 2024-09-19 01:43:30+0000</p><p><b>requester</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner John Smith </a></p><p><b>recorder</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40052.html\">Practitioner Helen Mayo </a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://snomed.info/sct 233604007}\">Pneumonia</span></p><p><b>note</b>: </p><blockquote><div><p>Once only with food</p>\n</div></blockquote><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Tablet, 100mg  \nOral \n Dose 200 mg, Once Only</p><p><b>timing</b>: Code , Count 1  times, Once</p><p><b>route</b>: <span title=\"Codes:{http://snomed.info/sct 26643006}\">Oral</span></p><h3>DoseAndRates</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Dose[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>200 mg</td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Medication #1</b></p><a name=\"23fb5cbd-37ec-4aa4-953e-7e0ec711be94/1\"> </a><a name=\"hc23fb5cbd-37ec-4aa4-953e-7e0ec711be94/1\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-medication-admission.html\">MR Medication Admission</a></p></div><p><b>Medication Strength</b>: 100mg</p><p><b>Medication Brand Name</b>: Herron</p><p><b>code</b>: <span title=\"Codes:\">Ibuprofen-Paracetamol</span></p><p><b>form</b>: <span title=\"Codes:{http://snomed.info/sct 1230388007}\">Tablet</span></p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:contained ( [
     a fhir:Medication ;
     fhir:id [ fhir:v "1" ] ;
     fhir:meta [
       fhir:profile ( [
         fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-medication-admission"^^xsd:anyURI ;
         fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-medication-admission>
       ] )
     ] ;
     fhir:extension ( [
       fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-strength"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "100mg"
       ]
     ] [
       fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "Herron"
       ]
     ] ) ;
     fhir:code [
       fhir:text [ fhir:v "Ibuprofen-Paracetamol" ]
     ] ;
     fhir:form [
       fhir:coding ( [
         a sct:1230388007 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1230388007" ] ;
         fhir:display [ fhir:v "Coated tablet" ]
       ] ) ;
       fhir:text [ fhir:v "Tablet" ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/medicationrequest-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "inpatient" ] ;
       fhir:display [ fhir:v "Inpatient" ]
     ] ) ;
     fhir:text [ fhir:v "PLANNED" ]
  ] ) ; # 
  fhir:medication [
     a fhir:Reference ;
     fhir:reference [ fhir:v "#1" ]
  ] ; # 
  fhir:subject [
     fhir:link <https://fhir.medirecords.com/Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c> ;
     fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:encounter [
     fhir:link <https://fhir.medirecords.com/Encounter/0291f306-e786-4ac4-be26-44b47714d85f> ;
     fhir:reference [ fhir:v "Encounter/0291f306-e786-4ac4-be26-44b47714d85f" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2024-09-19T01:43:30Z"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:link <https://fhir.medirecords.com/Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054> ;
     fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ; # 
  fhir:recorder [
     fhir:link <https://fhir.medirecords.com/Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40052> ;
     fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40052" ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       a sct:233604007 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "233604007" ]
     ] ) ;
     fhir:text [ fhir:v "Pneumonia" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Once only with food" ]
  ] ) ; # 
  fhir:dosageInstruction ( [
     fhir:text [ fhir:v "Tablet, 100mg  \nOral \n Dose 200 mg, Once Only" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:bounds [
           a fhir:Period ;
           fhir:start [ fhir:v "2024-09-19"^^xsd:date ]
         ] ;
         fhir:count [ fhir:v "1"^^xsd:positiveInteger ]
       ] ;
       fhir:code [
         fhir:text [ fhir:v "Once Only" ]
       ]
     ] ;
     fhir:route [
       fhir:coding ( [
         a sct:26643006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "26643006" ] ;
         fhir:display [ fhir:v "Oral route" ]
       ] ) ;
       fhir:text [ fhir:v "Oral" ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "200"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "mg" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

