@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/MedicationDispense/BBDE520D-9406-43AE-9B12-F7CC50987A7B> a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "BBDE520D-9406-43AE-9B12-F7CC50987A7B"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzMedicationDispense"^^xsd:anyURI ;
       fhir:l <https://hapifhir.eswatinihie.com/fhir/StructureDefinition/SzMedicationDispense>
     ] )
  ] ; # 
  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: MedicationDispense BBDE520D-9406-43AE-9B12-F7CC50987A7B</b></p><a name=\"BBDE520D-9406-43AE-9B12-F7CC50987A7B\"> </a><a name=\"hcBBDE520D-9406-43AE-9B12-F7CC50987A7B\"> </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-SzMedicationDispense.html\">Eswatini Medication Dispense Profile</a></p></div><p><b>status</b>: Completed</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><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-B1BA0AFE-3D96-42F8-9384-800B5CBEED6B.html\">Practitioner Susan Carol Smith </a></td></tr></table><p><b>location</b>: <a href=\"Location-992F1F3C-00CD-4838-94D1-91658DFA99BD.html\">Location Mahwalala Red Cross Clinic</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6.html\">MedicationRequest: status = active; intent = order; medication[x] = Paracetamol Tablets 500g (Coloured Green) 100 TABS; authoredOn = 2024-09-11 10:00:00+0000</a></p><p><b>quantity</b>: 30 tablets</p><p><b>daysSupply</b>: 30 days</p><p><b>whenPrepared</b>: 2024-09-11 10:00:00+0000</p><p><b>whenHandedOver</b>: 2024-09-12 10:00:00+0000</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 "completed"] ; # 
  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:performer ( [
     fhir:actor [
       fhir:l <https://hapifhir.eswatinihie.com/fhir/Practitioner/B1BA0AFE-3D96-42F8-9384-800B5CBEED6B> ;
       fhir:reference [ fhir:v "Practitioner/B1BA0AFE-3D96-42F8-9384-800B5CBEED6B" ]
     ]
  ] ) ; # 
  fhir:location [
     fhir:l <https://hapifhir.eswatinihie.com/fhir/Location/992F1F3C-00CD-4838-94D1-91658DFA99BD> ;
     fhir:reference [ fhir:v "Location/992F1F3C-00CD-4838-94D1-91658DFA99BD" ]
  ] ; # 
  fhir:authorizingPrescription ( [
     fhir:l <https://hapifhir.eswatinihie.com/fhir/MedicationRequest/A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6> ;
     fhir:reference [ fhir:v "MedicationRequest/A8D487FD-02D6-4E09-84B8-CD9F18DBEBB6" ]
  ] ) ; # 
  fhir:quantity [
     fhir:value [ fhir:v "30"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "tablets" ]
  ] ; # 
  fhir:daysSupply [
     fhir:value [ fhir:v "30"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "days" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2024-09-11T10:00:00Z"^^xsd:dateTime] ; # 
  fhir:whenHandedOver [ fhir:v "2024-09-12T10:00:00Z"^^xsd:dateTime] ; # 
  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" ]
       ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

