FHIR IG analytics| Package | ke.fhir.eprescription |
| Resource Type | CapabilityStatement |
| Id | CapabilityStatement-kenya-eprescription-server.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/IntelliSOFT-Consulting/Kenya-ePrescription-IG/CapabilityStatement-kenya-eprescription-server.html |
| URL | https://fhir.dha.go.ke/fhir/CapabilityStatement/kenya-eprescription-server |
| Version | 0.1.0 |
| Status | active |
| Date | 2025-06-01 |
| Name | KenyaEPrescriptionServerCapabilityStatement |
| Title | Kenya ePrescription Server CapabilityStatement |
| Description | This CapabilityStatement defines the conformance requirements for any system claiming to be a Kenya ePrescription server. It covers the core prescription-to-dispense workflow as well as oncology care plan and allergy management capabilities. |
| Copyright | Copyright 2025+ Digital Health Agency, Kenya. This content is licensed under Creative Commons Attribution 4.0 International (CC-BY-4.0). Terminology content from the Kenya Pharmacy and Poisons Board (PPB) via Open Concept Lab (OCL) is subject to separate terms. |
| Kind | requirements |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: CapabilityStatement kenya-eprescription-server
json, xmlNote to Implementers: FHIR Capabilities
Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.
serverThe Kenya ePrescription server supports resource-level CRUD operations and the search interactions listed below. All transactions must be authenticated via OAuth 2.0 / SMART on FHIR.
SMART-on-FHIROAuth 2.0 with SMART on FHIR scopes. All clients must present a valid access token issued by the national HIE identity provider.
The summary table lists the resources that are part of this configuration, and for each resource it lists:
_include_revinclude| Resource Type | Profile | R | S | U | C | Searches | _include | _revinclude | Operations |
|---|---|---|---|---|---|---|---|---|---|
| Patient | http://hl7.org/fhir/StructureDefinition/Patient | Y | Y | identifier, name, birthdate | |||||
| Practitioner | http://hl7.org/fhir/StructureDefinition/Practitioner | Y | Y | identifier | |||||
| Organization | http://hl7.org/fhir/StructureDefinition/Organization | Y | Y | identifier | |||||
| Encounter | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter | Y | Y | Y | Y | patient, status, date | |||
| MedicationRequest | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-request | Y | Y | Y | Y | patient, requester, status, authoredon, medication, identifier | |||
| Medication | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication | Y | Y | code | |||||
| MedicationDispense | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-dispense | Y | Y | Y | Y | patient, prescription, status, whenhandedover | |||
| MedicationAdministration | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-administration | Y | Y | Y | patient, request, effective-time | ||||
| MedicationStatement | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-statement | Y | Y | Y | patient, status | ||||
| AllergyIntolerance | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-allergy-intolerance | Y | Y | Y | Y | patient, clinical-status, code | |||
| Condition | http://hl7.org/fhir/StructureDefinition/Condition | Y | Y | Y | patient, code, clinical-status | ||||
| Provenance | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-provenance | Y | Y | Y | target, recorded, agent | ||||
| EpisodeOfCare | https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care | Y | Y | Y | patient, status |
read, search-type.Patient resources are read-only on this server; patient registration is managed by the MPI.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | identifier | token | Search by national ID or other patient identifier |
| SHALL | name | string | |
| SHALL | birthdate | date |
read, search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | identifier | token | Search by KMPDC medical licence number |
read.search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | identifier | token | Search by MFL facility code |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounterread, create, update, search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | status | token | |
| SHALL | date | date |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-requestread, create, update, search-type.Core ePrescription resource. Servers SHALL support create, read, update, and search by patient, requester, status, and authored date.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | Search prescriptions by patient |
| SHALL | requester | reference | |
| SHALL | status | token | |
| SHALL | authoredon | date | |
| SHALL | medication | token | |
| SHALL | identifier | token |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medicationread.search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | code | token | Search by PPB generic product code |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-dispenseread, create, update, search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | prescription | reference | Filter dispenses by originating prescription |
| SHALL | status | token | |
| SHALL | whenhandedover | date |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-administrationread, create.search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | request | reference | |
| SHALL | effective-time | date |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-statementread, search-type.create.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | status | token |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-allergy-intoleranceread, create, update, search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | clinical-status | token | |
| SHALL | code | token | Search by allergen substance code (ActiveComponentsVS) |
read, create, search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | code | token | |
| SHALL | clinical-status | token |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-provenanceread, create.search-type.Audit trail resource capturing authorship and lifecycle changes to prescriptions, dispenses, and administration records. Servers SHALL support read and create; search by target is SHOULD.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | target | reference | Filter provenance records by the target medication resource (MedicationRequest, MedicationDispense, MedicationAdministration, MedicationStatement) |
| SHALL | recorded | date | Filter provenance records by the date the record was created |
| SHALL | agent | reference | Filter provenance records by the responsible actor (prescriber, pharmacist, or system) |
https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-careread.create, search-type.| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | patient | reference | |
| SHALL | status | token |
{
"resourceType": "CapabilityStatement",
"id": "kenya-eprescription-server",
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"url": "https://fhir.dha.go.ke/fhir/CapabilityStatement/kenya-eprescription-server",
"version": "0.1.0",
"name": "KenyaEPrescriptionServerCapabilityStatement",
"title": "Kenya ePrescription Server CapabilityStatement",
"status": "active",
"experimental": false,
"date": "2025-06-01",
"publisher": "Digital Health Agency (DHA), Kenya",
"contact": [
{
"name": "Digital Health Agency (DHA), Kenya",
"telecom": [
{
"system": "url",
"value": "https://dha.go.ke/"
},
{
"system": "email",
"value": "helpdesk@dha.go.ke"
}
]
},
{
"name": "Digital Health Agency, Kenya",
"telecom": [
{
"system": "email",
"value": "helpdesk@dha.go.ke",
"use": "work"
},
{
"system": "url",
"value": "https://www.dha.go.ke/"
}
]
}
],
"description": "This CapabilityStatement defines the conformance requirements for any system claiming to be a Kenya ePrescription server. It covers the core prescription-to-dispense workflow as well as oncology care plan and allergy management capabilities.",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "KE",
"display": "Kenya"
}
]
}
],
"copyright": "Copyright 2025+ Digital Health Agency, Kenya. This content is licensed under Creative Commons Attribution 4.0 International (CC-BY-4.0). Terminology content from the Kenya Pharmacy and Poisons Board (PPB) via Open Concept Lab (OCL) is subject to separate terms.",
"kind": "requirements",
"fhirVersion": "4.0.1",
"format": [
"json",
"xml"
],
"rest": [
{
"mode": "server",
"documentation": "The Kenya ePrescription server supports resource-level CRUD operations and the search interactions listed below. All transactions must be authenticated via OAuth 2.0 / SMART on FHIR.",
"security": {
"cors": true,
"service": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/restful-security-service",
"code": "SMART-on-FHIR",
"display": "SMART-on-FHIR"
}
]
}
],
"description": "OAuth 2.0 with SMART on FHIR scopes. All clients must present a valid access token issued by the national HIE identity provider."
},
"resource": [
{
"type": "Patient",
"profile": "http://hl7.org/fhir/StructureDefinition/Patient",
"documentation": "Patient resources are read-only on this server; patient registration is managed by the MPI.",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "identifier",
"type": "token",
"documentation": "Search by national ID or other patient identifier"
},
{
"name": "name",
"type": "string"
},
{
"name": "birthdate",
"type": "date"
}
]
},
{
"type": "Practitioner",
"profile": "http://hl7.org/fhir/StructureDefinition/Practitioner",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "identifier",
"type": "token",
"documentation": "Search by KMPDC medical licence number"
}
]
},
{
"type": "Organization",
"profile": "http://hl7.org/fhir/StructureDefinition/Organization",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "identifier",
"type": "token",
"documentation": "Search by MFL facility code"
}
]
},
{
"type": "Encounter",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-encounter",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "update"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "status",
"type": "token"
},
{
"name": "date",
"type": "date"
}
]
},
{
"type": "MedicationRequest",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-request",
"documentation": "Core ePrescription resource. Servers SHALL support create, read, update, and search by patient, requester, status, and authored date.",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "update"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference",
"documentation": "Search prescriptions by patient"
},
{
"name": "requester",
"type": "reference"
},
{
"name": "status",
"type": "token"
},
{
"name": "authoredon",
"type": "date"
},
{
"name": "medication",
"type": "token"
},
{
"name": "identifier",
"type": "token"
}
]
},
{
"type": "Medication",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "code",
"type": "token",
"documentation": "Search by PPB generic product code"
}
]
},
{
"type": "MedicationDispense",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-dispense",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "update"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "prescription",
"type": "reference",
"documentation": "Filter dispenses by originating prescription"
},
{
"name": "status",
"type": "token"
},
{
"name": "whenhandedover",
"type": "date"
}
]
},
{
"type": "MedicationAdministration",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-administration",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "request",
"type": "reference"
},
{
"name": "effective-time",
"type": "date"
}
]
},
{
"type": "MedicationStatement",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-medication-statement",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "status",
"type": "token"
}
]
},
{
"type": "AllergyIntolerance",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-allergy-intolerance",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "update"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "clinical-status",
"type": "token"
},
{
"name": "code",
"type": "token",
"documentation": "Search by allergen substance code (ActiveComponentsVS)"
}
]
},
{
"type": "Condition",
"profile": "http://hl7.org/fhir/StructureDefinition/Condition",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "code",
"type": "token"
},
{
"name": "clinical-status",
"type": "token"
}
]
},
{
"type": "Provenance",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-provenance",
"documentation": "Audit trail resource capturing authorship and lifecycle changes to prescriptions, dispenses, and administration records. Servers SHALL support read and create; search by target is SHOULD.",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "target",
"type": "reference",
"documentation": "Filter provenance records by the target medication resource (MedicationRequest, MedicationDispense, MedicationAdministration, MedicationStatement)"
},
{
"name": "recorded",
"type": "date",
"documentation": "Filter provenance records by the date the record was created"
},
{
"name": "agent",
"type": "reference",
"documentation": "Filter provenance records by the responsible actor (prescriber, pharmacist, or system)"
}
]
},
{
"type": "EpisodeOfCare",
"profile": "https://fhir.dha.go.ke/fhir/StructureDefinition/ke-episode-of-care",
"interaction": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHALL"
}
],
"code": "read"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "create"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"code": "search-type"
}
],
"searchParam": [
{
"name": "patient",
"type": "reference"
},
{
"name": "status",
"type": "token"
}
]
}
]
}
]
}