Kenya Emergency Care Implementation Guide
0.1.0 - ci-build Kenya flag

Kenya Emergency Care 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-Emergency-FHIR-IG/ and changes regularly. See the Directory of published versions

Resource Profile: Patient - Kenya Emergency

Official URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient Version: 0.1.0
Active as of 2026-08-07 Computable Name: EMPatient

Represents a patient receiving pre-hospital or emergency services in Kenya.

The profile supports identified and unidentified patients, temporary emergency tracking, identity verification, minimal emergency demographics, and reconciliation of temporary Patient records with verified Patient records.

Usages:

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.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* Patient Information about an individual or animal receiving health care services
Constraints: EMPatientIdentifierRequired, EMPatientUnknownRequiresTemporaryIdentifier, EMPatientVerifiedIdentityRequirements, EMPatientBirthDateOrApproximateAge, EMPatientInactiveRequiresReplacement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:unidentifiedPatient S 1..1 boolean Whether the patient's identity is currently unknown
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient
.... extension:patientIdentityVerified S 0..1 boolean Whether the patient's identity has been verified
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified
.... extension:approximateAge S 0..1 Age Estimated age when the exact date of birth is unavailable
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age
.... extension:isAdult S 0..1 boolean Triage-level adult or minor status
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-is-adult
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:nationalId SΣ 0..1 Identifier Known patient's official identifier
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: http://hie.go.ke/fhir/ValueSet/em-id-type (required)
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-official-id
..... value SΣ 1..1 string Literal official identification number
Example General: 123456
.... identifier:tempTrackingNumber SΣ 0..1 Identifier Emergency temporary patient tracking number
..... use ?!SΣ 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: temp
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-temp-tracking
..... value SΣ 1..1 string System-generated emergency tracking number
Example General: 123456
... active ?!SΣ 1..1 boolean Whether the Patient record remains in active use
... name SΣ 0..1 HumanName Known or operational patient name
.... use ?!Σ 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
.... text SΣ 0..1 string Full patient name or unidentified-patient display name
... telecom Σ 0..* ContactPoint Patient contact details when available
... gender SΣ 0..1 code Administrative gender recorded during emergency assessment
Binding: AdministrativeGender (required)
... birthDate SΣ 0..1 date Exact and verified date of birth
... Slices for deceased[x] ?!SΣ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Whether the patient has been pronounced deceased
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Known date and time of death
... address Σ 0..* Address Patient home address when available
... link ?!SΣ 0..* BackboneElement Link to another Patient record for the same individual
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... other SΣ 1..1 Reference(Patient) Other Patient record representing the same individual
.... type SΣ 1..1 code Nature of the relationship between the Patient records
Binding: LinkType (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:nationalId.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:nationalId.​type Base required http://hie.go.ke/fhir/ValueSet/em-id-type Not State Unknown
Patient.identifier:tempTrackingNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.name.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
EMPatientBirthDateOrApproximateAge error Patient The patient should not have both an exact birth date and an approximate age. birthDate.exists() implies extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age' ).empty()
EMPatientIdentifierRequired error Patient The patient must have either an official national identifier or an emergency temporary tracking number. identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' or system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientInactiveRequiresReplacement error Patient An inactive emergency Patient record must identify its replacement through Patient.link using the replaced-by relationship. active = false implies link.where(type = 'replaced-by').other.exists()
EMPatientUnknownRequiresTemporaryIdentifier error Patient An unidentified patient must have an emergency temporary tracking number. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = true implies identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientVerifiedIdentityRequirements error Patient When identity verification is true, the patient must no longer be marked as unidentified and must have an official identifier. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified' ).value.ofType(boolean) = true implies ( extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = false and identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' ).exists() )
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient 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 Patient 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 Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient 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 Patient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* Patient Information about an individual or animal receiving health care services
Constraints: EMPatientIdentifierRequired, EMPatientUnknownRequiresTemporaryIdentifier, EMPatientVerifiedIdentityRequirements, EMPatientBirthDateOrApproximateAge, EMPatientInactiveRequiresReplacement
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:unidentifiedPatient S 1..1 boolean Whether the patient's identity is currently unknown
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient
.... extension:patientIdentityVerified S 0..1 boolean Whether the patient's identity has been verified
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified
.... extension:approximateAge S 0..1 Age Estimated age when the exact date of birth is unavailable
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age
.... extension:isAdult S 0..1 boolean Triage-level adult or minor status
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-is-adult
... Slices for identifier S 0..* Identifier Official or temporary identifiers assigned to the patient
Slice: Unordered, Open by value:system
.... identifier:nationalId S 0..1 Identifier Known patient's official identifier
..... use S 0..1 code usual | official | temp | secondary | old (If known)
..... type S 0..1 CodeableConcept Description of identifier
Binding: http://hie.go.ke/fhir/ValueSet/em-id-type (required)
..... system S 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-official-id
..... value S 1..1 string Literal official identification number
.... identifier:tempTrackingNumber S 0..1 Identifier Emergency temporary patient tracking number
..... use S 1..1 code usual | official | temp | secondary | old (If known)
Fixed Value: temp
..... system S 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-temp-tracking
..... value S 1..1 string System-generated emergency tracking number
... active S 1..1 boolean Whether the Patient record remains in active use
.... text S 0..1 string Full patient name or unidentified-patient display name
... telecom 0..* ContactPoint Patient contact details when available
... gender S 0..1 code Administrative gender recorded during emergency assessment
Binding: AdministrativeGender (required)
... birthDate S 0..1 date Exact and verified date of birth
... Slices for deceased[x] S 0..1 boolean, dateTime Indicates if the individual is deceased or not
Slice: Unordered, Open by type:$this
.... deceased[x]:deceasedBoolean 0..1 boolean Whether the patient has been pronounced deceased
.... deceased[x]:deceasedDateTime 0..1 dateTime Known date and time of death
... address 0..* Address Patient home address when available
... link S 0..* BackboneElement Link to another Patient record for the same individual
.... other S 1..1 Reference(Patient) Other Patient record representing the same individual
.... type S 1..1 code Nature of the relationship between the Patient records
Binding: LinkType (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Patient.identifier:nationalId.​type Base required http://hie.go.ke/fhir/ValueSet/em-id-type Not State Unknown
Patient.gender Base required AdministrativeGender 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
EMPatientBirthDateOrApproximateAge error Patient The patient should not have both an exact birth date and an approximate age. birthDate.exists() implies extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age' ).empty()
EMPatientIdentifierRequired error Patient The patient must have either an official national identifier or an emergency temporary tracking number. identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' or system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientInactiveRequiresReplacement error Patient An inactive emergency Patient record must identify its replacement through Patient.link using the replaced-by relationship. active = false implies link.where(type = 'replaced-by').other.exists()
EMPatientUnknownRequiresTemporaryIdentifier error Patient An unidentified patient must have an emergency temporary tracking number. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = true implies identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientVerifiedIdentityRequirements error Patient When identity verification is true, the patient must no longer be marked as unidentified and must have an official identifier. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified' ).value.ofType(boolean) = true implies ( extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = false and identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' ).exists() )
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* Patient Information about an individual or animal receiving health care services
Constraints: EMPatientIdentifierRequired, EMPatientUnknownRequiresTemporaryIdentifier, EMPatientVerifiedIdentityRequirements, EMPatientBirthDateOrApproximateAge, EMPatientInactiveRequiresReplacement
... 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
... 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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:unidentifiedPatient S 1..1 boolean Whether the patient's identity is currently unknown
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient
.... extension:patientIdentityVerified S 0..1 boolean Whether the patient's identity has been verified
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified
.... extension:approximateAge S 0..1 Age Estimated age when the exact date of birth is unavailable
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age
.... extension:isAdult S 0..1 boolean Triage-level adult or minor status
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-is-adult
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier SΣ 0..* Identifier Official or temporary identifiers assigned to the patient
Slice: Unordered, Open by value:system
.... identifier:nationalId SΣ 0..1 Identifier Known patient's official identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: http://hie.go.ke/fhir/ValueSet/em-id-type (required)
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-official-id
..... value SΣ 1..1 string Literal official identification number
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:tempTrackingNumber SΣ 0..1 Identifier Emergency temporary patient tracking number
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: temp
..... type Σ 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.
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-temp-tracking
..... value SΣ 1..1 string System-generated emergency tracking number
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... active ?!SΣ 1..1 boolean Whether the Patient record remains in active use
... name SΣ 0..1 HumanName Known or operational patient name
.... id 0..1 string 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 | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
.... text SΣ 0..1 string Full patient name or unidentified-patient display name
.... family Σ 0..1 string Family name (often called 'Surname')
.... given Σ 0..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
.... prefix Σ 0..* string Parts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
.... suffix Σ 0..* string Parts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
.... period Σ 0..1 Period Time period when name was/is in use
... telecom Σ 0..* ContactPoint Patient contact details when available
... gender SΣ 0..1 code Administrative gender recorded during emergency assessment
Binding: AdministrativeGender (required)
... birthDate SΣ 0..1 date Exact and verified date of birth
... Slices for deceased[x] ?!SΣ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Whether the patient has been pronounced deceased
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Known date and time of death
... address Σ 0..* Address Patient home address when available
... maritalStatus 0..1 CodeableConcept Marital (civil) status of a patient
Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
... multipleBirth[x] 0..1 Whether patient is part of a multiple birth
.... multipleBirthBoolean boolean
.... multipleBirthInteger integer
... photo 0..* Attachment Image of the patient
... contact C 0..* BackboneElement A contact party (e.g. guardian, partner, friend) for the patient
Constraints: pat-1
.... 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
.... relationship 0..* CodeableConcept The kind of relationship
Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient.
.... name 0..1 HumanName A name associated with the contact person
.... telecom 0..* ContactPoint A contact detail for the person
.... address 0..1 Address Address for the contact person
.... gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
.... organization C 0..1 Reference(Organization) Organization that is associated with the contact
.... period 0..1 Period The period during which this contact person or organization is valid to be contacted relating to this patient
... communication 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... 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
.... language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
.... preferred 0..1 boolean Language preference indicator
... generalPractitioner 0..* Reference(Organization | Practitioner | PractitionerRole) Patient's nominated primary care provider
... managingOrganization Σ 0..1 Reference(Organization) Organization that is the custodian of the patient record
... link ?!SΣ 0..* BackboneElement Link to another Patient record for the same individual
.... 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
.... other SΣ 1..1 Reference(Patient) Other Patient record representing the same individual
.... type SΣ 1..1 code Nature of the relationship between the Patient records
Binding: LinkType (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.identifier:nationalId.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:nationalId.​type Base required http://hie.go.ke/fhir/ValueSet/em-id-type Not State Unknown
Patient.identifier:tempTrackingNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:tempTrackingNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Patient.name.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📦4.0.1 FHIR Std.
Patient.maritalStatus Base extensible MaritalStatus 📍4.0.1 FHIR Std.
Patient.contact.relationship Base extensible Patient Contact Relationship 📍4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
EMPatientBirthDateOrApproximateAge error Patient The patient should not have both an exact birth date and an approximate age. birthDate.exists() implies extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age' ).empty()
EMPatientIdentifierRequired error Patient The patient must have either an official national identifier or an emergency temporary tracking number. identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' or system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientInactiveRequiresReplacement error Patient An inactive emergency Patient record must identify its replacement through Patient.link using the replaced-by relationship. active = false implies link.where(type = 'replaced-by').other.exists()
EMPatientUnknownRequiresTemporaryIdentifier error Patient An unidentified patient must have an emergency temporary tracking number. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = true implies identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientVerifiedIdentityRequirements error Patient When identity verification is true, the patient must no longer be marked as unidentified and must have an official identifier. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified' ).value.ofType(boolean) = true implies ( extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = false and identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' ).exists() )
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient 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 Patient 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 Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient 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()
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()

