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

OpenSAFELY: Representativeness of Electronic Health Record platform OpenSAFELY-TPP data compared to the population of England

View ORCID ProfileColm D Andrews, View ORCID ProfileAnna Schultze, View ORCID ProfileHelen J Curtis, View ORCID ProfileWilliam J Hulme, View ORCID ProfileJohn Tazare, Stephen JW Evans, View ORCID ProfileAmir Mehrkhar, View ORCID ProfileSeb Bacon, View ORCID ProfileGeorge Hickman, View ORCID ProfileChris Bates, John Parry, Frank Hester, Sam Harper, View ORCID ProfileJonathan Cockburn, View ORCID ProfileDavid Evans, View ORCID ProfileTom Ward, View ORCID ProfileSimon Davey, View ORCID ProfilePeter Inglesby, View ORCID ProfileBen Goldacre, View ORCID ProfileBrian MacKenna, View ORCID ProfileLaurie Tomlinson, View ORCID ProfileAlex J Walker
doi: https://doi.org/10.1101/2022.06.23.22276802
Colm D Andrews
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Colm D Andrews
  • For correspondence: colm.andrews{at}phc.ox.ac.uk
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
Helen J Curtis
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Helen J Curtis
William J Hulme
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for William J Hulme
John Tazare
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 John Tazare
Stephen JW 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
Amir Mehrkhar
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Amir Mehrkhar
Seb Bacon
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Seb Bacon
George Hickman
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for George Hickman
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
  • ORCID record for Chris Bates
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
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
  • ORCID record for Jonathan Cockburn
David Evans
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for David Evans
Tom Ward
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Tom Ward
Simon Davey
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Simon Davey
Peter Inglesby
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Peter Inglesby
Ben Goldacre
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Ben Goldacre
Brian MacKenna
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • 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
Alex J Walker
1The DataLab, Nuffield Department of Primary Care Health Sciences, University of Oxford, OX26GG
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Alex J Walker
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Background Since its inception in March 2020, data from the OpenSAFELY-TPP electronic health record platform has been used for more than 50 studies relating to the global COVID-19 emergency. OpenSAFELY-TPP data is derived from practices in England using SystmOne software, and has been used for the majority of these studies. We set out to investigate the representativeness of OpenSAFELY-TPP data by comparing it to national population estimates.

Methods With the approval of NHS England, we describe the age, sex, Index of Multiple Deprivation and ethnicity of the OpenSAFELY-TPP population compared to national estimates from the Office for National Statistics. The five leading causes of death occurring between the 1st January 2020 and the 31st December 2020 were also compared to deaths registered in England during the same period.

Results Despite regional variations, TPP is largely representative of the general population of England in terms of IMD (all within 1.1 percentage points), age, sex (within 0.1 percentage points), ethnicity and causes of death. The proportion of the five leading causes of death is broadly similar to those reported by ONS (all within 1 percentage point).

Conclusions Data made available via OpenSAFELY-TPP is broadly representative of the English population.

Summary Users of OpenSAFELY must consider the issues of representativeness, generalisability and external validity associated with using TPP data for health research. Although the coverage of TPP practices varies regionally across England, TPP registered patients are generally representative of the English population as a whole in terms of key demographic characteristics.

Key messages

  • There is regional variability across England in terms of key population characteristics

  • Users of OpenSAFELY should carefully consider the issues of representativeness, generalisability and external validity associated with using TPP data for health research.

  • TPP registered patients are a representative sub-sample of the English population as a whole in terms of age, sex, IMD and ethnicity.

  • The proportions of the five leading causes of death in TPP in 2020 are broadly similar to those reported by ONS.

Competing Interest Statement

BG has received research funding from the Laura and John Arnold Foundation, the NHS National Institute for Health Research (NIHR), the NIHR School of Primary Care Research, the NIHR Oxford Biomedical Research Centre, the Mohn-Westlake Foundation, NIHR Applied Research Collaboration Oxford and Thames Valley, the Wellcome Trust, the Good Thinking Foundation, Health Data Research UK, the Health Foundation, the World Health Organisation, UKRI, Asthma UK, the British Lung Foundation, and the Longitudinal Health and Wellbeing strand of the National Core Studies programme; he also receives personal income from speaking and writing for lay audiences on the misuse of science.

Funding Statement

This work was jointly funded by UKRI [COV0076;MR/V015737/1] NIHR and Asthma UK-BLF and the Longitudinal Health and Wellbeing strand of the National Core Studies programme.The OpenSAFELY data science platform is funded by the Wellcome Trust. BG's work on better use of data in healthcare more broadly is currently funded in part by: the Wellcome Trust, NIHR Oxford Biomedical Research Centre, NIHR Applied Research Collaboration Oxford and Thames Valley, the Mohn-Westlake 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. AS is employed by LSHTM on a fellowship sponsored by GSK. KB holds a Wellcome Senior Research Fellowship (220283/Z/20/Z). BMK is also employed by NHS England working on medicines policy and clinical lead for primary care medicines data.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

