Kenya Patient Summary FHIR Implementation Guide
0.1.0 - ci-build
KE
Kenya Patient Summary FHIR Implementation Guide, published by Digital Health Agency of 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-Patient-Summary-FHIR-IG/ and changes regularly. See the Directory of published versions
| Official URL: https://fhir.dha.go.ke/kps/StructureDefinition/DiagnosticsModel | Version: 0.1.0 | |||
| Draft as of 2026-05-11 | Computable Name: DiagnosticsModel | |||
Copyright/Legal: Copyright © 2024+ Digital Health Agency of Kenya. This content is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0). No rights reserved. |
||||
Logical model for representing diagnostic requests, specimens, imaging, and results under the Kenya Patient Summary (KPS.C) standard.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | KPS.C Diagnostics | |
![]() ![]() |
1..1 | string | Diagnostics Category – clinical discipline, department, or diagnostic service | |
![]() ![]() |
1..1 | string | Exact name or code of the diagnostic request/report (e.g. Lipid Profile) | |
![]() ![]() |
1..1 | dateTime | Date and time of the diagnostic request | |
![]() ![]() |
0..1 | string | Reason for diagnostic request, including relevant clinical notes | |
![]() ![]() |
1..1 | code | Status of the diagnostic request Binding: DiagnosticReportStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Specimen details | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | Type of material collected for analysis | |
![]() ![]() ![]() |
0..1 | code | Specimen availability status Binding: SpecimenStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Radiology imaging information | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
0..1 | string | Type of imaging study requested (e.g. XR Lumbar spine) | |
![]() ![]() ![]() |
0..1 | date | Date when imaging was performed | |
![]() ![]() ![]() |
0..1 | string | Body part observed | |
![]() ![]() ![]() |
0..* | string | References or links to image series from imaging | |
![]() ![]() |
0..1 | dateTime | Date and time of result availability | |
![]() ![]() |
0..1 | string | Name or code of diagnostics performer (originator of result) | |
![]() ![]() |
0..1 | string | Interpreter of result or validator | |
![]() ![]() |
0..* | string | Results from the analysis, e.g. numeric value, boolean, or description | |
![]() ![]() |
0..1 | code | Interpretation of diagnostic results (e.g. normal, high, low) | |
![]() ![]() |
0..1 | string | Working diagnosis or clinical hypothesis based on diagnostics | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticsModel.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticsModel.specimen.availabilityStatus | Base | required | SpecimenStatus | 📦4.0.1 | FHIR Std. |
| 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()
|
This structure is derived from Base
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | KPS.C Diagnostics | |
![]() ![]() |
1..1 | string | Diagnostics Category – clinical discipline, department, or diagnostic service | |
![]() ![]() |
1..1 | string | Exact name or code of the diagnostic request/report (e.g. Lipid Profile) | |
![]() ![]() |
1..1 | dateTime | Date and time of the diagnostic request | |
![]() ![]() |
0..1 | string | Reason for diagnostic request, including relevant clinical notes | |
![]() ![]() |
1..1 | code | Status of the diagnostic request Binding: DiagnosticReportStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Specimen details | |
![]() ![]() ![]() |
1..1 | string | Type of material collected for analysis | |
![]() ![]() ![]() |
0..1 | code | Specimen availability status Binding: SpecimenStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Radiology imaging information | |
![]() ![]() ![]() |
0..1 | string | Type of imaging study requested (e.g. XR Lumbar spine) | |
![]() ![]() ![]() |
0..1 | date | Date when imaging was performed | |
![]() ![]() ![]() |
0..1 | string | Body part observed | |
![]() ![]() ![]() |
0..* | string | References or links to image series from imaging | |
![]() ![]() |
0..1 | dateTime | Date and time of result availability | |
![]() ![]() |
0..1 | string | Name or code of diagnostics performer (originator of result) | |
![]() ![]() |
0..1 | string | Interpreter of result or validator | |
![]() ![]() |
0..* | string | Results from the analysis, e.g. numeric value, boolean, or description | |
![]() ![]() |
0..1 | code | Interpretation of diagnostic results (e.g. normal, high, low) | |
![]() ![]() |
0..1 | string | Working diagnosis or clinical hypothesis based on diagnostics | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticsModel.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticsModel.specimen.availabilityStatus | Base | required | SpecimenStatus | 📦4.0.1 | FHIR Std. |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | KPS.C Diagnostics | |
![]() ![]() |
1..1 | string | Diagnostics Category – clinical discipline, department, or diagnostic service | |
![]() ![]() |
1..1 | string | Exact name or code of the diagnostic request/report (e.g. Lipid Profile) | |
![]() ![]() |
1..1 | dateTime | Date and time of the diagnostic request | |
![]() ![]() |
0..1 | string | Reason for diagnostic request, including relevant clinical notes | |
![]() ![]() |
1..1 | code | Status of the diagnostic request Binding: DiagnosticReportStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Specimen details | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | Type of material collected for analysis | |
![]() ![]() ![]() |
0..1 | code | Specimen availability status Binding: SpecimenStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Radiology imaging information | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
0..1 | string | Type of imaging study requested (e.g. XR Lumbar spine) | |
![]() ![]() ![]() |
0..1 | date | Date when imaging was performed | |
![]() ![]() ![]() |
0..1 | string | Body part observed | |
![]() ![]() ![]() |
0..* | string | References or links to image series from imaging | |
![]() ![]() |
0..1 | dateTime | Date and time of result availability | |
![]() ![]() |
0..1 | string | Name or code of diagnostics performer (originator of result) | |
![]() ![]() |
0..1 | string | Interpreter of result or validator | |
![]() ![]() |
0..* | string | Results from the analysis, e.g. numeric value, boolean, or description | |
![]() ![]() |
0..1 | code | Interpretation of diagnostic results (e.g. normal, high, low) | |
![]() ![]() |
0..1 | string | Working diagnosis or clinical hypothesis based on diagnostics | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticsModel.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticsModel.specimen.availabilityStatus | Base | required | SpecimenStatus | 📦4.0.1 | FHIR Std. |
| 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()
|
This structure is derived from Base
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | KPS.C Diagnostics | |
![]() ![]() |
1..1 | string | Diagnostics Category – clinical discipline, department, or diagnostic service | |
![]() ![]() |
1..1 | string | Exact name or code of the diagnostic request/report (e.g. Lipid Profile) | |
![]() ![]() |
1..1 | dateTime | Date and time of the diagnostic request | |
![]() ![]() |
0..1 | string | Reason for diagnostic request, including relevant clinical notes | |
![]() ![]() |
1..1 | code | Status of the diagnostic request Binding: DiagnosticReportStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Specimen details | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | Type of material collected for analysis | |
![]() ![]() ![]() |
0..1 | code | Specimen availability status Binding: SpecimenStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Radiology imaging information | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
0..1 | string | Type of imaging study requested (e.g. XR Lumbar spine) | |
![]() ![]() ![]() |
0..1 | date | Date when imaging was performed | |
![]() ![]() ![]() |
0..1 | string | Body part observed | |
![]() ![]() ![]() |
0..* | string | References or links to image series from imaging | |
![]() ![]() |
0..1 | dateTime | Date and time of result availability | |
![]() ![]() |
0..1 | string | Name or code of diagnostics performer (originator of result) | |
![]() ![]() |
0..1 | string | Interpreter of result or validator | |
![]() ![]() |
0..* | string | Results from the analysis, e.g. numeric value, boolean, or description | |
![]() ![]() |
0..1 | code | Interpretation of diagnostic results (e.g. normal, high, low) | |
![]() ![]() |
0..1 | string | Working diagnosis or clinical hypothesis based on diagnostics | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticsModel.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticsModel.specimen.availabilityStatus | Base | required | SpecimenStatus | 📦4.0.1 | FHIR Std. |
| 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()
|
Differential View
This structure is derived from Base
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | KPS.C Diagnostics | |
![]() ![]() |
1..1 | string | Diagnostics Category – clinical discipline, department, or diagnostic service | |
![]() ![]() |
1..1 | string | Exact name or code of the diagnostic request/report (e.g. Lipid Profile) | |
![]() ![]() |
1..1 | dateTime | Date and time of the diagnostic request | |
![]() ![]() |
0..1 | string | Reason for diagnostic request, including relevant clinical notes | |
![]() ![]() |
1..1 | code | Status of the diagnostic request Binding: DiagnosticReportStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Specimen details | |
![]() ![]() ![]() |
1..1 | string | Type of material collected for analysis | |
![]() ![]() ![]() |
0..1 | code | Specimen availability status Binding: SpecimenStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Radiology imaging information | |
![]() ![]() ![]() |
0..1 | string | Type of imaging study requested (e.g. XR Lumbar spine) | |
![]() ![]() ![]() |
0..1 | date | Date when imaging was performed | |
![]() ![]() ![]() |
0..1 | string | Body part observed | |
![]() ![]() ![]() |
0..* | string | References or links to image series from imaging | |
![]() ![]() |
0..1 | dateTime | Date and time of result availability | |
![]() ![]() |
0..1 | string | Name or code of diagnostics performer (originator of result) | |
![]() ![]() |
0..1 | string | Interpreter of result or validator | |
![]() ![]() |
0..* | string | Results from the analysis, e.g. numeric value, boolean, or description | |
![]() ![]() |
0..1 | code | Interpretation of diagnostic results (e.g. normal, high, low) | |
![]() ![]() |
0..1 | string | Working diagnosis or clinical hypothesis based on diagnostics | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticsModel.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticsModel.specimen.availabilityStatus | Base | required | SpecimenStatus | 📦4.0.1 | FHIR Std. |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Base | KPS.C Diagnostics | |
![]() ![]() |
1..1 | string | Diagnostics Category – clinical discipline, department, or diagnostic service | |
![]() ![]() |
1..1 | string | Exact name or code of the diagnostic request/report (e.g. Lipid Profile) | |
![]() ![]() |
1..1 | dateTime | Date and time of the diagnostic request | |
![]() ![]() |
0..1 | string | Reason for diagnostic request, including relevant clinical notes | |
![]() ![]() |
1..1 | code | Status of the diagnostic request Binding: DiagnosticReportStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Specimen details | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | string | Type of material collected for analysis | |
![]() ![]() ![]() |
0..1 | code | Specimen availability status Binding: SpecimenStatus (required) | |
![]() ![]() |
0..1 | BackboneElement | Radiology imaging information | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
0..1 | string | Type of imaging study requested (e.g. XR Lumbar spine) | |
![]() ![]() ![]() |
0..1 | date | Date when imaging was performed | |
![]() ![]() ![]() |
0..1 | string | Body part observed | |
![]() ![]() ![]() |
0..* | string | References or links to image series from imaging | |
![]() ![]() |
0..1 | dateTime | Date and time of result availability | |
![]() ![]() |
0..1 | string | Name or code of diagnostics performer (originator of result) | |
![]() ![]() |
0..1 | string | Interpreter of result or validator | |
![]() ![]() |
0..* | string | Results from the analysis, e.g. numeric value, boolean, or description | |
![]() ![]() |
0..1 | code | Interpretation of diagnostic results (e.g. normal, high, low) | |
![]() ![]() |
0..1 | string | Working diagnosis or clinical hypothesis based on diagnostics | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticsModel.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticsModel.specimen.availabilityStatus | Base | required | SpecimenStatus | 📦4.0.1 | FHIR Std. |
| 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()
|
This structure is derived from Base