Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

OpenSAFELY: factors associated with COVID-19-related hospital death in the linked electronic health records of 17 million adult NHS patients

The OpenSAFELY Collaborative, View ORCID ProfileElizabeth Williamson, View ORCID ProfileAlex J Walker, View ORCID ProfileKrishnan Bhaskaran, View ORCID ProfileSeb Bacon, Chris Bates, View ORCID ProfileCaroline E Morton, View ORCID ProfileHelen J Curtis, Amir Mehrkar, David Evans, Peter Inglesby, Jonathan Cockburn, Helen I McDonald, View ORCID ProfileBrian MacKenna, View ORCID ProfileLaurie Tomlinson, View ORCID ProfileIan J Douglas, View ORCID ProfileChristopher T Rentsch, View ORCID ProfileRohini Mathur, View ORCID ProfileAngel Wong, View ORCID ProfileRichard Grieve, View ORCID ProfileDavid Harrison, Harriet Forbes, View ORCID ProfileAnna Schultze, View ORCID ProfileRichard Croker, John Parry, Frank Hester, Sam Harper, View ORCID ProfileRaf Perera, Stephen Evans, View ORCID ProfileLiam Smeeth, View ORCID ProfileBen Goldacre
doi: https://doi.org/10.1101/2020.05.06.20092999
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
Elizabeth Williamson
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Elizabeth Williamson
Alex J Walker
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alex J Walker
Krishnan Bhaskaran
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Krishnan Bhaskaran
Seb Bacon
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Seb Bacon
Chris Bates
3TPP, TPP House, 129 Low Lane, Horsforth, Leeds, LS18 5PX
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Caroline E Morton
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Caroline E Morton
Helen J Curtis
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Helen J Curtis
Amir Mehrkar
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
David Evans
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Peter Inglesby
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Jonathan Cockburn
3TPP, TPP House, 129 Low Lane, Horsforth, Leeds, LS18 5PX
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Helen I McDonald
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
5NIHR Health Protection Research Unit (HPRU) in Immunisation
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Brian MacKenna
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Brian MacKenna
Laurie Tomlinson
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Laurie Tomlinson
Ian J Douglas
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Ian J Douglas
Christopher T Rentsch
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Christopher T Rentsch
Rohini Mathur
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Rohini Mathur
Angel Wong
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Angel Wong
Richard Grieve
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Richard Grieve
David Harrison
4ICNARC, 24 High Holborn, Holborn, London WC1V 6AZ
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for David Harrison
Harriet Forbes
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Anna Schultze
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Anna Schultze
Richard Croker
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Richard Croker
John Parry
3TPP, TPP House, 129 Low Lane, Horsforth, Leeds, LS18 5PX
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Frank Hester
3TPP, TPP House, 129 Low Lane, Horsforth, Leeds, LS18 5PX
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Sam Harper
3TPP, TPP House, 129 Low Lane, Horsforth, Leeds, LS18 5PX
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Raf Perera
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Raf Perera
Stephen Evans
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Liam Smeeth
2London School of Hygiene and Tropical Medicine, Keppel Street, London WC1E 7HT
5NIHR Health Protection Research Unit (HPRU) in Immunisation
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Liam Smeeth
Ben Goldacre
1The DataLab, Nuffield Dept of Primary Care Health Sciences, University of Oxford, OX2 6GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Ben Goldacre
  • For correspondence: ben.goldacre{at}phc.ox.ac.uk
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Background Establishing who is at risk from a novel rapidly arising cause of death, and why, requires a new approach to epidemiological research with very large datasets and timely data. Working on behalf of NHS England we therefore set out to deliver a secure and pseudonymised analytics platform inside the data centre of a major primary care electronic health records vendor establishing coverage across detailed primary care records for a substantial proportion of all patients in England. The following results are preliminary.

Data sources Primary care electronic health records managed by the electronic health record vendor TPP, pseudonymously linked to patient-level data from the COVID-19 Patient Notification System (CPNS) for death of hospital inpatients with confirmed COVID-19, using the new OpenSAFELY platform.

