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

Extension: Refill Authorization

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)

Usage info

Usages:

  • This Extension is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Refill Authorization
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:authorizedRefills 1..1 Extension Total number of refills authorized by the prescriber
..... extension 0..0 Extension
..... url 1..1 uri "authorizedRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:remainingRefills 0..1 Extension Number of refills still available to the patient
..... extension 0..0 Extension
..... url 1..1 uri "remainingRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:earliestRefillDate 0..1 Extension Earliest date the patient may collect the next refill
..... extension 0..0 Extension
..... url 1..1 uri "earliestRefillDate"
..... value[x] 0..1 date Value of extension
... url 1..1 uri "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Refill Authorization
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:authorizedRefills 1..1 Extension Total number of refills authorized by the prescriber
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "authorizedRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:remainingRefills 0..1 Extension Number of refills still available to the patient
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "remainingRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:earliestRefillDate 0..1 Extension Earliest date the patient may collect the next refill
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "earliestRefillDate"
..... value[x] 0..1 date Value of extension
... url 1..1 uri "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization"

doco 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.

  • authorizedRefills: unsignedInt: An Extension
  • remainingRefills: unsignedInt: An Extension
  • earliestRefillDate: date: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Refill Authorization
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:authorizedRefills 1..1 Extension Total number of refills authorized by the prescriber
..... extension 0..0 Extension
..... url 1..1 uri "authorizedRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:remainingRefills 0..1 Extension Number of refills still available to the patient
..... extension 0..0 Extension
..... url 1..1 uri "remainingRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:earliestRefillDate 0..1 Extension Earliest date the patient may collect the next refill
..... extension 0..0 Extension
..... url 1..1 uri "earliestRefillDate"
..... value[x] 0..1 date Value of extension
... url 1..1 uri "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Refill Authorization
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:authorizedRefills 1..1 Extension Total number of refills authorized by the prescriber
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "authorizedRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:remainingRefills 0..1 Extension Number of refills still available to the patient
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "remainingRefills"
..... value[x] 0..1 unsignedInt Value of extension
.... extension:earliestRefillDate 0..1 Extension Earliest date the patient may collect the next refill
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "earliestRefillDate"
..... value[x] 0..1 date Value of extension
... url 1..1 uri "https://nshr-uat.sha.go.ke/StructureDefinition/refill-authorization"

doco 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.

  • authorizedRefills: unsignedInt: An Extension
  • remainingRefills: unsignedInt: An Extension
  • earliestRefillDate: date: An Extension

 

Other representations of profile: CSV, Excel, Schematron

Constraints

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()