Kenya ePrescription FHIR Implementation Guide
0.1.0 - ci-build
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
| Official URL: https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization | Version: 0.1.0 | |||
| Active as of 2026-04-24 | Computable Name: RefillAuthorizationExtension | |||
Copyright/Legal: 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. |
||||
Records the number of refills authorized and remaining, together with the earliest eligible refill date, supporting chronic medication management workflows.
Context of Use
This extension may be used on the following element(s)
MedicationRequest
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Refill Authorization | |
![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
1..1 | Extension | Total number of refills authorized by the prescriber | |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "authorizedRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Number of refills still available to the patient | |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "remainingRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Earliest date the patient may collect the next refill | |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "earliestRefillDate" | |
![]() ![]() ![]() ![]() |
0..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Refill Authorization | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
1..1 | Extension | Total number of refills authorized by the prescriber | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "authorizedRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Number of refills still available to the patient | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "remainingRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Earliest date the patient may collect the next refill | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "earliestRefillDate" | |
![]() ![]() ![]() ![]() |
0..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization" | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Records the number of refills authorized and remaining, together with the earliest eligible refill date, supporting chronic medication management workflows.
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Refill Authorization | |
![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
1..1 | Extension | Total number of refills authorized by the prescriber | |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "authorizedRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Number of refills still available to the patient | |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "remainingRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Earliest date the patient may collect the next refill | |
![]() ![]() ![]() ![]() |
0..0 | Extension | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "earliestRefillDate" | |
![]() ![]() ![]() ![]() |
0..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization" | |
![]() ![]() |
0..0 | Value of extension | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | Refill Authorization | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
1..1 | Extension | Total number of refills authorized by the prescriber | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "authorizedRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Number of refills still available to the patient | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "remainingRefills" | |
![]() ![]() ![]() ![]() |
0..1 | unsignedInt | Value of extension | |
![]() ![]() ![]() |
0..1 | Extension | Earliest date the patient may collect the next refill | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "earliestRefillDate" | |
![]() ![]() ![]() ![]() |
0..1 | date | Value of extension | |
![]() ![]() |
1..1 | uri | "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization" | |
Documentation for this format | ||||
This structure is derived from Extension
Summary
Complex Extension: Records the number of refills authorized and remaining, together with the earliest eligible refill date, supporting chronic medication management workflows.
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|