death_summary

Summary information about the circumstances and context of the death of an individual, excluding the cause(s) of death.

Summary information about the circumstances and context of the death of an individual, excluding the cause(s) of death.

Purpose. To record summary information about the circumstances and context of the death of an individual, excluding the cause(s) of death.

Source

ModelLegRole
openEHR-EHR-EVALUATION.death_summary.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.
date_time_of_deathtimestamptzyesDate/time of death/data[at0001]/items[at0092]
manner_of_death
manner_of_death_code
manner_of_death_system
manner_of_death_valueset_id
coded text
text, text, text, text
yesManner of death/data[at0001]/items[at0010]
manner_descriptiontextyesManner description/data[at0001]/items[at0093]
place_category
place_category_code
place_category_system
place_category_valueset_id
coded text
text, text, text, text
yesPlace category/data[at0001]/items[at0021]
place_of_deathtextyesPlace of death/data[at0001]/items[at0109]
age_at_deathintervalyesAge at death/data[at0001]/items[at0054]
place_of_injury
place_of_injury_code
place_of_injury_system
place_of_injury_valueset_id
coded text
text, text, text, text
yesPlace of injury/data[at0001]/items[at0119]
date_of_injurytimestamptzyesDate of injury/data[at0001]/items[at0120]
activity_at_the_time_of_injury
activity_at_the_time_of_injury_code
activity_at_the_time_of_injury_system
activity_at_the_time_of_injury_valueset_id
coded text
text, text, text, text
yesActivity at the time of injury/data[at0001]/items[at0121]
pregnancy_context
pregnancy_context_code
pregnancy_context_system
pregnancy_context_valueset_id
coded text
text, text, text, text
yesPregnancy context/data[at0001]/items[at0110]
days_post_partumintervalyesDays post partum/data[at0001]/items[at0106]
gestation_at_deathintervalyesGestation at death/data[at0001]/items[at0044]
stillbirth_context
stillbirth_context_code
stillbirth_context_system
stillbirth_context_valueset_id
coded text
text, text, text, text
yesStillbirth context/data[at0001]/items[at0116]
commenttextyesComment/data[at0001]/items[at0105]
information_source_stextyesInformation source(s)/protocol[at0009]/items[at0103]
last_updatedtimestamptzyesLast updated/protocol[at0009]/items[at0101]

Constraints

check ((manner_of_death_code is null and manner_of_death_system is null and manner_of_death_valueset_id is null) or (manner_of_death is not null and manner_of_death_code is not null and manner_of_death_system is not null and manner_of_death_valueset_id is not null))
check ((place_category_code is null and place_category_system is null and place_category_valueset_id is null) or (place_category is not null and place_category_code is not null and place_category_system is not null and place_category_valueset_id is not null))
check ((place_of_injury_code is null and place_of_injury_system is null and place_of_injury_valueset_id is null) or (place_of_injury is not null and place_of_injury_code is not null and place_of_injury_system is not null and place_of_injury_valueset_id is not null))
check ((activity_at_the_time_of_injury_code is null and activity_at_the_time_of_injury_system is null and activity_at_the_time_of_injury_valueset_id is null) or (activity_at_the_time_of_injury is not null and activity_at_the_time_of_injury_code is not null and activity_at_the_time_of_injury_system is not null and activity_at_the_time_of_injury_valueset_id is not null))
check ((pregnancy_context_code is null and pregnancy_context_system is null and pregnancy_context_valueset_id is null) or (pregnancy_context is not null and pregnancy_context_code is not null and pregnancy_context_system is not null and pregnancy_context_valueset_id is not null))
check ((stillbirth_context_code is null and stillbirth_context_system is null and stillbirth_context_valueset_id is null) or (stillbirth_context is not null and stillbirth_context_code is not null and stillbirth_context_system is not null and stillbirth_context_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
manner_of_death_valueset_id, manner_of_death_code, manner_of_death_system, manner_of_deathvalueset_coderestrict
place_category_valueset_id, place_category_code, place_category_system, place_categoryvalueset_coderestrict
place_of_injury_valueset_id, place_of_injury_code, place_of_injury_system, place_of_injuryvalueset_coderestrict
activity_at_the_time_of_injury_valueset_id, activity_at_the_time_of_injury_code, activity_at_the_time_of_injury_system, activity_at_the_time_of_injuryvalueset_coderestrict
pregnancy_context_valueset_id, pregnancy_context_code, pregnancy_context_system, pregnancy_contextvalueset_coderestrict
stillbirth_context_valueset_id, stillbirth_context_code, stillbirth_context_system, stillbirth_contextvalueset_coderestrict

Referenced by

Indexes

Child tables

1 table hang off death_summary, one row per repetition.

death_summary_structured_place_of_death

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

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
death_summary_iduuiddeath_summaryno
positionintegernoOrder of this row within its parent, from zero.
organization_iduuidnoStructured place of death/data[at0001]/items[at0100]

Unique

References

ColumnsTargetOn delete
death_summary_iddeath_summarycascade
organization_idorganizationno action

Indexes

Value sets

Value setCodes
org.openehr::openEHR-EHR-EVALUATION.death_summary.v1/pregnancy_context4
org.openehr::openEHR-EHR-EVALUATION.death_summary.v1/stillbirth_context2