@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hapifhir.eswatinihie.com/fhir/MedicationRequest/A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6> a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzMedicationRequest"^^xsd:anyURI ;
       fhir:l <https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzMedicationRequest>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6</b></p><a name=\"A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6\"> </a><a name=\"hcA8D487FD-02D6-4E09-84B8-CD9F18DBEBB6\"> </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-SzMedicationRequest.html\">Eswatini Medication Request Profile</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>medication</b>: <span title=\"Codes:{https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzProductCodeCS 102492}\">Paracetamol Tablets 500g (Coloured Green) 100 TABS</span></p><p><b>subject</b>: <a href=\"Patient-13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB.html\">Celucolo Celani Sacolo  Male, DoB: 2000-01-01 ( Medical Record Number: Client Management Information System#M001010101-1 (use: usual, ))</a></p><p><b>encounter</b>: <a href=\"Encounter-C4ACF791-2B64-4A45-8E6E-87A5B1295032.html\">Encounter: status = finished; class = Out Patient Department (Code System: Encounter Classification#OPD); period = 2023-10-01 10:00:00+0000 --&gt; (ongoing)</a></p><p><b>authoredOn</b>: 2024-09-11 10:00:00+0000</p><p><b>requester</b>: <a href=\"Practitioner-576E19CD-CED4-47A0-8BF7-3B030153E245.html\">Practitioner Thabile Celiwe Dlamini </a></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: Take one tablet by mouth 3 times a day before food</p><p><b>timing</b>: 3 per 1 day</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>1 tablet</td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
     a fhir:CodeableConcept ;
     fhir:coding ( [
       fhir:system [
         fhir:v "https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzProductCodeCS"^^xsd:anyURI ;
         fhir:l <https://hapifhir.eswatinihie.com/fhir/CodeSystem/SzProductCodeCS>
       ] ;
       fhir:code [ fhir:v "102492" ] ;
       fhir:display [ fhir:v "Paracetamol Tablets 500g (Coloured Green) 100 TABS" ]
     ] ) ;
     fhir:text [ fhir:v "Paracetamol Tablets 500g (Coloured Green) 100 TABS" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://hapifhir.eswatinihie.com/fhir/Patient/13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB> ;
     fhir:reference [ fhir:v "Patient/13EA147E-8E3B-498C-8D35-6FCB8BC6DEFB" ]
  ] ; # 
  fhir:encounter [
     fhir:l <https://hapifhir.eswatinihie.com/fhir/Encounter/C4ACF791-2B64-4A45-8E6E-87A5B1295032> ;
     fhir:reference [ fhir:v "Encounter/C4ACF791-2B64-4A45-8E6E-87A5B1295032" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2024-09-11T10:00:00Z"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:l <https://hapifhir.eswatinihie.com/fhir/Practitioner/576E19CD-CED4-47A0-8BF7-3B030153E245> ;
     fhir:reference [ fhir:v "Practitioner/576E19CD-CED4-47A0-8BF7-3B030153E245" ]
  ] ; # 
  fhir:dosageInstruction ( [
     fhir:text [ fhir:v "Take one tablet by mouth 3 times a day before food" ] ;
     fhir:timing [
       fhir:repeat [
         fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
         fhir:period [ fhir:v "1"^^xsd:decimal ] ;
         fhir:periodUnit [ fhir:v "d" ]
       ]
     ] ;
     fhir:doseAndRate ( [
       fhir:dose [
         a fhir:Quantity ;
         fhir:value [ fhir:v "1"^^xsd:decimal ] ;
         fhir:unit [ fhir:v "tablet" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