Population 17,425,445 adults.

Time period 1st Feb 2020 to 25th April 2020.

Primary outcome Death in hospital among people with confirmed COVID-19.

Methods Cohort study analysed by Cox-regression to generate hazard ratios: age and sex adjusted, and multiply adjusted for co-variates selected prospectively on the basis of clinical interest and prior findings.

Results There were 5683 deaths attributed to COVID-19. In summary after full adjustment, death from COVID-19 was strongly associated with: being male (hazard ratio 1.99, 95%CI 1.88-2.10); older age and deprivation (both with a strong gradient); uncontrolled diabetes (HR 2.36 95% CI 2.18-2.56); severe asthma (HR 1.25 CI 1.08-1.44); and various other prior medical conditions. Compared to people with ethnicity recorded as white, black people were at higher risk of death, with only partial attenuation in hazard ratios from the fully adjusted model (age-sex adjusted HR 2.17 95% CI 1.84-2.57; fully adjusted HR 1.71 95% CI 1.44-2.02); with similar findings for Asian people (age-sex adjusted HR 1.95 95% CI 1.73-2.18; fully adjusted HR 1.62 95% CI 1.431.82).

Conclusions We have quantified a range of clinical risk factors for death from COVID-19, some of which were not previously well characterised, in the largest cohort study conducted by any country to date. People from Asian and black groups are at markedly increased risk of in-hospital death from COVID-19, and contrary to some prior speculation this is only partially attributable to pre-existing clinical risk factors or deprivation; further research into the drivers of this association is therefore urgently required. Deprivation is also a major risk factor with, again, little of the excess risk explained by co-morbidity or other risk factors. The findings for clinical risk factors are concordant with policies in the UK for protecting those at highest risk. Our OpenSAFELY platform is rapidly adding further NHS patients’ records; we will update and extend these results regularly.

Competing Interest Statement

CB JP FH JC SH are employees of TPP.

Funding Statement

No dedicated funding has yet been obtained for this work. TPP provided technical expertise and infrastructure within their data centre pro bono in the context of a national emergency. BG's work on better use of data in healthcare more broadly is currently funded in part by: NIHR Oxford Biomedical Research Centre, NIHR Applied Research Collaboration Oxford and Thames Valley, the Mohn-Westlake Foundation, NHS England, and the Health Foundation; all DataLab staff are supported by BG's grants on this work. LS reports grants from Wellcome, MRC, NIHR, UKRI, British Council, GSK, British Heart Foundation, and Diabetes UK outside this work. KB holds a Sir Henry Dale fellowship jointly funded by Wellcome and the Royal Society. HIM is funded by the National Institute for Health Research (NIHR) Health Protection Research Unit in Immunisation, a partnership between Public Health England and LSHTM. AW holds a fellowship from BHF. RM holds a Sir Henry Wellcome fellowship. EW holds grants from MRC. RG holds grants from NIHR and MRC. ID golds grants from NIHR and GSK. RM holds a Sir Henry Wellcome Fellowship funded by the Wellcome Trust. HF holds a UKRI fellowship. The views expressed are those of the authors and not necessarily those of the NIHR, NHS England, Public Health England or the Department of Health and Social Care. Funders had no role in the study design, collection, analysis, and interpretation of data; in the writing of the report; and in the decision to submit the article for publication.

Author Declarations

All relevant ethical guidelines have been followed; any necessary IRB and/or ethics committee approvals have been obtained and details of the IRB/oversight body are included in the manuscript.

Yes

All necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines and uploaded the relevant EQUATOR Network research reporting checklist(s) and other pertinent material as supplementary files, if applicable.

Yes

Footnotes

  • † Joint principal investigators

Data Availability

All code for data management and analysis is archived online at https://github.com/ebmdatalab/opensafely-risk-factors-research. All clinical and medicines codelists are openly available for inspection and reuse at https://codelists.opensafely.org/.

https://github.com/ebmdatalab/opensafely-risk-factors-research

