This is the code related to our OpenPathology project. Specifically this repo stores ad-hoc analyses, papers, and related research. The code for the website (and online tool, when developed) are in their own repository.

Read more about OpenPathology


This is the website code for - a Django application that provides a REST API and dashboards for NHS Digital’s GP-level prescribing data and NHS BSA’s Detailed Prescribing Information Report. Information about data sources used on OpenPrescribing can be found here.

Read more about OpenPrescribing

OpenSAFELY Cohort Extractor

This is the code for the OpenSAFELY cohort extractor tool which supports the authoring of OpenSAFELY-compliant research, by: Allowing developers to generate random data based on their study expectations. They can then use this as input data when developing analytic models. Supporting downloading of codelist CSVs from the OpenSAFELY codelists repository, for incorporation into the study definition Providing tools to understand and visualise the properties of real data, without having direct access to it It is also the mechanism by which cohorts are extracted from live database backends within the OpenSAFELY framework.

Read more about OpenSAFELY Cohort Extractor

OpenSAFELY Job Runner

This is the repository for the OpenSAFELY job runner. A job runner is a service that encapsulates: the task of checking out an OpenSAFELY study repo; executing actions defined in its project.yaml configuration file when requested via a jobs queue; and storing its results in a particular locations. The documentation is aimed at developers looking for an overview of how the system works. It also has some parts relevant for end users, particularly the project.

Read more about OpenSAFELY Job Runner

OpenSAFELY Job Server

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).

Read more about OpenSAFELY Job Server

What is OpenSAFELY?

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.

Read more about What is OpenSAFELY?

OpenPrescribing July Newsletter

OpenPrescribing and Bennett Institute Papers It has been a busy month for paper publication at The Bennett Institute. 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.

Read more about OpenPrescribing July Newsletter

NHS Dictionary of medicines and devices (dm+d): primary care prescribing of "hospital only" medicines

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”.

Read more about NHS Dictionary of medicines and devices (dm+d): primary care prescribing of "hospital only" medicines

How I use OpenPrescribing in my practice as a GP

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.

Read more about How I use OpenPrescribing in my practice as a GP