search:
boost: 0.5
Available on backends: EMIS
This schema defines the data (both primary care and externally linked) available in the
OpenSAFELY-EMIS backend. For more information about this backend, see
"EMIS Primary Care".
The data provided by this schema are minimally transformed. They are very close to the
data provided by the underlying database tables. They are provided for data development
and data curation purposes.
from ehrql.tables.raw.emis import (
ons_deaths,
)
many rows per patient
Registered deaths
Date and cause of death based on information recorded when deaths are
certified and registered in England and Wales from February 2019 onwards.
The data provider is the Office for National Statistics (ONS).
This table includes the underlying cause of death and up to 15 medical conditions mentioned on the death certificate.
These codes (cause_of_death_01
to cause_of_death_15
) are not ordered meaningfully.
More information about this table can be found in following documents provided by the ONS:
In the associated database table a small number of patients have multiple registered deaths.
This table contains all registered deaths.
The ehrql.tables.core.ons_deaths
table contains the earliest registered death.
!!! tip
To return one row per patient from ehrql.tables.raw.core.ons_deaths
,
for example the latest registered death, you can use:
```py
ons_deaths.sort_by(ons_deaths.date).last_for_patient()
```
date
Patient's date of death.
ICD-10 code
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.
ICD-10 code
Medical condition mentioned on the death certificate.