NHS England is the data controller; TPP is the data processor; and the researchers on OpenSAFELY are acting with the approval of NHS England. This implementation of OpenSAFELY is hosted within the TPP environment which is accredited to the ISO 27001 information security standard and is NHS IG Toolkit compliant;(22,23) patient data has been pseudonymised for analysis and linkage using industry standard cryptographic hashing techniques; all pseudonymised datasets transmitted for linkage onto OpenSAFELY are encrypted; access to the platform is via a virtual private network (VPN) connection, restricted to a small group of researchers; the researchers hold contracts with NHS England and only access the platform to initiate database queries and statistical models; all database activity is logged; only aggregate statistical outputs leave the platform environment following best practice for anonymisation of results such as statistical disclosure control for low cell counts.(24) The OpenSAFELY research platform adheres to the obligations of the UK General Data Protection Regulation (GDPR) and the Data Protection Act 2018. In March 2020, the Secretary of State for Health and Social Care used powers under the UK Health Service (Control of Patient Information) Regulations 2002 (COPI) to require organisations to process confidential patient information for the purposes of protecting public health, providing healthcare services to the public and monitoring and managing the COVID-19 outbreak and incidents of exposure; this sets aside the requirement for patient consent.(25) Taken together, these provide the legal bases to link patient datasets on the OpenSAFELY platform. GP practices, from which the primary care data are obtained, are required to share relevant health information to support the public health response to the pandemic, and have been informed of the OpenSAFELY analytics platform. This study was approved by the Health Research Authority (REC reference 20/LO/0651) and by the LSHTM Ethics Board (reference 21863).

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

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

Data Availability

Access to the underlying identifiable and potentially re-identifiable pseudonymised electronic health record data is tightly governed by various legislative and regulatory frameworks, and restricted by best practice. The data in OpenSAFELY is drawn from General Practice data across England where TPP is the Data Processor. TPP developers (CB, JC, JP, FH, and SH) initiate an automated process to create pseudonymised records in the core OpenSAFELY database, which are copies of key structured data tables in the identifiable records. These are linked onto key external data resources that have also been pseudonymised via SHA-512 one-way hashing of NHS numbers using a shared salt. DataLab developers and PIs (BG, LS, CEM, SB, AJW, KW, WJH, HJC, DE, PI, SD, GH, BBC, RMS, ID, KB, SE, EJW and CTR) holding contracts with NHS England have access to the OpenSAFELY pseudonymised data tables as needed to develop the OpenSAFELY tools. These tools in turn enable researchers with OpenSAFELY Data Access Agreements to write and execute code for data management and data analysis without direct access to the underlying raw pseudonymised patient data, and to review the outputs of this code.

  • Abbreviations

    EHR
    Electronic Health Record
    ICD
    International Classification of Diseases
    IMD
    Index of Multiple Deprivation
    NUTS
    Nomenclature of Territorial Units for Statistics
    ONS
    Office for National Statistics
    SUS
    Secondary Uses Service
  • 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 June 23, 2022.
    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: Representativeness of Electronic Health Record platform OpenSAFELY-TPP data compared to the population of England
    (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: Representativeness of Electronic Health Record platform OpenSAFELY-TPP data compared to the population of England
    Colm D Andrews, Anna Schultze, Helen J Curtis, William J Hulme, John Tazare, Stephen JW Evans, Amir Mehrkhar, Seb Bacon, George Hickman, Chris Bates, John Parry, Frank Hester, Sam Harper, Jonathan Cockburn, David Evans, Tom Ward, Simon Davey, Peter Inglesby, Ben Goldacre, Brian MacKenna, Laurie Tomlinson, Alex J Walker
    medRxiv 2022.06.23.22276802; doi: https://doi.org/10.1101/2022.06.23.22276802
    Twitter logo Facebook logo LinkedIn logo Mendeley logo
    Citation Tools
    OpenSAFELY: Representativeness of Electronic Health Record platform OpenSAFELY-TPP data compared to the population of England
    Colm D Andrews, Anna Schultze, Helen J Curtis, William J Hulme, John Tazare, Stephen JW Evans, Amir Mehrkhar, Seb Bacon, George Hickman, Chris Bates, John Parry, Frank Hester, Sam Harper, Jonathan Cockburn, David Evans, Tom Ward, Simon Davey, Peter Inglesby, Ben Goldacre, Brian MacKenna, Laurie Tomlinson, Alex J Walker
    medRxiv 2022.06.23.22276802; doi: https://doi.org/10.1101/2022.06.23.22276802

    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

    • Primary Care Research
    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)