SGHI FHIR Profile Implementation Guide
0.1.0 - ci-build

SGHI FHIR Profile Implementation Guide, published by Kathurima Kimathi. 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/savannahghi/sil_fhir_profile_ig/ and changes regularly. See the Directory of published versions

## Resource Profile: SGHI DiagnosticReport

Official URL: https://fhir.slade360.co.ke/fhir/StructureDefinition/diagnosticreport | Version: 0.1.0
Draft as of 2026-04-27 | Computable Name: SGHIDiagnosticReport

SGHI's profile for DiagnosticReport

Usages:

- Refer to this Profile: SGHI Condition, SGHI DiagnosticReport, SGHI Encounter, SGHI Procedure... Show 2 more, SGHI RiskAssessment and SGHI ServiceRequest
- Examples for this Profile: DiagnosticReport/ExampleSGHIDiagnosticReport

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: dgr-1
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | Business identifier for report
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | SGHIReference(SGHI MedicationRequest | SGHI ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 1..* | SGHICodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
code | Σ | 1..1 | SGHICodeableConcept | Name/Code for this diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
subject | Σ | 1..1 | SGHIReference(SGHI Patient) | The subject of the report - usually, but not always, the patient
encounter | Σ | 1..1 | SGHIReference(SGHI Encounter) | Health care event when test ordered
effective[x] | Σ | 1..1 | dateTime | Clinically relevant time/time-period for report
issued | Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 1..* | SGHIReference(SGHI Organization) | Responsible Diagnostic Service
resultsInterpreter | Σ | 1..* | SGHIReference(SGHI Organization) | Primary result interpreter
result | C | 0..* | SGHIReference(SGHI Observation) | Observations
conclusionCode |  | 0..* | SGHICodeableConcept | Codes for the clinical conclusion of test results Binding: SGHI Diagnostic Conclusion ICD-11 (extensible)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
DiagnosticReport.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
DiagnosticReport.status | Base | required | Diagnostic Report Status | 📍5.0.0 | FHIR Std.
DiagnosticReport.category | Base | example | Diagnostic Service Section Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.conclusionCode | Base | extensible | SGHI Diagnostic Conclusion ICD-11 | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dgr-1 | error | DiagnosticReport | When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` | `composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))`
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
identifier |  | 1..* | Identifier | Business identifier for report
use |  | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type |  | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system |  | 1..1 | uri | The namespace for the identifier value
value |  | 1..1 | string | The value that is unique
assigner |  | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | SGHIReference(SGHI MedicationRequest | SGHI ServiceRequest) | What was requested
category |  | 1..* | SGHICodeableConcept | Service category
code |  | 1..1 | SGHICodeableConcept | Name/Code for this diagnostic report
subject |  | 1..1 | SGHIReference(SGHI Patient) | The subject of the report - usually, but not always, the patient
encounter |  | 1..1 | SGHIReference(SGHI Encounter) | Health care event when test ordered
effective[x] |  | 1..1 | dateTime | Clinically relevant time/time-period for report
issued |  | 1..1 | instant | DateTime this version was made
performer |  | 1..* | SGHIReference(SGHI Organization) | Responsible Diagnostic Service
resultsInterpreter |  | 1..* | SGHIReference(SGHI Organization) | Primary result interpreter
result |  | 0..* | SGHIReference(SGHI Observation) | Observations
supportingInfo |  |  |  |
reference |  | 1..1 | SGHIReference(SGHI Observation | SGHI DiagnosticReport) | Supporting information reference
conclusionCode |  | 0..* | SGHICodeableConcept | Codes for the clinical conclusion of test results Binding: SGHI Diagnostic Conclusion ICD-11 (extensible)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
DiagnosticReport.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
DiagnosticReport.conclusionCode | Base | extensible | SGHI Diagnostic Conclusion ICD-11 | 📦0.1.0 | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: dgr-1
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | Business identifier for report
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | SGHIReference(SGHI MedicationRequest | SGHI ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 1..* | SGHICodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
code | Σ | 1..1 | SGHICodeableConcept | Name/Code for this diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
subject | Σ | 1..1 | SGHIReference(SGHI Patient) | The subject of the report - usually, but not always, the patient
encounter | Σ | 1..1 | SGHIReference(SGHI Encounter) | Health care event when test ordered
effective[x] | Σ | 1..1 | dateTime | Clinically relevant time/time-period for report
issued | Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 1..* | SGHIReference(SGHI Organization) | Responsible Diagnostic Service
resultsInterpreter | Σ | 1..* | SGHIReference(SGHI Organization) | Primary result interpreter
specimen |  | 0..* | Reference(Specimen) | Specimens this report is based on
result | C | 0..* | SGHIReference(SGHI Observation) | Observations
note |  | 0..* | Annotation | Comments about the diagnostic report
study |  | 0..* | Reference(GenomicStudy | ImagingStudy) | Reference to full details of an analysis associated with the diagnostic report
supportingInfo |  | 0..* | BackboneElement | Additional information supporting the diagnostic report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Supporting information role code Binding: hl7VS-VS-observationType (example): The code value for the role of the supporting information in the diagnostic report.
reference |  | 1..1 | SGHIReference(SGHI Observation | SGHI DiagnosticReport) | Supporting information reference
media | Σ | 0..* | BackboneElement | Key images or data associated with this report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
comment |  | 0..1 | string | Comment about the image or data (e.g. explanation)
link | Σ | 1..1 | Reference(DocumentReference) | Reference to the image or data source
composition | C | 0..1 | Reference(Composition) | Reference to a Composition resource for the DiagnosticReport structure
conclusion |  | 0..1 | markdown | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..* | SGHICodeableConcept | Codes for the clinical conclusion of test results Binding: SGHI Diagnostic Conclusion ICD-11 (extensible)
presentedForm |  | 0..* | Attachment | Entire report as issued
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
DiagnosticReport.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
DiagnosticReport.status | Base | required | Diagnostic Report Status | 📍5.0.0 | FHIR Std.
DiagnosticReport.category | Base | example | Diagnostic Service Section Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.supportingInfo.​type | Base | example | hl7VS-VS-observationType | 📦3.0.0 | THO v7.1
DiagnosticReport.conclusionCode | Base | extensible | SGHI Diagnostic Conclusion ICD-11 | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dgr-1 | error | DiagnosticReport | When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` | `composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))`
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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: 11 elements