https://codelists.opensafely.org/

Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY 4.0 International license.
Back to top
PreviousNext
Posted May 07, 2020.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
OpenSAFELY: factors associated with COVID-19-related hospital death in the linked electronic health records of 17 million adult NHS patients
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
OpenSAFELY: factors associated with COVID-19-related hospital death in the linked electronic health records of 17 million adult NHS patients
The OpenSAFELY Collaborative, Elizabeth Williamson, Alex J Walker, Krishnan Bhaskaran, Seb Bacon, Chris Bates, Caroline E Morton, Helen J Curtis, Amir Mehrkar, David Evans, Peter Inglesby, Jonathan Cockburn, Helen I McDonald, Brian MacKenna, Laurie Tomlinson, Ian J Douglas, Christopher T Rentsch, Rohini Mathur, Angel Wong, Richard Grieve, David Harrison, Harriet Forbes, Anna Schultze, Richard Croker, John Parry, Frank Hester, Sam Harper, Raf Perera, Stephen Evans, Liam Smeeth, Ben Goldacre
medRxiv 2020.05.06.20092999; doi: https://doi.org/10.1101/2020.05.06.20092999
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
OpenSAFELY: factors associated with COVID-19-related hospital death in the linked electronic health records of 17 million adult NHS patients
The OpenSAFELY Collaborative, Elizabeth Williamson, Alex J Walker, Krishnan Bhaskaran, Seb Bacon, Chris Bates, Caroline E Morton, Helen J Curtis, Amir Mehrkar, David Evans, Peter Inglesby, Jonathan Cockburn, Helen I McDonald, Brian MacKenna, Laurie Tomlinson, Ian J Douglas, Christopher T Rentsch, Rohini Mathur, Angel Wong, Richard Grieve, David Harrison, Harriet Forbes, Anna Schultze, Richard Croker, John Parry, Frank Hester, Sam Harper, Raf Perera, Stephen Evans, Liam Smeeth, Ben Goldacre
medRxiv 2020.05.06.20092999; doi: https://doi.org/10.1101/2020.05.06.20092999

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • Epidemiology
Subject Areas
All Articles
  • Addiction Medicine (349)
  • Allergy and Immunology (668)
  • Allergy and Immunology (668)
  • Anesthesia (181)
  • Cardiovascular Medicine (2648)
  • Dentistry and Oral Medicine (316)
  • Dermatology (223)
  • Emergency Medicine (399)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (942)
  • Epidemiology (12228)
  • Forensic Medicine (10)
  • Gastroenterology (759)
  • Genetic and Genomic Medicine (4103)
  • Geriatric Medicine (387)
  • Health Economics (680)
  • Health Informatics (2657)
  • Health Policy (1005)
  • Health Systems and Quality Improvement (985)
  • Hematology (363)
  • HIV/AIDS (851)
  • Infectious Diseases (except HIV/AIDS) (13695)
  • Intensive Care and Critical Care Medicine (797)
  • Medical Education (399)
  • Medical Ethics (109)
  • Nephrology (436)
  • Neurology (3882)
  • Nursing (209)
  • Nutrition (577)
  • Obstetrics and Gynecology (739)
  • Occupational and Environmental Health (695)
  • Oncology (2030)
  • Ophthalmology (585)
  • Orthopedics (240)
  • Otolaryngology (306)
  • Pain Medicine (250)
  • Palliative Medicine (75)
  • Pathology (473)
  • Pediatrics (1115)
  • Pharmacology and Therapeutics (466)
  • Primary Care Research (452)
  • Psychiatry and Clinical Psychology (3432)
  • Public and Global Health (6527)
  • Radiology and Imaging (1403)
  • Rehabilitation Medicine and Physical Therapy (814)
  • Respiratory Medicine (871)
  • Rheumatology (409)
  • Sexual and Reproductive Health (410)
  • Sports Medicine (342)
  • Surgery (448)
  • Toxicology (53)
  • Transplantation (185)
  • Urology (165)