---
title: "death_summary"
description: "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

| Model | Leg | Role |
|---|---|---|
| `openEHR-EHR-EVALUATION.death_summary.v1` | openEHR | defines this table |

## Columns

| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `form_id` | `uuid` → [`form`](/docs/tables/form) | no | The form this entry was recorded on. | — |
| `form_block_id` | `uuid` | yes | The block within the form, when the entry is bound to one. | — |
| `date_time_of_death` | `timestamptz` | yes | Date/time of death | `/data[at0001]/items[at0092]` |
| `manner_of_death`<br />`manner_of_death_code`<br />`manner_of_death_system`<br />`manner_of_death_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Manner of death | `/data[at0001]/items[at0010]` |
| `manner_description` | `text` | yes | Manner description | `/data[at0001]/items[at0093]` |
| `place_category`<br />`place_category_code`<br />`place_category_system`<br />`place_category_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Place category | `/data[at0001]/items[at0021]` |
| `place_of_death` | `text` | yes | Place of death | `/data[at0001]/items[at0109]` |
| `age_at_death` | `interval` | yes | Age at death | `/data[at0001]/items[at0054]` |
| `place_of_injury`<br />`place_of_injury_code`<br />`place_of_injury_system`<br />`place_of_injury_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Place of injury | `/data[at0001]/items[at0119]` |
| `date_of_injury` | `timestamptz` | yes | Date of injury | `/data[at0001]/items[at0120]` |
| `activity_at_the_time_of_injury`<br />`activity_at_the_time_of_injury_code`<br />`activity_at_the_time_of_injury_system`<br />`activity_at_the_time_of_injury_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Activity at the time of injury | `/data[at0001]/items[at0121]` |
| `pregnancy_context`<br />`pregnancy_context_code`<br />`pregnancy_context_system`<br />`pregnancy_context_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Pregnancy context | `/data[at0001]/items[at0110]` |
| `days_post_partum` | `interval` | yes | Days post partum | `/data[at0001]/items[at0106]` |
| `gestation_at_death` | `interval` | yes | Gestation at death | `/data[at0001]/items[at0044]` |
| `stillbirth_context`<br />`stillbirth_context_code`<br />`stillbirth_context_system`<br />`stillbirth_context_valueset_id` | coded text<br />`text`, `text`, `text`, `text` | yes | Stillbirth context | `/data[at0001]/items[at0116]` |
| `comment` | `text` | yes | Comment | `/data[at0001]/items[at0105]` |
| `information_source_s` | `text` | yes | Information source(s) | `/protocol[at0009]/items[at0103]` |
| `last_updated` | `timestamptz` | yes | Last updated | `/protocol[at0009]/items[at0101]` |

## Constraints

```sql
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

- `form_block_id`

## References

| Columns | Target | On delete |
|---|---|---|
| `form_id` | [`form`](/docs/tables/form) | cascade |
| `form_id, form_block_id` | [`form_block`](/docs/tables/form_block) | cascade |
| `manner_of_death_valueset_id, manner_of_death_code, manner_of_death_system, manner_of_death` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `place_category_valueset_id, place_category_code, place_category_system, place_category` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `place_of_injury_valueset_id, place_of_injury_code, place_of_injury_system, place_of_injury` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `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_injury` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `pregnancy_context_valueset_id, pregnancy_context_code, pregnancy_context_system, pregnancy_context` | [`valueset_code`](/docs/tables/valueset_code) | restrict |
| `stillbirth_context_valueset_id, stillbirth_context_code, stillbirth_context_system, stillbirth_context` | [`valueset_code`](/docs/tables/valueset_code) | restrict |

## Referenced by

- [`death_summary_structured_place_of_death`](/docs/tables/death_summary_structured_place_of_death) via `death_summary_id`

## Indexes

- `death_summary_form_id_idx` on `form_id`

## 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.

| Column | Type | Null | Description | Source |
|---|---|---|---|---|
| `id` | `uuid primary key` | no | Primary key. | — |
| `death_summary_id` | `uuid` → [`death_summary`](/docs/tables/death_summary) | no | — | — |
| `position` | `integer` | no | Order of this row within its parent, from zero. | — |
| `organization_id` | `uuid` | no | Structured place of death | `/data[at0001]/items[at0100]` |

#### Unique

- `death_summary_id, position`
- `death_summary_id, organization_id`

#### References

| Columns | Target | On delete |
|---|---|---|
| `death_summary_id` | [`death_summary`](/docs/tables/death_summary) | cascade |
| `organization_id` | [`organization`](/docs/tables/organization) | no action |

#### Indexes

- `death_summary_structured_place_of_death_organization_id_idx` on `organization_id`

## Value sets

| Value set | Codes |
|---|---|
| `org.openehr::openEHR-EHR-EVALUATION.death_summary.v1/pregnancy_context` | 4 |
| `org.openehr::openEHR-EHR-EVALUATION.death_summary.v1/stillbirth_context` | 2 |

