Kenya ePrescription FHIR Implementation Guide
0.1.0 - ci-build Kenya flag

Kenya ePrescription FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: MedicationDispense – Extension: Dispense Notification - TTL Representation

Raw ttl | Download


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

 a fhir:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-medicationdispense-with-notification"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-medication-dispense"^^xsd:anyURI ;
fhir:link <https://nshr-uat.sha.go.ke/fhir/StructureDefinition/ke-medication-dispense>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Dispense DISP-2025-EXT-00001 – Notification Extension</b></p><p>60 tablets of Metformin 500 mg dispensed at KNH Pharmacy on 15 June 2025 (30-day supply). SMS notification sent to patient at 10:35 EAT. Authorized by prescription RX-2025-EXT-00001.</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
    ( fhir:extension [
fhir:url [ fhir:v "notificationSent"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
fhir:v true       ]     ] [
fhir:url [ fhir:v "notificationChannel"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "SMS" ]       ]     ] [
fhir:url [ fhir:v "notifiedOn"^^xsd:anyURI ] ;
fhir:value [
a fhir:dateTime ;
fhir:v "2025-06-15T10:35:00+03:00"^^xsd:dateTime       ]     ] ) ;
fhir:url [ fhir:v "https://nshr-uat.sha.go.ke/fhir/StructureDefinition/dispense-notification"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "https://ilm-hie.dha.go.ke/fhir/NamingSystem/dispense-identifier"^^xsd:anyURI ] ;
fhir:value [ fhir:v "DISP-2025-EXT-00001" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
    ( fhir:coding [
fhir:system [ fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/generic-products-cs"^^xsd:anyURI ] ;
fhir:code [ fhir:v "GE10002" ] ;
fhir:display [ fhir:v "Metformin 500 mg Oral Tablet" ]     ] ) ;
fhir:text [ fhir:v "Metformin 500 mg Oral Tablet" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example-patient-otieno" ]
  ] ; # 
  fhir:context [
fhir:reference [ fhir:v "Encounter/example-encounter-otieno-inpatient" ]
  ] ; # 
  fhir:performer ( [
fhir:actor [
fhir:reference [ fhir:v "Organization/example-organization-knh" ]     ]
  ] ) ; # 
  fhir:location [
fhir:reference [ fhir:v "Location/example-location-knh-pharmacy" ]
  ] ; # 
  fhir:authorizingPrescription ( [
fhir:reference [ fhir:v "MedicationRequest/example-medicationrequest-with-extensions" ]
  ] ) ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FF" ] ;
fhir:display [ fhir:v "First Fill" ]     ] )
  ] ; # 
  fhir:quantity [
fhir:value [ fhir:v "60"^^xsd:decimal ] ;
fhir:unit [ fhir:v "tablet" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ]
  ] ; # 
  fhir:daysSupply [
fhir:value [ fhir:v "30"^^xsd:decimal ] ;
fhir:unit [ fhir:v "day" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "d" ]
  ] ; # 
  fhir:whenHandedOver [ fhir:v "2025-06-15T10:35:00+03:00"^^xsd:dateTime] ; # 
  fhir:substitution [
fhir:wasSubstituted [ fhir:v false ]
  ] . #