opensafely-core / cohort-extractor

Cohort extractor tool which can generate dummy data, or real data against OpenSAFELY-compliant research databases
Other
38 stars 13 forks source link

ONS-Mortality - addition of place of death field #696

Closed amirmehrkar closed 2 years ago

amirmehrkar commented 2 years ago

Existing Dataset: ONS-Mortality

Amend to add: EXTRA field "place of data" - Amir to obtain from ONS Schema

OpenSAFELY TPP only - Amir to inform

Timescale: ideally to expose Jan 2022 onwards

Development needs: cohort extractor to be able to query.

Purpose: approved Nuffield/ONS project: https://docs.google.com/document/d/118JpJGhioz3lJ_K4ZcYHG9FNvonrcir7yfEvqjXnb9M/edit#heading=h.ya05m3g3094i

@brianmackenna to be aware for when we allocate co-pilot

amirmehrkar commented 2 years ago

The ONS-mortality dataset is being updated for TPP from 10th January 2022 to TPP.

It will include a new field: Place of death.

The list of items will be categorised as:

TPP has received a sample extract to test. EMIS assessing impact before we determine if ONS will also send this new data field to them.

@brianmackenna @sebbacon this will need cohort extractor work to query.

brianmackenna commented 2 years ago

Are we getting place of death for all previous deaths or only new ones?

amirmehrkar commented 2 years ago

Should be all previous - that is what the Data Sharing Agreement implies and I have re-clarified today with ONS. See email forward.

rebkwok commented 2 years ago

@amirmehrkar This issue says that ONS-Mortality is an existing dataset. It's not in the TPP database; is it actually ONS_Deaths, or is that something different? Are we waiting on TPP adding it still? (Apologies for my ignorance :slightly_smiling_face:)

HelenCEBM commented 2 years ago

@rebkwok looks like this will replace the existing ONS deaths dataset (with same name) but include an extra column. However, TPP don't have this yet image