Kenya ePrescription Implementation Guide, published by Digital Health Agency (DHA), Kenya. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IntelliSOFT-Consulting/Kenya-ePrescription-IG/ and changes regularly. See the Directory of published versions
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/MedicationRequest/example-medicationrequest-with-extensions> a fhir:MedicationRequest ;
fhir:nodeRole fhir:treeRoot ;
fhir:Resource.id [ fhir:value "example-medicationrequest-with-extensions"] ;
fhir:Resource.meta [
fhir:Meta.profile [
fhir:value "https://fhir.dha.go.ke/erx/StructureDefinition/ke-medication-request" ;
fhir:index 0 ;
fhir:link <https://fhir.dha.go.ke/erx/StructureDefinition/ke-medication-request>
], [
fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-request" ;
fhir:index 1 ;
fhir:link <https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-request>
]
] ;
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ] ;
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Prescription RX-2025-EXT-00001 – Extension Demonstration</b></p><p>Metformin 500 mg twice daily for James Otieno, prescribed by Dr. Sarah Njoroge. Demonstrates: digital signature, refill authorization (3 refills), controlled substance schedule (not controlled), and SHA insurance pre-authorization SHA-2025-AUTH-001234 valid 15 Jun–15 Sep 2025.</p></div>"
] ;
fhir:DomainResource.extension [
fhir:index 0 ;
fhir:Element.extension [
fhir:index 0 ;
fhir:Extension.url [ fhir:value "signatureType" ] ;
fhir:Extension.valueCoding [
fhir:Coding.system [ fhir:value "urn:iso-astm:E1762-95:2013" ] ;
fhir:Coding.code [ fhir:value "1.2.840.10065.1.12.1.1" ] ;
fhir:Coding.display [ fhir:value "Author's Signature" ]
]
], [
fhir:index 1 ;
fhir:Extension.url [ fhir:value "signatureValue" ] ;
fhir:Extension.valueBase64Binary [ fhir:value "U0lHTkFUVVJFX1BMQUNFSE9MREVS"^^xsd:base64Binary ]
], [
fhir:index 2 ;
fhir:Extension.url [ fhir:value "signedBy" ] ;
fhir:Extension.valueReference [
fhir:link <http://hl7.org/fhir/Practitioner/example-practitioner-njoroge> ;
fhir:Reference.reference [ fhir:value "Practitioner/example-practitioner-njoroge" ]
]
], [
fhir:index 3 ;
fhir:Extension.url [ fhir:value "signedOn" ] ;
fhir:Extension.valueInstant [ fhir:value "2025-06-15T09:30:00+03:00"^^xsd:dateTime ]
] ;
fhir:Extension.url [ fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/prescription-digital-signature" ]
], [
fhir:index 1 ;
fhir:Element.extension [
fhir:index 0 ;
fhir:Extension.url [ fhir:value "authorizedRefills" ] ;
fhir:Extension.valueUnsignedInt [ fhir:value "3"^^xsd:nonNegativeInteger ]
], [
fhir:index 1 ;
fhir:Extension.url [ fhir:value "remainingRefills" ] ;
fhir:Extension.valueUnsignedInt [ fhir:value "3"^^xsd:nonNegativeInteger ]
], [
fhir:index 2 ;
fhir:Extension.url [ fhir:value "earliestRefillDate" ] ;
fhir:Extension.valueDate [ fhir:value "2025-07-15"^^xsd:date ]
] ;
fhir:Extension.url [ fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/refill-authorization" ]
], [
fhir:index 2 ;
fhir:Element.extension [
fhir:index 0 ;
fhir:Extension.url [ fhir:value "isControlled" ] ;
fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]
] ;
fhir:Extension.url [ fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/controlled-substance-schedule" ]
], [
fhir:index 3 ;
fhir:Element.extension [
fhir:index 0 ;
fhir:Extension.url [ fhir:value "authorizationNumber" ] ;
fhir:Extension.valueString [ fhir:value "SHA-2025-AUTH-001234" ]
], [
fhir:index 1 ;
fhir:Extension.url [ fhir:value "insurerName" ] ;
fhir:Extension.valueString [ fhir:value "Social Health Authority (SHA)" ]
], [
fhir:index 2 ;
fhir:Extension.url [ fhir:value "validFrom" ] ;
fhir:Extension.valueDate [ fhir:value "2025-06-15"^^xsd:date ]
], [
fhir:index 3 ;
fhir:Extension.url [ fhir:value "validTo" ] ;
fhir:Extension.valueDate [ fhir:value "2025-09-15"^^xsd:date ]
] ;
fhir:Extension.url [ fhir:value "https://fhir.dha.go.ke/fhir/StructureDefinition/insurance-pre-authorization" ]
] ;
fhir:MedicationRequest.identifier [
fhir:index 0 ;
fhir:Identifier.system [ fhir:value "https://ilm-hie.dha.go.ke/fhir/NamingSystem/prescription-identifier" ] ;
fhir:Identifier.value [ fhir:value "RX-2025-EXT-00001" ]
] ;
fhir:MedicationRequest.status [ fhir:value "active"] ;
fhir:MedicationRequest.intent [ fhir:value "order"] ;
fhir:MedicationRequest.category [
fhir:index 0 ;
fhir:CodeableConcept.coding [
fhir:index 0 ;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/medicationrequest-category" ] ;
fhir:Coding.code [ fhir:value "outpatient" ] ;
fhir:Coding.display [ fhir:value "Outpatient" ]
]
] ;
fhir:MedicationRequest.medicationCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0 ;
fhir:Coding.system [ fhir:value "https://fhir.dha.go.ke/fhir/CodeSystem/generic-products-cs" ] ;
fhir:Coding.code [ fhir:value "GE10002" ] ;
fhir:Coding.display [ fhir:value "Metformin 500 mg Oral Tablet" ]
]
] ;
fhir:MedicationRequest.subject [
fhir:link <http://hl7.org/fhir/Patient/example-patient-otieno> ;
fhir:Reference.reference [ fhir:value "Patient/example-patient-otieno" ]
] ;
fhir:MedicationRequest.authoredOn [ fhir:value "2025-06-15"^^xsd:date] ;
fhir:MedicationRequest.requester [
fhir:link <http://hl7.org/fhir/Practitioner/example-practitioner-njoroge> ;
fhir:Reference.reference [ fhir:value "Practitioner/example-practitioner-njoroge" ]
] ;
fhir:MedicationRequest.dosageInstruction [
fhir:index 0 ;
fhir:Dosage.text [ fhir:value "Take 1 tablet (500 mg) by mouth twice daily with meals" ] ;
fhir:Dosage.timing [
fhir:Timing.repeat [
fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ] ;
fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ] ;
fhir:Timing.repeat.periodUnit [ fhir:value "d" ]
]
] ;
fhir:Dosage.route [
fhir:CodeableConcept.coding [
fhir:index 0 ;
fhir:Coding.system [ fhir:value "https://fhir.dha.go.ke/fhir/CodeSystem/route-of-administration-cs" ] ;
fhir:Coding.code [ fhir:value "RT10025" ] ;
fhir:Coding.display [ fhir:value "Oral" ]
]
] ;
fhir:Dosage.doseAndRate [
fhir:index 0 ;
fhir:Dosage.doseAndRate.doseQuantity [
fhir:Quantity.value [ fhir:value "500"^^xsd:decimal ] ;
fhir:Quantity.unit [ fhir:value "mg" ] ;
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
fhir:Quantity.code [ fhir:value "mg" ]
]
]
] ;
fhir:MedicationRequest.dispenseRequest [
fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "3"^^xsd:nonNegativeInteger ] ;
fhir:MedicationRequest.dispenseRequest.quantity [
fhir:Quantity.value [ fhir:value "60"^^xsd:decimal ] ;
fhir:Quantity.unit [ fhir:value "tablet" ] ;
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
fhir:Quantity.code [ fhir:value "1" ]
]
] ;
fhir:MedicationRequest.substitution [
fhir:MedicationRequest.substitution.allowedCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0 ;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution" ] ;
fhir:Coding.code [ fhir:value "G" ] ;
fhir:Coding.display [ fhir:value "equivalent generic composition" ]
]
]
] .
<http://hl7.org/fhir/Practitioner/example-practitioner-njoroge> a fhir:Practitioner .
<http://hl7.org/fhir/Patient/example-patient-otieno> a fhir:Patient .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/MedicationRequest/example-medicationrequest-with-extensions.ttl> a owl:Ontology ;
owl:imports fhir:fhir.ttl ;
owl:versionIRI <http://build.fhir.org/MedicationRequest/example-medicationrequest-with-extensions.ttl> .
IG © 2025+ Digital Health Agency (DHA), Kenya. Package ke.fhir.eprescription#0.1.0 based on FHIR 4.0.1. Generated 2026-08-30
Links: Table of Contents |
QA Report