OpenSAFELY: A platform for analysing electronic health records designed for reproducible research
Linda Nab,Andrea L. Schaffer,William Hulme,Nicholas J. DeVito,Iain Dillingham,Milan Wiedemann,Colm D. Andrews,Helen Curtis,Louis Fisher,Amelia Green,Jon Massey,Caroline E. Walters,Rose Higgins,Christine Cunningham,Jessica Morley,Amir Mehrkar,Liam Hart,Simon Davy,David Evans,George Hickman,Peter Inglesby,Caroline E. Morton,Rebecca M. Smith,Tom Ward,Thomas O'Dwyer,Steven Maude,Lucy Bridges,Ben F. C. Butler‐Cole,Catherine L. Stables,Pete Stokes,Chris Bates,Jonny Cockburn,Frank Hester,John Parry,Krishnan Bhaskaran,Anna Schultze,Christopher T. Rentsch,Rohini Mathur,Laurie A. Tomlinson,Elizabeth J. Williamson,Liam Smeeth,Alex Walker,Sebastian Bacon,Brian MacKenna,Ben Goldacre
DOI: https://doi.org/10.1002/pds.5815
2024-05-25
Pharmacoepidemiology and Drug Safety
Abstract:Electronic health records (EHRs) and other administrative health data are increasingly used in research to generate evidence on the effectiveness, safety, and utilisation of medical products and services, and to inform public health guidance and policy. Reproducibility is a fundamental step for research credibility and promotes trust in evidence generated from EHRs. At present, ensuring research using EHRs is reproducible can be challenging for researchers. Research software platforms can provide technical solutions to enhance the reproducibility of research conducted using EHRs. In response to the COVID‐19 pandemic, we developed the secure, transparent, analytic open‐source software platform OpenSAFELY designed with reproducible research in mind. OpenSAFELY mitigates common barriers to reproducible research by: standardising key workflows around data preparation; removing barriers to code‐sharing in secure analysis environments; enforcing public sharing of programming code and codelists; ensuring the same computational environment is used everywhere; integrating new and existing tools that encourage and enable the use of reproducible working practices; and providing an audit trail for all code that is run against the real data to increase transparency. This paper describes OpenSAFELY's reproducibility‐by‐design approach in detail.
pharmacology & pharmacy,public, environmental & occupational health