reason_for_encounter

The reason for initiation of any healthcare encounter or contact by the individual who is the subject of care.

The reason for initiation of any healthcare encounter or contact by the individual who is the subject of care.

Purpose. To record the reason, or reasons, for initiation of any type of healthcare encounter or contact by the individual who is the subject of care.

Source

ModelLegRole
openEHR-EHR-EVALUATION.reason_for_encounter.v1openEHRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
form_iduuidformnoThe form this entry was recorded on.
form_block_iduuidyesThe block within the form, when the entry is bound to one.
contact_type
contact_type_code
contact_type_system
contact_type_valueset_id
coded text
text, text, text, text
yesContact type/data[at0001]/items[at0002]
presenting_problem
presenting_problem_code
presenting_problem_system
presenting_problem_valueset_id
coded text
text, text, text, text
yesPresenting problem/data[at0001]/items[at0004]

Constraints

check ((contact_type_code is null and contact_type_system is null and contact_type_valueset_id is null) or (contact_type is not null and contact_type_code is not null and contact_type_system is not null and contact_type_valueset_id is not null))
check ((presenting_problem_code is null and presenting_problem_system is null and presenting_problem_valueset_id is null) or (presenting_problem is not null and presenting_problem_code is not null and presenting_problem_system is not null and presenting_problem_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
contact_type_valueset_id, contact_type_code, contact_type_system, contact_typevalueset_coderestrict
presenting_problem_valueset_id, presenting_problem_code, presenting_problem_system, presenting_problemvalueset_coderestrict

Indexes