Structures

This structure refers to these other structures:

- SGHI CodeableConcept (https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept)
- SGHI Reference (https://fhir.slade360.co.ke/fhir/StructureDefinition/reference)
- SGHI Organization (https://fhir.slade360.co.ke/fhir/StructureDefinition/organization)
- SGHI MedicationRequest (https://fhir.slade360.co.ke/fhir/StructureDefinition/medicationrequest)
- SGHI ServiceRequest (https://fhir.slade360.co.ke/fhir/StructureDefinition/servicerequest)
- SGHI Patient (https://fhir.slade360.co.ke/fhir/StructureDefinition/patient)
- SGHI Encounter (https://fhir.slade360.co.ke/fhir/StructureDefinition/encounter)
- SGHI Observation (https://fhir.slade360.co.ke/fhir/StructureDefinition/observation)
- SGHI DiagnosticReport (https://fhir.slade360.co.ke/fhir/StructureDefinition/diagnosticreport)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: dgr-1
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | Business identifier for report
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | SGHIReference(SGHI MedicationRequest | SGHI ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 1..* | SGHICodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
code | Σ | 1..1 | SGHICodeableConcept | Name/Code for this diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
subject | Σ | 1..1 | SGHIReference(SGHI Patient) | The subject of the report - usually, but not always, the patient
encounter | Σ | 1..1 | SGHIReference(SGHI Encounter) | Health care event when test ordered
effective[x] | Σ | 1..1 | dateTime | Clinically relevant time/time-period for report
issued | Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 1..* | SGHIReference(SGHI Organization) | Responsible Diagnostic Service
resultsInterpreter | Σ | 1..* | SGHIReference(SGHI Organization) | Primary result interpreter
result | C | 0..* | SGHIReference(SGHI Observation) | Observations
conclusionCode |  | 0..* | SGHICodeableConcept | Codes for the clinical conclusion of test results Binding: SGHI Diagnostic Conclusion ICD-11 (extensible)
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
DiagnosticReport.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
DiagnosticReport.status | Base | required | Diagnostic Report Status | 📍5.0.0 | FHIR Std.
DiagnosticReport.category | Base | example | Diagnostic Service Section Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.conclusionCode | Base | extensible | SGHI Diagnostic Conclusion ICD-11 | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dgr-1 | error | DiagnosticReport | When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` | `composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))`
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport |  | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
identifier |  | 1..* | Identifier | Business identifier for report
use |  | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type |  | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system |  | 1..1 | uri | The namespace for the identifier value
value |  | 1..1 | string | The value that is unique
assigner |  | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | SGHIReference(SGHI MedicationRequest | SGHI ServiceRequest) | What was requested
category |  | 1..* | SGHICodeableConcept | Service category
code |  | 1..1 | SGHICodeableConcept | Name/Code for this diagnostic report
subject |  | 1..1 | SGHIReference(SGHI Patient) | The subject of the report - usually, but not always, the patient
encounter |  | 1..1 | SGHIReference(SGHI Encounter) | Health care event when test ordered
effective[x] |  | 1..1 | dateTime | Clinically relevant time/time-period for report
issued |  | 1..1 | instant | DateTime this version was made
performer |  | 1..* | SGHIReference(SGHI Organization) | Responsible Diagnostic Service
resultsInterpreter |  | 1..* | SGHIReference(SGHI Organization) | Primary result interpreter
result |  | 0..* | SGHIReference(SGHI Observation) | Observations
supportingInfo |  |  |  |
reference |  | 1..1 | SGHIReference(SGHI Observation | SGHI DiagnosticReport) | Supporting information reference
conclusionCode |  | 0..* | SGHICodeableConcept | Codes for the clinical conclusion of test results Binding: SGHI Diagnostic Conclusion ICD-11 (extensible)
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
DiagnosticReport.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
DiagnosticReport.conclusionCode | Base | extensible | SGHI Diagnostic Conclusion ICD-11 | 📦0.1.0 | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
DiagnosticReport | C | 0..* | DiagnosticReport | A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports Constraints: dgr-1
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
text |  | 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
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 1..* | Identifier | Business identifier for report
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required)
type | Σ | 0..1 | SGHICodeableConcept | Description of identifier Binding: SGHI Default Identifier Types (required)
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient
value | Σ C | 1..1 | string | The value that is unique Example General: 123456
period | Σ | 0..1 | Period | Time period when id is/was valid for use
assigner | Σ | 1..1 | SGHIReference(SGHI Organization) | Organization that issued id (may be just text)
basedOn |  | 0..* | SGHIReference(SGHI MedicationRequest | SGHI ServiceRequest) | What was requested
status | ?!Σ | 1..1 | code | registered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown Binding: DiagnosticReportStatus (required): The status of the diagnostic report.
category | Σ | 1..* | SGHICodeableConcept | Service category Binding: DiagnosticServiceSectionCodes (example): HL7 V2 table 0074
code | Σ | 1..1 | SGHICodeableConcept | Name/Code for this diagnostic report Binding: LOINCDiagnosticReportCodes (preferred): LOINC Codes for Diagnostic Reports
subject | Σ | 1..1 | SGHIReference(SGHI Patient) | The subject of the report - usually, but not always, the patient
encounter | Σ | 1..1 | SGHIReference(SGHI Encounter) | Health care event when test ordered
effective[x] | Σ | 1..1 | dateTime | Clinically relevant time/time-period for report
issued | Σ | 1..1 | instant | DateTime this version was made
performer | Σ | 1..* | SGHIReference(SGHI Organization) | Responsible Diagnostic Service
resultsInterpreter | Σ | 1..* | SGHIReference(SGHI Organization) | Primary result interpreter
specimen |  | 0..* | Reference(Specimen) | Specimens this report is based on
result | C | 0..* | SGHIReference(SGHI Observation) | Observations
note |  | 0..* | Annotation | Comments about the diagnostic report
study |  | 0..* | Reference(GenomicStudy | ImagingStudy) | Reference to full details of an analysis associated with the diagnostic report
supportingInfo |  | 0..* | BackboneElement | Additional information supporting the diagnostic report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type |  | 1..1 | CodeableConcept | Supporting information role code Binding: hl7VS-VS-observationType (example): The code value for the role of the supporting information in the diagnostic report.
reference |  | 1..1 | SGHIReference(SGHI Observation | SGHI DiagnosticReport) | Supporting information reference
media | Σ | 0..* | BackboneElement | Key images or data associated with this report
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
comment |  | 0..1 | string | Comment about the image or data (e.g. explanation)
link | Σ | 1..1 | Reference(DocumentReference) | Reference to the image or data source
composition | C | 0..1 | Reference(Composition) | Reference to a Composition resource for the DiagnosticReport structure
conclusion |  | 0..1 | markdown | Clinical conclusion (interpretation) of test results
conclusionCode |  | 0..* | SGHICodeableConcept | Codes for the clinical conclusion of test results Binding: SGHI Diagnostic Conclusion ICD-11 (extensible)
presentedForm |  | 0..* | Attachment | Entire report as issued
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
DiagnosticReport.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
DiagnosticReport.identifier.​use | Base | required | IdentifierUse | 📦5.0.0 | FHIR Std.
DiagnosticReport.identifier.​type | Base | required | SGHI Default Identifier Types | 📦0.1.0 | This IG
DiagnosticReport.status | Base | required | Diagnostic Report Status | 📍5.0.0 | FHIR Std.
DiagnosticReport.category | Base | example | Diagnostic Service Section Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.code | Base | preferred | LOINC Diagnostic Report Codes | 📍5.0.0 | FHIR Std.
DiagnosticReport.supportingInfo.​type | Base | example | hl7VS-VS-observationType | 📦3.0.0 | THO v7.1
DiagnosticReport.conclusionCode | Base | extensible | SGHI Diagnostic Conclusion ICD-11 | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dgr-1 | error | DiagnosticReport | When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` | `composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference))`
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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: 11 elements

Structures

This structure refers to these other structures:

- SGHI CodeableConcept (https://fhir.slade360.co.ke/fhir/StructureDefinition/codeableconcept)
- SGHI Reference (https://fhir.slade360.co.ke/fhir/StructureDefinition/reference)
- SGHI Organization (https://fhir.slade360.co.ke/fhir/StructureDefinition/organization)
- SGHI MedicationRequest (https://fhir.slade360.co.ke/fhir/StructureDefinition/medicationrequest)
- SGHI ServiceRequest (https://fhir.slade360.co.ke/fhir/StructureDefinition/servicerequest)
- SGHI Patient (https://fhir.slade360.co.ke/fhir/StructureDefinition/patient)
- SGHI Encounter (https://fhir.slade360.co.ke/fhir/StructureDefinition/encounter)
- SGHI Observation (https://fhir.slade360.co.ke/fhir/StructureDefinition/observation)
- SGHI DiagnosticReport (https://fhir.slade360.co.ke/fhir/StructureDefinition/diagnosticreport)

Other representations of profile: CSV, Excel, Schematron