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/ke-kps-diagnostic-report | Version: 0.1.0 | |||
| Draft as of 2026-05-11 | Computable Name: KpsDiagnosticReport | |||
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. |
||||
This profile defines constraints on the DiagnosticReport resource for use within the Kenya Patient Summary. It captures the results of diagnostic investigations (laboratory, radiology, and other diagnostic services), supporting continuity of care and data exchange within the national Health Information Exchange (HIE).
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..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | Diagnostic report status (KPS.C.DE.5) Binding: DiagnosticReportStatus (required): The status of the diagnostic report. |
![]() ![]() |
SΣ | 1..* | CodeableConcept | Diagnostic service category (KPS.C.DE.1) Binding: Diagnostic Service Categories (required) |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Diagnostic test or report name (KPS.C.DE.2) Binding: KPS Investigations (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Patient Profile - KPS) | Patient this diagnostic report is about |
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Profile - KPS) | Encounter during which this diagnostic report was requested |
![]() ![]() |
SΣ | 1..1 | dateTime | Date of diagnostic request or observation (KPS.C.DE.3) |
![]() ![]() |
SΣ | 0..1 | instant | Date results were issued (KPS.C.DE.22) |
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS | Organization Profile - KPS) | Person or organization performing the diagnostic (KPS.C.DE.23) |
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS) | Person responsible for interpreting results (KPS.C.DE.24) |
![]() ![]() |
S | 0..* | Reference(Specimen Profile - KPS) | Specimen used for this diagnostic report (KPS.C.DE.13) |
![]() ![]() |
S | 0..* | Reference(Observation Profile - KPS) | Observations that are part of this diagnostic report (KPS.C.DE.25) |
![]() ![]() |
S | 0..1 | string | Reason for request and clinical impression (KPS.C.DE.4, KPS.C.DE.27) |
![]() ![]() |
S | 0..* | CodeableConcept | Coded clinical impression from diagnostic findings (KPS.C.DE.26) Binding: KPS Condition Codes (required) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | required | Diagnostic Service Categories | 📦0.1.0 | This IG |
| DiagnosticReport.code | Base | required | KPS Investigations | 📦0.1.0 | This IG |
| DiagnosticReport.conclusionCode | Base | required | KPS Condition Codes | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 DiagnosticReport
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() |
S | 1..1 | code | Diagnostic report status (KPS.C.DE.5) |
![]() ![]() |
S | 1..* | CodeableConcept | Diagnostic service category (KPS.C.DE.1) Binding: Diagnostic Service Categories (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Diagnostic test or report name (KPS.C.DE.2) Binding: KPS Investigations (required) |
![]() ![]() |
S | 1..1 | Reference(Patient Profile - KPS) | Patient this diagnostic report is about |
![]() ![]() |
S | 0..1 | Reference(Encounter Profile - KPS) | Encounter during which this diagnostic report was requested |
![]() ![]() |
S | 1..1 | dateTime | Date of diagnostic request or observation (KPS.C.DE.3) |
![]() ![]() |
S | 0..1 | instant | Date results were issued (KPS.C.DE.22) |
![]() ![]() |
S | 0..* | Reference(Practitioner Profile - KPS | Organization Profile - KPS) | Person or organization performing the diagnostic (KPS.C.DE.23) |
![]() ![]() |
S | 0..* | Reference(Practitioner Profile - KPS) | Person responsible for interpreting results (KPS.C.DE.24) |
![]() ![]() |
S | 0..* | Reference(Specimen Profile - KPS) | Specimen used for this diagnostic report (KPS.C.DE.13) |
![]() ![]() |
S | 0..* | Reference(Observation Profile - KPS) | Observations that are part of this diagnostic report (KPS.C.DE.25) |
![]() ![]() |
S | 0..1 | string | Reason for request and clinical impression (KPS.C.DE.4, KPS.C.DE.27) |
![]() ![]() |
S | 0..* | CodeableConcept | Coded clinical impression from diagnostic findings (KPS.C.DE.26) Binding: KPS Condition Codes (required) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.category | Base | required | Diagnostic Service Categories | 📦0.1.0 | This IG |
| DiagnosticReport.code | Base | required | KPS Investigations | 📦0.1.0 | This IG |
| DiagnosticReport.conclusionCode | Base | required | KPS Condition Codes | 📦0.1.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for report | ||||
![]() ![]() |
0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested | |||||
![]() ![]() |
?!SΣ | 1..1 | code | Diagnostic report status (KPS.C.DE.5) Binding: DiagnosticReportStatus (required): The status of the diagnostic report. | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Diagnostic service category (KPS.C.DE.1) Binding: Diagnostic Service Categories (required) | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Diagnostic test or report name (KPS.C.DE.2) Binding: KPS Investigations (required) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Profile - KPS) | Patient this diagnostic report is about | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Profile - KPS) | Encounter during which this diagnostic report was requested | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Date of diagnostic request or observation (KPS.C.DE.3) | ||||
![]() ![]() |
SΣ | 0..1 | instant | Date results were issued (KPS.C.DE.22) | ||||
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS | Organization Profile - KPS) | Person or organization performing the diagnostic (KPS.C.DE.23) | ||||
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS) | Person responsible for interpreting results (KPS.C.DE.24) | ||||
![]() ![]() |
S | 0..* | Reference(Specimen Profile - KPS) | Specimen used for this diagnostic report (KPS.C.DE.13) | ||||
![]() ![]() |
S | 0..* | Reference(Observation Profile - KPS) | Observations that are part of this diagnostic report (KPS.C.DE.25) | ||||
![]() ![]() |
0..* | Reference(ImagingStudy) | Reference to full details of imaging associated with the diagnostic report | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | Key images associated with this report | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Comment about the image (e.g. explanation) | |||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Media) | Reference to the image source | ||||
![]() ![]() |
S | 0..1 | string | Reason for request and clinical impression (KPS.C.DE.4, KPS.C.DE.27) | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Coded clinical impression from diagnostic findings (KPS.C.DE.26) Binding: KPS Condition Codes (required) | ||||
![]() ![]() |
0..* | Attachment | Entire report as issued | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | required | Diagnostic Service Categories | 📦0.1.0 | This IG |
| DiagnosticReport.code | Base | required | KPS Investigations | 📦0.1.0 | This IG |
| DiagnosticReport.conclusionCode | Base | required | KPS Condition Codes | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 DiagnosticReport
Summary
Mandatory: 3 elements
Must-Support: 13 elements
Structures
This structure refers to these other structures:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | Diagnostic report status (KPS.C.DE.5) Binding: DiagnosticReportStatus (required): The status of the diagnostic report. |
![]() ![]() |
SΣ | 1..* | CodeableConcept | Diagnostic service category (KPS.C.DE.1) Binding: Diagnostic Service Categories (required) |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Diagnostic test or report name (KPS.C.DE.2) Binding: KPS Investigations (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Patient Profile - KPS) | Patient this diagnostic report is about |
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Profile - KPS) | Encounter during which this diagnostic report was requested |
![]() ![]() |
SΣ | 1..1 | dateTime | Date of diagnostic request or observation (KPS.C.DE.3) |
![]() ![]() |
SΣ | 0..1 | instant | Date results were issued (KPS.C.DE.22) |
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS | Organization Profile - KPS) | Person or organization performing the diagnostic (KPS.C.DE.23) |
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS) | Person responsible for interpreting results (KPS.C.DE.24) |
![]() ![]() |
S | 0..* | Reference(Specimen Profile - KPS) | Specimen used for this diagnostic report (KPS.C.DE.13) |
![]() ![]() |
S | 0..* | Reference(Observation Profile - KPS) | Observations that are part of this diagnostic report (KPS.C.DE.25) |
![]() ![]() |
S | 0..1 | string | Reason for request and clinical impression (KPS.C.DE.4, KPS.C.DE.27) |
![]() ![]() |
S | 0..* | CodeableConcept | Coded clinical impression from diagnostic findings (KPS.C.DE.26) Binding: KPS Condition Codes (required) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | required | Diagnostic Service Categories | 📦0.1.0 | This IG |
| DiagnosticReport.code | Base | required | KPS Investigations | 📦0.1.0 | This IG |
| DiagnosticReport.conclusionCode | Base | required | KPS Condition Codes | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 DiagnosticReport
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |
![]() ![]() |
S | 1..1 | code | Diagnostic report status (KPS.C.DE.5) |
![]() ![]() |
S | 1..* | CodeableConcept | Diagnostic service category (KPS.C.DE.1) Binding: Diagnostic Service Categories (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Diagnostic test or report name (KPS.C.DE.2) Binding: KPS Investigations (required) |
![]() ![]() |
S | 1..1 | Reference(Patient Profile - KPS) | Patient this diagnostic report is about |
![]() ![]() |
S | 0..1 | Reference(Encounter Profile - KPS) | Encounter during which this diagnostic report was requested |
![]() ![]() |
S | 1..1 | dateTime | Date of diagnostic request or observation (KPS.C.DE.3) |
![]() ![]() |
S | 0..1 | instant | Date results were issued (KPS.C.DE.22) |
![]() ![]() |
S | 0..* | Reference(Practitioner Profile - KPS | Organization Profile - KPS) | Person or organization performing the diagnostic (KPS.C.DE.23) |
![]() ![]() |
S | 0..* | Reference(Practitioner Profile - KPS) | Person responsible for interpreting results (KPS.C.DE.24) |
![]() ![]() |
S | 0..* | Reference(Specimen Profile - KPS) | Specimen used for this diagnostic report (KPS.C.DE.13) |
![]() ![]() |
S | 0..* | Reference(Observation Profile - KPS) | Observations that are part of this diagnostic report (KPS.C.DE.25) |
![]() ![]() |
S | 0..1 | string | Reason for request and clinical impression (KPS.C.DE.4, KPS.C.DE.27) |
![]() ![]() |
S | 0..* | CodeableConcept | Coded clinical impression from diagnostic findings (KPS.C.DE.26) Binding: KPS Condition Codes (required) |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.category | Base | required | Diagnostic Service Categories | 📦0.1.0 | This IG |
| DiagnosticReport.code | Base | required | KPS Investigations | 📦0.1.0 | This IG |
| DiagnosticReport.conclusionCode | Base | required | KPS Condition Codes | 📦0.1.0 | This IG |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for report | ||||
![]() ![]() |
0..* | Reference(CarePlan | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest) | What was requested | |||||
![]() ![]() |
?!SΣ | 1..1 | code | Diagnostic report status (KPS.C.DE.5) Binding: DiagnosticReportStatus (required): The status of the diagnostic report. | ||||
![]() ![]() |
SΣ | 1..* | CodeableConcept | Diagnostic service category (KPS.C.DE.1) Binding: Diagnostic Service Categories (required) | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Diagnostic test or report name (KPS.C.DE.2) Binding: KPS Investigations (required) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient Profile - KPS) | Patient this diagnostic report is about | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Encounter Profile - KPS) | Encounter during which this diagnostic report was requested | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | Date of diagnostic request or observation (KPS.C.DE.3) | ||||
![]() ![]() |
SΣ | 0..1 | instant | Date results were issued (KPS.C.DE.22) | ||||
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS | Organization Profile - KPS) | Person or organization performing the diagnostic (KPS.C.DE.23) | ||||
![]() ![]() |
SΣ | 0..* | Reference(Practitioner Profile - KPS) | Person responsible for interpreting results (KPS.C.DE.24) | ||||
![]() ![]() |
S | 0..* | Reference(Specimen Profile - KPS) | Specimen used for this diagnostic report (KPS.C.DE.13) | ||||
![]() ![]() |
S | 0..* | Reference(Observation Profile - KPS) | Observations that are part of this diagnostic report (KPS.C.DE.25) | ||||
![]() ![]() |
0..* | Reference(ImagingStudy) | Reference to full details of imaging associated with the diagnostic report | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | Key images associated with this report | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | string | Comment about the image (e.g. explanation) | |||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Media) | Reference to the image source | ||||
![]() ![]() |
S | 0..1 | string | Reason for request and clinical impression (KPS.C.DE.4, KPS.C.DE.27) | ||||
![]() ![]() |
S | 0..* | CodeableConcept | Coded clinical impression from diagnostic findings (KPS.C.DE.26) Binding: KPS Condition Codes (required) | ||||
![]() ![]() |
0..* | Attachment | Entire report as issued | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| DiagnosticReport.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.status | Base | required | DiagnosticReportStatus | 📍4.0.1 | FHIR Std. |
| DiagnosticReport.category | Base | required | Diagnostic Service Categories | 📦0.1.0 | This IG |
| DiagnosticReport.code | Base | required | KPS Investigations | 📦0.1.0 | This IG |
| DiagnosticReport.conclusionCode | Base | required | KPS Condition Codes | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | DiagnosticReport | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | DiagnosticReport | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | DiagnosticReport | A resource should have narrative for robust management |
text.`div`.exists()
|
| 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 DiagnosticReport
Summary
Mandatory: 3 elements
Must-Support: 13 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron