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

## Data Type Profile: SGHI CodeableReference

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

A reusable CodeableReference within SGHI systems

Usages:

- Use this DataType Profile: SGHI AllergyIntolerance, SGHI Appointment Profile, SGHI Care Plan, SGHI DocumentReference Profile.... Show 9 more, SGHI Encounter, SGHI Medication, SGHI Medication Dispense, SGHI MedicationRequest, SGHI Procedure, SGHI RiskAssessment, SGHI ServiceRequest, SGHI Substance and SGHI Task

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
--- | --- | --- | --- | ---
CodeableReference |  | 0..* | CodeableReference | Reference to a resource or a concept
concept | Σ | 0..1 | SGHICodeableConcept | Reference to a concept (by class)
reference | Σ | 0..1 | SGHIReference() | Reference to a resource (by instance)
Documentation for this format

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

This structure is derived from CodeableReference

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CodeableReference |  |  | CodeableReference |
concept |  | 0..1 | SGHICodeableConcept | Reference to a concept (by class)
reference |  | 0..1 | SGHIReference() | Reference to a resource (by instance)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CodeableReference |  | 0..* | CodeableReference | Reference to a resource or a concept
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
concept | Σ | 0..1 | SGHICodeableConcept | Reference to a concept (by class)
reference | Σ | 0..1 | SGHIReference() | Reference to a resource (by instance)
Documentation for this format

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

This structure is derived from CodeableReference

Summary

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)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CodeableReference |  | 0..* | CodeableReference | Reference to a resource or a concept
concept | Σ | 0..1 | SGHICodeableConcept | Reference to a concept (by class)
reference | Σ | 0..1 | SGHIReference() | Reference to a resource (by instance)
Documentation for this format

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

Differential View

This structure is derived from CodeableReference

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CodeableReference |  |  | CodeableReference |
concept |  | 0..1 | SGHICodeableConcept | Reference to a concept (by class)
reference |  | 0..1 | SGHIReference() | Reference to a resource (by instance)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CodeableReference |  | 0..* | CodeableReference | Reference to a resource or a concept
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
concept | Σ | 0..1 | SGHICodeableConcept | Reference to a concept (by class)
reference | Σ | 0..1 | SGHIReference() | Reference to a resource (by instance)
Documentation for this format

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

This structure is derived from CodeableReference

Summary

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)

Other representations of profile: CSV, Excel, Schematron