This structure is derived from Patient

Summary

Mandatory: 3 elements(5 nested mandatory elements)
Must-Support: 23 elements
Fixed: 3 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Patient.identifier
  • The element 1 is sliced based on the value of Patient.deceased[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* Patient Information about an individual or animal receiving health care services
Constraints: EMPatientIdentifierRequired, EMPatientUnknownRequiresTemporaryIdentifier, EMPatientVerifiedIdentityRequirements, EMPatientBirthDateOrApproximateAge, EMPatientInactiveRequiresReplacement
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:unidentifiedPatient S 1..1 boolean Whether the patient's identity is currently unknown
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient
.... extension:patientIdentityVerified S 0..1 boolean Whether the patient's identity has been verified
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified
.... extension:approximateAge S 0..1 Age Estimated age when the exact date of birth is unavailable
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age
.... extension:isAdult S 0..1 boolean Triage-level adult or minor status
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-is-adult
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:nationalId SΣ 0..1 Identifier Known patient's official identifier
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: http://hie.go.ke/fhir/ValueSet/em-id-type (required)
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-official-id
..... value SΣ 1..1 string Literal official identification number
Example General: 123456
.... identifier:tempTrackingNumber SΣ 0..1 Identifier Emergency temporary patient tracking number
..... use ?!SΣ 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: temp
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-temp-tracking
..... value SΣ 1..1 string System-generated emergency tracking number
Example General: 123456
... active ?!SΣ 1..1 boolean Whether the Patient record remains in active use
... name SΣ 0..1 HumanName Known or operational patient name
.... use ?!Σ 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
.... text SΣ 0..1 string Full patient name or unidentified-patient display name
... telecom Σ 0..* ContactPoint Patient contact details when available
... gender SΣ 0..1 code Administrative gender recorded during emergency assessment
Binding: AdministrativeGender (required)
... birthDate SΣ 0..1 date Exact and verified date of birth
... Slices for deceased[x] ?!SΣ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Whether the patient has been pronounced deceased
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Known date and time of death
... address Σ 0..* Address Patient home address when available
... link ?!SΣ 0..* BackboneElement Link to another Patient record for the same individual
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... other SΣ 1..1 Reference(Patient) Other Patient record representing the same individual
.... type SΣ 1..1 code Nature of the relationship between the Patient records
Binding: LinkType (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:nationalId.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:nationalId.​type Base required http://hie.go.ke/fhir/ValueSet/em-id-type Not State Unknown
Patient.identifier:tempTrackingNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.name.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
EMPatientBirthDateOrApproximateAge error Patient The patient should not have both an exact birth date and an approximate age. birthDate.exists() implies extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age' ).empty()
EMPatientIdentifierRequired error Patient The patient must have either an official national identifier or an emergency temporary tracking number. identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' or system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientInactiveRequiresReplacement error Patient An inactive emergency Patient record must identify its replacement through Patient.link using the replaced-by relationship. active = false implies link.where(type = 'replaced-by').other.exists()
EMPatientUnknownRequiresTemporaryIdentifier error Patient An unidentified patient must have an emergency temporary tracking number. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = true implies identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientVerifiedIdentityRequirements error Patient When identity verification is true, the patient must no longer be marked as unidentified and must have an official identifier. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified' ).value.ofType(boolean) = true implies ( extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = false and identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' ).exists() )
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient 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 Patient 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 Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient 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 Patient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* Patient Information about an individual or animal receiving health care services
Constraints: EMPatientIdentifierRequired, EMPatientUnknownRequiresTemporaryIdentifier, EMPatientVerifiedIdentityRequirements, EMPatientBirthDateOrApproximateAge, EMPatientInactiveRequiresReplacement
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:unidentifiedPatient S 1..1 boolean Whether the patient's identity is currently unknown
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient
.... extension:patientIdentityVerified S 0..1 boolean Whether the patient's identity has been verified
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified
.... extension:approximateAge S 0..1 Age Estimated age when the exact date of birth is unavailable
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age
.... extension:isAdult S 0..1 boolean Triage-level adult or minor status
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-is-adult
... Slices for identifier S 0..* Identifier Official or temporary identifiers assigned to the patient
Slice: Unordered, Open by value:system
.... identifier:nationalId S 0..1 Identifier Known patient's official identifier
..... use S 0..1 code usual | official | temp | secondary | old (If known)
..... type S 0..1 CodeableConcept Description of identifier
Binding: http://hie.go.ke/fhir/ValueSet/em-id-type (required)
..... system S 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-official-id
..... value S 1..1 string Literal official identification number
.... identifier:tempTrackingNumber S 0..1 Identifier Emergency temporary patient tracking number
..... use S 1..1 code usual | official | temp | secondary | old (If known)
Fixed Value: temp
..... system S 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-temp-tracking
..... value S 1..1 string System-generated emergency tracking number
... active S 1..1 boolean Whether the Patient record remains in active use
.... text S 0..1 string Full patient name or unidentified-patient display name
... telecom 0..* ContactPoint Patient contact details when available
... gender S 0..1 code Administrative gender recorded during emergency assessment
Binding: AdministrativeGender (required)
... birthDate S 0..1 date Exact and verified date of birth
... Slices for deceased[x] S 0..1 boolean, dateTime Indicates if the individual is deceased or not
Slice: Unordered, Open by type:$this
.... deceased[x]:deceasedBoolean 0..1 boolean Whether the patient has been pronounced deceased
.... deceased[x]:deceasedDateTime 0..1 dateTime Known date and time of death
... address 0..* Address Patient home address when available
... link S 0..* BackboneElement Link to another Patient record for the same individual
.... other S 1..1 Reference(Patient) Other Patient record representing the same individual
.... type S 1..1 code Nature of the relationship between the Patient records
Binding: LinkType (required)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Patient.identifier:nationalId.​type Base required http://hie.go.ke/fhir/ValueSet/em-id-type Not State Unknown
Patient.gender Base required AdministrativeGender 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
EMPatientBirthDateOrApproximateAge error Patient The patient should not have both an exact birth date and an approximate age. birthDate.exists() implies extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age' ).empty()
EMPatientIdentifierRequired error Patient The patient must have either an official national identifier or an emergency temporary tracking number. identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' or system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientInactiveRequiresReplacement error Patient An inactive emergency Patient record must identify its replacement through Patient.link using the replaced-by relationship. active = false implies link.where(type = 'replaced-by').other.exists()
EMPatientUnknownRequiresTemporaryIdentifier error Patient An unidentified patient must have an emergency temporary tracking number. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = true implies identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientVerifiedIdentityRequirements error Patient When identity verification is true, the patient must no longer be marked as unidentified and must have an official identifier. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified' ).value.ofType(boolean) = true implies ( extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = false and identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' ).exists() )

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient C 0..* Patient Information about an individual or animal receiving health care services
Constraints: EMPatientIdentifierRequired, EMPatientUnknownRequiresTemporaryIdentifier, EMPatientVerifiedIdentityRequirements, EMPatientBirthDateOrApproximateAge, EMPatientInactiveRequiresReplacement
... 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
... 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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:unidentifiedPatient S 1..1 boolean Whether the patient's identity is currently unknown
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient
.... extension:patientIdentityVerified S 0..1 boolean Whether the patient's identity has been verified
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified
.... extension:approximateAge S 0..1 Age Estimated age when the exact date of birth is unavailable
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age
.... extension:isAdult S 0..1 boolean Triage-level adult or minor status
URL: https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-is-adult
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier SΣ 0..* Identifier Official or temporary identifiers assigned to the patient
Slice: Unordered, Open by value:system
.... identifier:nationalId SΣ 0..1 Identifier Known patient's official identifier
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣ 0..1 CodeableConcept Description of identifier
Binding: http://hie.go.ke/fhir/ValueSet/em-id-type (required)
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-official-id
..... value SΣ 1..1 string Literal official identification number
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:tempTrackingNumber SΣ 0..1 Identifier Emergency temporary patient tracking number
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 1..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Fixed Value: temp
..... type Σ 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.
..... system SΣ 1..1 uri The namespace for the identifier value
Fixed Value: http://hie.go.ke/fhir/identifier/patient-temp-tracking
..... value SΣ 1..1 string System-generated emergency tracking number
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... active ?!SΣ 1..1 boolean Whether the Patient record remains in active use
... name SΣ 0..1 HumanName Known or operational patient name
.... id 0..1 string 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 | nickname | anonymous | old | maiden
Binding: NameUse (required): The use of a human name.
.... text SΣ 0..1 string Full patient name or unidentified-patient display name
.... family Σ 0..1 string Family name (often called 'Surname')
.... given Σ 0..* string Given names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
.... prefix Σ 0..* string Parts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
.... suffix Σ 0..* string Parts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
.... period Σ 0..1 Period Time period when name was/is in use
... telecom Σ 0..* ContactPoint Patient contact details when available
... gender SΣ 0..1 code Administrative gender recorded during emergency assessment
Binding: AdministrativeGender (required)
... birthDate SΣ 0..1 date Exact and verified date of birth
... Slices for deceased[x] ?!SΣ 0..1 Indicates if the individual is deceased or not
Slice: Unordered, Closed by type:$this
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
.... deceased[x]:deceasedBoolean ?!Σ 0..1 boolean Whether the patient has been pronounced deceased
.... deceased[x]:deceasedDateTime ?!Σ 0..1 dateTime Known date and time of death
... address Σ 0..* Address Patient home address when available
... maritalStatus 0..1 CodeableConcept Marital (civil) status of a patient
Binding: Marital Status Codes (extensible): The domestic partnership status of a person.
... multipleBirth[x] 0..1 Whether patient is part of a multiple birth
.... multipleBirthBoolean boolean
.... multipleBirthInteger integer
... photo 0..* Attachment Image of the patient
... contact C 0..* BackboneElement A contact party (e.g. guardian, partner, friend) for the patient
Constraints: pat-1
.... 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
.... relationship 0..* CodeableConcept The kind of relationship
Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient.
.... name 0..1 HumanName A name associated with the contact person
.... telecom 0..* ContactPoint A contact detail for the person
.... address 0..1 Address Address for the contact person
.... gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): The gender of a person used for administrative purposes.
.... organization C 0..1 Reference(Organization) Organization that is associated with the contact
.... period 0..1 Period The period during which this contact person or organization is valid to be contacted relating to this patient
... communication 0..* BackboneElement A language which may be used to communicate with the patient about his or her health
.... 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
.... language 1..1 CodeableConcept The language which can be used to communicate with the patient about his or her health
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
.... preferred 0..1 boolean Language preference indicator
... generalPractitioner 0..* Reference(Organization | Practitioner | PractitionerRole) Patient's nominated primary care provider
... managingOrganization Σ 0..1 Reference(Organization) Organization that is the custodian of the patient record
... link ?!SΣ 0..* BackboneElement Link to another Patient record for the same individual
.... 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
.... other SΣ 1..1 Reference(Patient) Other Patient record representing the same individual
.... type SΣ 1..1 code Nature of the relationship between the Patient records
Binding: LinkType (required)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.identifier:nationalId.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:nationalId.​type Base required http://hie.go.ke/fhir/ValueSet/em-id-type Not State Unknown
Patient.identifier:tempTrackingNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:tempTrackingNumber.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Patient.name.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📦4.0.1 FHIR Std.
Patient.maritalStatus Base extensible MaritalStatus 📍4.0.1 FHIR Std.
Patient.contact.relationship Base extensible Patient Contact Relationship 📍4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
EMPatientBirthDateOrApproximateAge error Patient The patient should not have both an exact birth date and an approximate age. birthDate.exists() implies extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-approximate-age' ).empty()
EMPatientIdentifierRequired error Patient The patient must have either an official national identifier or an emergency temporary tracking number. identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' or system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientInactiveRequiresReplacement error Patient An inactive emergency Patient record must identify its replacement through Patient.link using the replaced-by relationship. active = false implies link.where(type = 'replaced-by').other.exists()
EMPatientUnknownRequiresTemporaryIdentifier error Patient An unidentified patient must have an emergency temporary tracking number. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = true implies identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-temp-tracking' ).exists()
EMPatientVerifiedIdentityRequirements error Patient When identity verification is true, the patient must no longer be marked as unidentified and must have an official identifier. extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-patient-identity-verified' ).value.ofType(boolean) = true implies ( extension.where( url = 'https://fhir.dha.go.ke/ig/emergency/StructureDefinition/em-unidentified-patient' ).value.ofType(boolean) = false and identifier.where( system = 'http://hie.go.ke/fhir/identifier/patient-official-id' ).exists() )
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient 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 Patient 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 Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient 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()
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()

This structure is derived from Patient

Summary

Mandatory: 3 elements(5 nested mandatory elements)
Must-Support: 23 elements
Fixed: 3 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Patient.identifier
  • The element 1 is sliced based on the value of Patient.deceased[x]

 

Other representations of profile: CSV, Excel, Schematron