Kenya Emergency FHIR Implementation Guide, published by Digital Health Agency (DHA), 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-Emmergency-FHIR-IG/ and changes regularly. See the Directory of published versions
| Official URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-encounter | Version: 0.1.0 | |||
| Active as of 2026-07-20 | Computable Name: EMIncidentEncounter | |||
Represents the complete emergency medical services incident from dispatch initiation through handover at the receiving facility.
This Encounter is the root encounter for an EMS episode. It captures dispatch information, the reporting caller, the dispatcher, responding units, participating emergency agencies, scene information, and the destination facility.
Clinical care performed by the responding emergency team should be represented using a separate point-of-care Encounter whose partOf element references this Encounter.
To provide a consistent representation of an emergency incident across dispatch, ambulance, emergency medical services, and receiving-facility systems in Kenya.
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: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: em-incident-1, em-incident-2, em-incident-3 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | (Complex) | Person who reported the emergency incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-caller |
![]() ![]() ![]() |
S | 0..* | (Complex) | Other emergency-response agency participating in the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-supporting-agency |
![]() ![]() ![]() |
S | 0..* | Reference(Device) | Ambulance or emergency-response vehicle assigned to the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-responding-unit |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 2..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Identifier assigned by the dispatch or CAD system |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/dispatch-id |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Shared identifier for the complete emergency incident |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/incident-id |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | code | Current workflow status of the emergency incident Binding: EncounterStatus (required) |
![]() ![]() |
SΣ | 1..1 | Coding | Emergency medical services field response Binding: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class | |
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: FLD | |
![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Emergency medical services field response | |
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Nature or category of the emergency incident Binding: Emergency Incident Type Value Set (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Priority assigned by the dispatcher Binding: Emergency Dispatch Priority Value Set (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with the emergency incident |
![]() ![]() |
SΣ | 1..1 | Reference(EpisodeOfCare) | Emergency episode containing this incident |
![]() ![]() |
SΣ | 0..1 | BackboneElement | List of participants involved in the encounter |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Dispatcher or call-handler role Binding: ParticipantType (extensible): Role of participant in encounter. Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-participant-role | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: dispatcher | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() ![]() |
S | 0..1 | Period | Period of time during the encounter that the participant participated |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Dispatcher or call-handler who processed the emergency call |
![]() ![]() |
S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time the emergency call or incident was opened |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time handover at the receiving facility was completed |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Caller-reported reason or chief complaint Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. |
![]() ![]() |
S | 0..1 | BackboneElement | Details about the admission to a healthcare service |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | Reference(Location - Emergency Destination Facility) | Receiving health facility location |
![]() ![]() |
S | 0..1 | BackboneElement | List of locations where the patient has been |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | Reference(Location - Emergency Incident Scene) | Scene of the emergency incident |
![]() ![]() ![]() |
S | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location. |
![]() ![]() ![]() |
S | 0..1 | Period | Time period during which the patient was present at the location |
![]() ![]() |
S | 0..1 | Reference(Organization) | EMS or dispatch organization responsible for the incident |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.identifier:dispatchId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:incidentId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📦4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | Emergency Incident Type Value Set | 📦0.1.0 | This IG |
| Encounter.priority | Base | required | Emergency Dispatch Priority Value Set | 📦0.1.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.reasonCode | Base | preferred | Encounter Reason Codes | 📍4.0.1 | FHIR Std. |
| Encounter.location.status | Base | required | EncounterLocationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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())
|
| em-incident-1 | error | Encounter | The Encounter period end must not occur before the Encounter period start. |
period.end.empty() or period.start.empty() or period.end >= period.start
|
| em-incident-2 | error | Encounter | The incident identifier must match the incident identifier on the referenced EpisodeOfCare when the EpisodeOfCare can be resolved by the validator. |
episodeOfCare.resolve().exists() implies
(
episodeOfCare.resolve().identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
=
identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
)
|
| em-incident-3 | error | Encounter | The caller cannot be identified as the patient unless the caller reference resolves to the same Patient referenced by Encounter.subject. |
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'isPatient')
.valueBoolean = true
implies
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'individual')
.valueReference.reference = subject.reference
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: em-incident-1, em-incident-2, em-incident-3 |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | (Complex) | Person who reported the emergency incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-caller |
![]() ![]() ![]() |
S | 0..* | (Complex) | Other emergency-response agency participating in the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-supporting-agency |
![]() ![]() ![]() |
S | 0..* | Reference(Device) | Ambulance or emergency-response vehicle assigned to the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-responding-unit |
![]() ![]() |
S | 2..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
S | 1..1 | Identifier | Identifier assigned by the dispatch or CAD system |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: official | |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/dispatch-id |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() ![]() |
S | 1..1 | Identifier | Shared identifier for the complete emergency incident |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: official | |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/incident-id |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() |
S | 1..1 | code | Current workflow status of the emergency incident Binding: EncounterStatus (required) |
![]() ![]() |
S | 1..1 | Coding | Emergency medical services field response Required Pattern: At least the following |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: FLD | |
![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Emergency medical services field response | |
![]() ![]() |
S | 1..1 | CodeableConcept | Nature or category of the emergency incident Binding: Emergency Incident Type Value Set (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Priority assigned by the dispatcher Binding: Emergency Dispatch Priority Value Set (required) |
![]() ![]() |
S | 1..1 | Reference(Patient) | Patient associated with the emergency incident |
![]() ![]() |
S | 1..1 | Reference(EpisodeOfCare) | Emergency episode containing this incident |
![]() ![]() |
S | 0..1 | BackboneElement | List of participants involved in the encounter |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Dispatcher or call-handler role Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-participant-role | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: dispatcher | |
![]() ![]() ![]() |
S | 0..1 | Period | Period of time during the encounter that the participant participated |
![]() ![]() ![]() |
S | 1..1 | Reference(Practitioner | PractitionerRole) | Dispatcher or call-handler who processed the emergency call |
![]() ![]() |
S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() |
S | 1..1 | dateTime | Time the emergency call or incident was opened |
![]() ![]() ![]() |
S | 1..1 | dateTime | Time handover at the receiving facility was completed |
![]() ![]() |
S | 0..1 | CodeableConcept | Caller-reported reason or chief complaint |
![]() ![]() |
S | 0..1 | BackboneElement | Details about the admission to a healthcare service |
![]() ![]() ![]() |
S | 0..1 | Reference(Location - Emergency Destination Facility) | Receiving health facility location |
![]() ![]() |
S | 0..1 | BackboneElement | List of locations where the patient has been |
![]() ![]() ![]() |
S | 1..1 | Reference(Location - Emergency Incident Scene) | Scene of the emergency incident |
![]() ![]() ![]() |
S | 0..1 | code | planned | active | reserved | completed |
![]() ![]() ![]() |
S | 0..1 | Period | Time period during which the patient was present at the location |
![]() ![]() |
S | 0..1 | Reference(Organization) | EMS or dispatch organization responsible for the incident |
![]() ![]() |
0..0 | Not permitted on the root incident Encounter | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.status | Base | required | EncounterStatus | 📦4.0.1 | FHIR Std. |
| Encounter.type | Base | required | Emergency Incident Type Value Set | 📦0.1.0 | This IG |
| Encounter.priority | Base | required | Emergency Dispatch Priority Value Set | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| em-incident-1 | error | Encounter | The Encounter period end must not occur before the Encounter period start. |
period.end.empty() or period.start.empty() or period.end >= period.start
|
| em-incident-2 | error | Encounter | The incident identifier must match the incident identifier on the referenced EpisodeOfCare when the EpisodeOfCare can be resolved by the validator. |
episodeOfCare.resolve().exists() implies
(
episodeOfCare.resolve().identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
=
identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
)
|
| em-incident-3 | error | Encounter | The caller cannot be identified as the patient unless the caller reference resolves to the same Patient referenced by Encounter.subject. |
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'isPatient')
.valueBoolean = true
implies
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'individual')
.valueReference.reference = subject.reference
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: em-incident-1, em-incident-2, em-incident-3 | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | (Complex) | Person who reported the emergency incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-caller | ||||
![]() ![]() ![]() |
S | 0..* | (Complex) | Other emergency-response agency participating in the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-supporting-agency | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Device) | Ambulance or emergency-response vehicle assigned to the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-responding-unit | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 2..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Identifier assigned by the dispatch or CAD system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/dispatch-id | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Shared identifier for the complete emergency incident | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/incident-id | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Current workflow status of the emergency incident Binding: EncounterStatus (required) | ||||
![]() ![]() |
0..* | BackboneElement | List of past encounter statuses | |||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required): Current state of the encounter. | |||||
![]() ![]() ![]() |
1..1 | Period | The time that the episode was in the specified status | |||||
![]() ![]() |
SΣ | 1..1 | Coding | Emergency medical services field response Binding: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class | |||||
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: FLD | |||||
![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Emergency medical services field response | |||||
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() |
0..* | BackboneElement | List of past encounter classes | |||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible): Classification of the encounter. | |||||
![]() ![]() ![]() |
1..1 | Period | The time that the episode was in the specified class | |||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Nature or category of the emergency incident Binding: Emergency Incident Type Value Set (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example): Broad categorization of the service that is to be provided. | ||||
![]() ![]() |
S | 1..1 | CodeableConcept | Priority assigned by the dispatcher Binding: Emergency Dispatch Priority Value Set (required) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with the emergency incident | ||||
![]() ![]() |
SΣ | 1..1 | Reference(EpisodeOfCare) | Emergency episode containing this incident | ||||
![]() ![]() |
0..* | Reference(ServiceRequest) | The ServiceRequest that initiated this encounter | |||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | List of participants involved in the encounter | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Dispatcher or call-handler role Binding: ParticipantType (extensible): Role of participant in encounter. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-participant-role | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: dispatcher | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() |
S | 0..1 | Period | Period of time during the encounter that the participant participated | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Dispatcher or call-handler who processed the emergency call | ||||
![]() ![]() |
Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter | ||||
![]() ![]() |
S | 1..1 | Period | The start and end time of the encounter | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time the emergency call or incident was opened | ||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time handover at the receiving facility was completed | ||||
![]() ![]() |
0..1 | Duration | Quantity of time the encounter lasted (less time absent) | |||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Caller-reported reason or chief complaint Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. | ||||
![]() ![]() |
Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents. | |||||
![]() ![]() ![]() |
0..1 | positiveInt | Ranking of the diagnosis (for each role type) | |||||
![]() ![]() |
0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |||||
![]() ![]() |
S | 0..1 | BackboneElement | Details about the admission to a healthcare service | ||||
![]() ![]() ![]() |
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 | Identifier | Pre-admission identifier | |||||
![]() ![]() ![]() |
0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred): From where the patient was admitted. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred): Special courtesies. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred): Special arrangements. | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Location - Emergency Destination Facility) | Receiving health facility location | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example): Discharge Disposition. | |||||
![]() ![]() |
S | 0..1 | BackboneElement | List of locations where the patient has been | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(Location - Emergency Incident Scene) | Scene of the emergency incident | ||||
![]() ![]() ![]() |
S | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location. | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example): Physical form of the location. | |||||
![]() ![]() ![]() |
S | 0..1 | Period | Time period during which the patient was present at the location | ||||
![]() ![]() |
S | 0..1 | Reference(Organization) | EMS or dispatch organization responsible for the incident | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:dispatchId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:dispatchId.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:incidentId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:incidentId.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📦4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | Emergency Incident Type Value Set | 📦0.1.0 | This IG |
| Encounter.serviceType | Base | example | Service type | 📍4.0.1 | FHIR Std. |
| Encounter.priority | Base | required | Emergency Dispatch Priority Value Set | 📦0.1.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.reasonCode | Base | preferred | Encounter Reason Codes | 📍4.0.1 | FHIR Std. |
| Encounter.diagnosis.use | Base | preferred | DiagnosisRole | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.admitSource | Base | preferred | Admit source | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦3.0.0 | THO v7.2 |
| Encounter.hospitalization.dietPreference | Base | example | Diet | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialCourtesy | Base | preferred | Special courtesy | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialArrangement | Base | preferred | Special arrangements | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.dischargeDisposition | Base | example | Discharge disposition | 📍4.0.1 | FHIR Std. |
| Encounter.location.status | Base | required | EncounterLocationStatus | 📍4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | example | Location type | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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())
|
| em-incident-1 | error | Encounter | The Encounter period end must not occur before the Encounter period start. |
period.end.empty() or period.start.empty() or period.end >= period.start
|
| em-incident-2 | error | Encounter | The incident identifier must match the incident identifier on the referenced EpisodeOfCare when the EpisodeOfCare can be resolved by the validator. |
episodeOfCare.resolve().exists() implies
(
episodeOfCare.resolve().identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
=
identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
)
|
| em-incident-3 | error | Encounter | The caller cannot be identified as the patient unless the caller reference resolves to the same Patient referenced by Encounter.subject. |
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'isPatient')
.valueBoolean = true
implies
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'individual')
.valueReference.reference = subject.reference
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Encounter
Summary
Mandatory: 15 elements(2 nested mandatory elements)
Must-Support: 31 elements
Fixed: 2 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: em-incident-1, em-incident-2, em-incident-3 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | (Complex) | Person who reported the emergency incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-caller |
![]() ![]() ![]() |
S | 0..* | (Complex) | Other emergency-response agency participating in the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-supporting-agency |
![]() ![]() ![]() |
S | 0..* | Reference(Device) | Ambulance or emergency-response vehicle assigned to the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-responding-unit |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 2..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Identifier assigned by the dispatch or CAD system |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/dispatch-id |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Shared identifier for the complete emergency incident |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/incident-id |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!SΣ | 1..1 | code | Current workflow status of the emergency incident Binding: EncounterStatus (required) |
![]() ![]() |
SΣ | 1..1 | Coding | Emergency medical services field response Binding: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class | |
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: FLD | |
![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Emergency medical services field response | |
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Nature or category of the emergency incident Binding: Emergency Incident Type Value Set (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Priority assigned by the dispatcher Binding: Emergency Dispatch Priority Value Set (required) |
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with the emergency incident |
![]() ![]() |
SΣ | 1..1 | Reference(EpisodeOfCare) | Emergency episode containing this incident |
![]() ![]() |
SΣ | 0..1 | BackboneElement | List of participants involved in the encounter |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Dispatcher or call-handler role Binding: ParticipantType (extensible): Role of participant in encounter. Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-participant-role | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: dispatcher | |
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() ![]() |
S | 0..1 | Period | Period of time during the encounter that the participant participated |
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Dispatcher or call-handler who processed the emergency call |
![]() ![]() |
S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time the emergency call or incident was opened |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time handover at the receiving facility was completed |
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Caller-reported reason or chief complaint Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. |
![]() ![]() |
S | 0..1 | BackboneElement | Details about the admission to a healthcare service |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 0..1 | Reference(Location - Emergency Destination Facility) | Receiving health facility location |
![]() ![]() |
S | 0..1 | BackboneElement | List of locations where the patient has been |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | Reference(Location - Emergency Incident Scene) | Scene of the emergency incident |
![]() ![]() ![]() |
S | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location. |
![]() ![]() ![]() |
S | 0..1 | Period | Time period during which the patient was present at the location |
![]() ![]() |
S | 0..1 | Reference(Organization) | EMS or dispatch organization responsible for the incident |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.identifier:dispatchId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:incidentId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📦4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | Emergency Incident Type Value Set | 📦0.1.0 | This IG |
| Encounter.priority | Base | required | Emergency Dispatch Priority Value Set | 📦0.1.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.reasonCode | Base | preferred | Encounter Reason Codes | 📍4.0.1 | FHIR Std. |
| Encounter.location.status | Base | required | EncounterLocationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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())
|
| em-incident-1 | error | Encounter | The Encounter period end must not occur before the Encounter period start. |
period.end.empty() or period.start.empty() or period.end >= period.start
|
| em-incident-2 | error | Encounter | The incident identifier must match the incident identifier on the referenced EpisodeOfCare when the EpisodeOfCare can be resolved by the validator. |
episodeOfCare.resolve().exists() implies
(
episodeOfCare.resolve().identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
=
identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
)
|
| em-incident-3 | error | Encounter | The caller cannot be identified as the patient unless the caller reference resolves to the same Patient referenced by Encounter.subject. |
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'isPatient')
.valueBoolean = true
implies
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'individual')
.valueReference.reference = subject.reference
|
| 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 Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: em-incident-1, em-incident-2, em-incident-3 |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
S | 1..1 | (Complex) | Person who reported the emergency incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-caller |
![]() ![]() ![]() |
S | 0..* | (Complex) | Other emergency-response agency participating in the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-supporting-agency |
![]() ![]() ![]() |
S | 0..* | Reference(Device) | Ambulance or emergency-response vehicle assigned to the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-responding-unit |
![]() ![]() |
S | 2..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system |
![]() ![]() ![]() |
S | 1..1 | Identifier | Identifier assigned by the dispatch or CAD system |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: official | |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/dispatch-id |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() ![]() |
S | 1..1 | Identifier | Shared identifier for the complete emergency incident |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Required Pattern: official | |
![]() ![]() ![]() ![]() |
S | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/incident-id |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The value that is unique |
![]() ![]() |
S | 1..1 | code | Current workflow status of the emergency incident Binding: EncounterStatus (required) |
![]() ![]() |
S | 1..1 | Coding | Emergency medical services field response Required Pattern: At least the following |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: FLD | |
![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Emergency medical services field response | |
![]() ![]() |
S | 1..1 | CodeableConcept | Nature or category of the emergency incident Binding: Emergency Incident Type Value Set (required) |
![]() ![]() |
S | 1..1 | CodeableConcept | Priority assigned by the dispatcher Binding: Emergency Dispatch Priority Value Set (required) |
![]() ![]() |
S | 1..1 | Reference(Patient) | Patient associated with the emergency incident |
![]() ![]() |
S | 1..1 | Reference(EpisodeOfCare) | Emergency episode containing this incident |
![]() ![]() |
S | 0..1 | BackboneElement | List of participants involved in the encounter |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Dispatcher or call-handler role Required Pattern: At least the following |
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-participant-role | |
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: dispatcher | |
![]() ![]() ![]() |
S | 0..1 | Period | Period of time during the encounter that the participant participated |
![]() ![]() ![]() |
S | 1..1 | Reference(Practitioner | PractitionerRole) | Dispatcher or call-handler who processed the emergency call |
![]() ![]() |
S | 1..1 | Period | The start and end time of the encounter |
![]() ![]() ![]() |
S | 1..1 | dateTime | Time the emergency call or incident was opened |
![]() ![]() ![]() |
S | 1..1 | dateTime | Time handover at the receiving facility was completed |
![]() ![]() |
S | 0..1 | CodeableConcept | Caller-reported reason or chief complaint |
![]() ![]() |
S | 0..1 | BackboneElement | Details about the admission to a healthcare service |
![]() ![]() ![]() |
S | 0..1 | Reference(Location - Emergency Destination Facility) | Receiving health facility location |
![]() ![]() |
S | 0..1 | BackboneElement | List of locations where the patient has been |
![]() ![]() ![]() |
S | 1..1 | Reference(Location - Emergency Incident Scene) | Scene of the emergency incident |
![]() ![]() ![]() |
S | 0..1 | code | planned | active | reserved | completed |
![]() ![]() ![]() |
S | 0..1 | Period | Time period during which the patient was present at the location |
![]() ![]() |
S | 0..1 | Reference(Organization) | EMS or dispatch organization responsible for the incident |
![]() ![]() |
0..0 | Not permitted on the root incident Encounter | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.status | Base | required | EncounterStatus | 📦4.0.1 | FHIR Std. |
| Encounter.type | Base | required | Emergency Incident Type Value Set | 📦0.1.0 | This IG |
| Encounter.priority | Base | required | Emergency Dispatch Priority Value Set | 📦0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| em-incident-1 | error | Encounter | The Encounter period end must not occur before the Encounter period start. |
period.end.empty() or period.start.empty() or period.end >= period.start
|
| em-incident-2 | error | Encounter | The incident identifier must match the incident identifier on the referenced EpisodeOfCare when the EpisodeOfCare can be resolved by the validator. |
episodeOfCare.resolve().exists() implies
(
episodeOfCare.resolve().identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
=
identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
)
|
| em-incident-3 | error | Encounter | The caller cannot be identified as the patient unless the caller reference resolves to the same Patient referenced by Encounter.subject. |
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'isPatient')
.valueBoolean = true
implies
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'individual')
.valueReference.reference = subject.reference
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: em-incident-1, em-incident-2, em-incident-3 | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | (Complex) | Person who reported the emergency incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-incident-caller | ||||
![]() ![]() ![]() |
S | 0..* | (Complex) | Other emergency-response agency participating in the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-supporting-agency | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Device) | Ambulance or emergency-response vehicle assigned to the incident URL: https://nshr-uat.sha.go.ke/fhir/StructureDefinition/em-responding-unit | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 2..* | Identifier | Identifier(s) by which this encounter is known Slice: Unordered, Open by value:system | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Identifier assigned by the dispatch or CAD system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/dispatch-id | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Identifier | Shared identifier for the complete emergency incident | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Required Pattern: official | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hie.go.ke/fhir/identifier/incident-id | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Current workflow status of the emergency incident Binding: EncounterStatus (required) | ||||
![]() ![]() |
0..* | BackboneElement | List of past encounter statuses | |||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: EncounterStatus (required): Current state of the encounter. | |||||
![]() ![]() ![]() |
1..1 | Period | The time that the episode was in the specified status | |||||
![]() ![]() |
SΣ | 1..1 | Coding | Emergency medical services field response Binding: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-encounter-class | |||||
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: FLD | |||||
![]() ![]() ![]() |
1..1 | string | Representation defined by the system Fixed Value: Emergency medical services field response | |||||
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() |
0..* | BackboneElement | List of past encounter classes | |||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ActEncounterCode (extensible): Classification of the encounter. | |||||
![]() ![]() ![]() |
1..1 | Period | The time that the episode was in the specified class | |||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Nature or category of the emergency incident Binding: Emergency Incident Type Value Set (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Specific type of service Binding: ServiceType (example): Broad categorization of the service that is to be provided. | ||||
![]() ![]() |
S | 1..1 | CodeableConcept | Priority assigned by the dispatcher Binding: Emergency Dispatch Priority Value Set (required) | ||||
![]() ![]() |
SΣ | 1..1 | Reference(Patient) | Patient associated with the emergency incident | ||||
![]() ![]() |
SΣ | 1..1 | Reference(EpisodeOfCare) | Emergency episode containing this incident | ||||
![]() ![]() |
0..* | Reference(ServiceRequest) | The ServiceRequest that initiated this encounter | |||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | List of participants involved in the encounter | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Dispatcher or call-handler role Binding: ParticipantType (extensible): Role of participant in encounter. Required Pattern: At least the following | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Fixed Value: (Complex) | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: https://nshr-uat.sha.go.ke/fhir/CodeSystem/em-participant-role | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: dispatcher | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() ![]() |
S | 0..1 | Period | Period of time during the encounter that the participant participated | ||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(Practitioner | PractitionerRole) | Dispatcher or call-handler who processed the emergency call | ||||
![]() ![]() |
Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter | ||||
![]() ![]() |
S | 1..1 | Period | The start and end time of the encounter | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time the emergency call or incident was opened | ||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | Time handover at the receiving facility was completed | ||||
![]() ![]() |
0..1 | Duration | Quantity of time the encounter lasted (less time absent) | |||||
![]() ![]() |
SΣ | 0..1 | CodeableConcept | Caller-reported reason or chief complaint Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. | ||||
![]() ![]() |
Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: DiagnosisRole (preferred): The type of diagnosis this condition represents. | |||||
![]() ![]() ![]() |
0..1 | positiveInt | Ranking of the diagnosis (for each role type) | |||||
![]() ![]() |
0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |||||
![]() ![]() |
S | 0..1 | BackboneElement | Details about the admission to a healthcare service | ||||
![]() ![]() ![]() |
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 | Identifier | Pre-admission identifier | |||||
![]() ![]() ![]() |
0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred): From where the patient was admitted. | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Diet preferences reported by the patient Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred): Special courtesies. | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: SpecialArrangements (preferred): Special arrangements. | |||||
![]() ![]() ![]() |
S | 0..1 | Reference(Location - Emergency Destination Facility) | Receiving health facility location | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example): Discharge Disposition. | |||||
![]() ![]() |
S | 0..1 | BackboneElement | List of locations where the patient has been | ||||
![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(Location - Emergency Incident Scene) | Scene of the emergency incident | ||||
![]() ![]() ![]() |
S | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location. | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: LocationType (example): Physical form of the location. | |||||
![]() ![]() ![]() |
S | 0..1 | Period | Time period during which the patient was present at the location | ||||
![]() ![]() |
S | 0..1 | Reference(Organization) | EMS or dispatch organization responsible for the incident | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:dispatchId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:dispatchId.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:incidentId.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Encounter.identifier:incidentId.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📦4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | Emergency Incident Type Value Set | 📦0.1.0 | This IG |
| Encounter.serviceType | Base | example | Service type | 📍4.0.1 | FHIR Std. |
| Encounter.priority | Base | required | Emergency Dispatch Priority Value Set | 📦0.1.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.reasonCode | Base | preferred | Encounter Reason Codes | 📍4.0.1 | FHIR Std. |
| Encounter.diagnosis.use | Base | preferred | DiagnosisRole | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.admitSource | Base | preferred | Admit source | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦3.0.0 | THO v7.2 |
| Encounter.hospitalization.dietPreference | Base | example | Diet | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialCourtesy | Base | preferred | Special courtesy | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialArrangement | Base | preferred | Special arrangements | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.dischargeDisposition | Base | example | Discharge disposition | 📍4.0.1 | FHIR Std. |
| Encounter.location.status | Base | required | EncounterLocationStatus | 📍4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | example | Location type | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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())
|
| em-incident-1 | error | Encounter | The Encounter period end must not occur before the Encounter period start. |
period.end.empty() or period.start.empty() or period.end >= period.start
|
| em-incident-2 | error | Encounter | The incident identifier must match the incident identifier on the referenced EpisodeOfCare when the EpisodeOfCare can be resolved by the validator. |
episodeOfCare.resolve().exists() implies
(
episodeOfCare.resolve().identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
=
identifier
.where(system = 'http://hie.go.ke/fhir/identifier/incident-id')
.value
)
|
| em-incident-3 | error | Encounter | The caller cannot be identified as the patient unless the caller reference resolves to the same Patient referenced by Encounter.subject. |
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'isPatient')
.valueBoolean = true
implies
extension
.where(url = 'http://hie.go.ke/fhir/StructureDefinition/em-incident-caller')
.extension
.where(url = 'individual')
.valueReference.reference = subject.reference
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Encounter
Summary
Mandatory: 15 elements(2 nested mandatory elements)
Must-Support: 31 elements
Fixed: 2 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron