encounter

The US Core Encounter Profile inherits from the FHIR [Encounter](https://hl7.org/fhir/R4/encounter.html) resource; refer to it for scope and usage definitions.

The US Core Encounter Profile inherits from the FHIR Encounter resource; refer to it for scope and usage definitions. This profile sets minimum expectations for the Encounter resource to record, search, and fetch basic encounter information for an individual patient. It specifies which core elements, extensions, vocabularies, and value sets SHALL be present and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption.

Source

ModelLegRole
us-core-encounterFHIRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoEncounter.id
created_attimestamptznoRow creation timestamp.
updated_attimestamptznoRow update timestamp; maintained by the application.
created_bytextnoActor who created the row.
updated_bytextnoActor who last updated the row.
interpreter_required
interpreter_required_code
interpreter_required_system
interpreter_required_valueset_id
coded text
text, text, text, text
yes𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: Whether the patient needs an interpreterEncounter.extension
identifier_value
identifier_system
text, text
text, text
yesIdentifier(s) by which this encounter is knownEncounter.identifier
statustextyesplanned | arrived | triaged | in-progress | onleave | finished | cancelled +Encounter.status
class
class_code
class_system
class_valueset_id
coded text
text, text, text, text
yesClassification of patient encounterEncounter.class
patient_iduuidyesThe patient or group present at the encounterEncounter.subject
period_start
period_end
timestamptz, timestamptz
timestamptz, timestamptz
yesThe start and end time of the encounterEncounter.period
hospitalization_discharge_disposition
hospitalization_discharge_disposition_code
hospitalization_discharge_disposition_system
text, text, text
text, text, text
yesCategory or kind of location after dischargeEncounter.hospitalization.dischargeDisposition
service_provider_iduuidyesThe organization (facility) responsible for this encounterEncounter.serviceProvider

Constraints

check ((interpreter_required is null and interpreter_required_code is null and interpreter_required_system is null and interpreter_required_valueset_id is null) or (interpreter_required is not null and interpreter_required_code is not null and interpreter_required_system is not null and interpreter_required_valueset_id is not null))
check (identifier_system is null or identifier_value is not null)
check ((class is null and class_code is null and class_system is null and class_valueset_id is null) or (class is not null and class_code is not null and class_system is not null and class_valueset_id is not null))
check (period_start is null or period_end is null or period_start <= period_end)
check ((hospitalization_discharge_disposition_code is null and hospitalization_discharge_disposition_system is null) or (hospitalization_discharge_disposition_code is not null and hospitalization_discharge_disposition_system is not null))

References

ColumnsTargetOn delete
interpreter_required_valueset_id, interpreter_required_code, interpreter_required_system, interpreter_requiredvalueset_coderestrict
class_valueset_id, class_code, class_system, classvalueset_coderestrict
patient_idpatientno action
service_provider_idorganizationno action

Referenced by

Indexes

Child tables

6 tables hang off encounter, one row per repetition.

encounter_other_identifier

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
encounter_iduuidencounterno
identifier_valuetextno
identifier_systemtextyes
identifier_usetextyes
valid_fromtimestamptzyes
valid_untiltimestamptzyes

Unique

References

ColumnsTargetOn delete
encounter_idencountercascade

encounter_type

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
encounter_iduuidencounterno
type
type_code
type_system
type_valueset_id
coded text
text, text, text, text
yesSpecific type of encounterEncounter.type

Constraints

check ((type is null and type_code is null and type_system is null and type_valueset_id is null) or (type is not null and type_code is not null and type_system is not null and type_valueset_id is not null))

References

ColumnsTargetOn delete
encounter_idencountercascade
type_valueset_id, type_code, type_system, typevalueset_coderestrict

Indexes

encounter_participant

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
encounter_iduuidencounterno
period_start
period_end
timestamptz, timestamptz
timestamptz, timestamptz
yesPeriod of time during the encounter that the participant participatedEncounter.participant.period
individual_practitioner_id
individual_practitioner_role_id
individual_related_person_id
uuid, uuid, uuid
uuid, uuid, uuid
yesPersons involved in the encounter other than the patientEncounter.participant.individual

Constraints

check (period_start is null or period_end is null or period_start <= period_end)
check (num_nonnulls(individual_practitioner_id, individual_practitioner_role_id, individual_related_person_id) <= 1)

References

ColumnsTargetOn delete
encounter_idencountercascade
individual_practitioner_idpractitionerno action
individual_practitioner_role_idpractitioner_roleno action
individual_related_person_idrelated_personno action

Referenced by

Indexes

encounter_participant_type

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
encounter_participant_iduuidencounter_participantno
type
type_code
type_system
text, text, text
text, text, text
yesRole of participant in encounterEncounter.participant.type

Constraints

check ((type_code is null and type_system is null) or (type_code is not null and type_system is not null))

References

ColumnsTargetOn delete
encounter_participant_idencounter_participantcascade

Indexes

encounter_reason_code

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
encounter_iduuidencounterno
reason_code
reason_code_code
reason_code_system
text, text, text
text, text, text
yesCoded reason the encounter takes placeEncounter.reasonCode

Constraints

check ((reason_code_code is null and reason_code_system is null) or (reason_code_code is not null and reason_code_system is not null))

References

ColumnsTargetOn delete
encounter_idencountercascade

Indexes

encounter_location

Child table — one row per repetition, deleted with its parent.

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
encounter_iduuidencounterno
location_iduuidyesLocation the encounter takes placeEncounter.location.location

References

ColumnsTargetOn delete
encounter_idencountercascade
location_idlocationno action

Indexes

Value sets

Value setCodes
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.160
http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1267.230
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode0