This is the code for the OpenSAFELY job server designed for mediating jobs that can be run in an OpenSAFELY secure environment. The Django app provides a simple REST API which provides a channel for communicating between low-security environments (which can request that jobs be run) and high-security environments (where jobs are run).
What is OpenSAFELY? Working on behalf of NHS England we have now built a full, open source, highly secure analytics platform running across the full pseudonymised primary care records of 24 million people, rising soon to 55 million, 95% of the population of England. We have pursued a new model: for privacy, security, low cost, and near-real-time data access, we have built the analytics platform inside the EHR data centre of the major EHR providers, where the data already resides; in addition we have built software that uses tiered increasingly non-disclosive tables to prevent researchers ever needing direct access to the disclosive underlying data to run analyses; code is developed against simulated data using open platforms before moving to the live data environment.
OpenPrescribing and DataLab Papers It has been a busy month for paper publication at The DataLab. We have written a brief description of the most recent papers below. Please sharewith colleagues and get in touch if you have any relevant observations! Remember you can read all our academic papers related to OpenPrescribing on our research page.
Hospital medicines data: We are frequently contacted at OpenPrescribing about when we are going to make a hospital version.
Update May 2021 Based on feedback received from users, the NHS dictionary of medicines and devices has decided to cease maintenance of the “hospital only” value at AMP level (it remains at AMPP level). As a result this means that we are no longer able to produce our “Hospital Only measure” and we have retired it.
Just prior to the COVID-19 emergency we launched a new measure on OpenPrescribing, primary care prescribing of medicines defined by the NHS dictionary of medicines (dm+d) and devices as “hospital only”.
A guest blog from Dr. Kevin Barrett (Twitter <@DrKBarrett>).
Last week the British Journal of General Practice published our paper on unsafe prescribing of methotrexate. As part of the publication Dr. Kevin Barrett talked to BJGP (see video below) about how he used OpenPrescribing to identify potentially unsafe prescribing in his practice and has also written a short blog below.
When I first started as a GP trainee in 1999 electronic prescribing was a relatively recent innovation.
Methotrexate Prescribing Safety — New paper in BJGP This week the British Journal of General Practice published our latest paper on unsafe prescribing of methotrexate. We found that the prevalence of unsafe methotrexate prescribing (10mg tablets) has reduced but remains common, with substantial variation between practices and CCGs. In the paper we also discuss recommendations for better strategies around implementation.
Anyone can view the live data on unsafe methotrexate prescribing at openprescribing.
At OpenPrescribing we know that clinicians can be overwhelmed with guidance and data about many different aspects of care. We therefore have developed an innovative email alert service for every single practice, primary care network and clinical commissioning group in England that delivers bespoke custom emails to your inbox about your own organisations prescribing.
To sign up to your organisation’s alerts all you need to do is:
Go your organisation’s homepage.
OpenSAFELY.org OpenSAFELY is a new secure analytics platform for electronic health records in the NHS, created to deliver urgent results during the global COVID-19 emergency. OpenSAFELY is a collaboration between the DataLab, the EHR group at London School of Hygiene and Tropical Medicine and TPP who produce SystmOne. OpenSAFELY is now successfully delivering analyses across more than 24 million patients' full pseudonymised primary care NHS records. The first analysis from OpenSAFELY is Factors associated with COVID-19-related hospital death in the linked electronic health records of 17 million adult NHS patients with more answers to important questions expected shortly.
OpenPrescribing.net has been updated this week with the latest release of prescribing data covering March 2020. In-depth analysis will be needed over the coming months, but this release gives us the first glimpse into the impact that COVID-19 has had on prescribing. At the DataLab we have been quite busy with the new secure analytics platform OpenSAFELY but the following blog is a rapid analysis of the March prescribing data which others may find helpful to focus their own investigations.
This repository contains the data cleaning notebook, all necessary datasets, and the code for running the COVID-19 TrialsTracker website at covid19.trialstracker.net. Docker files are included to ensure a consistent environment for reproducibility.