opensafely.svg

OpenSAFELY

Restricted Access | Catalogue record last updated: 2026/05/28

OpenSAFELY is a secure analytics platform for electronic health records in the NHS. It is now successfully delivering analyses across more than 57 million patients' full pseudonymised primary care NHS records. The core patient-level data used within Open SAFELY is based on electronic GP records that are collected and securely stored to facilitate patient management by healthcare providers. They capture symptoms, test results, diagnoses, prescriptions, onward referrals, demographic and social characteristics, and so on. The data available follows a tiered structure of data of four different levels, each of which is permissioned separately. At each step, data privacy is increased through the removal of potentially identifiable data.


Scientific field(s): Emergency medicine, Primary health care
Data type(s):

There are 4 tiers of data; researchers can only access Level 4 data, and unrestricted data.

Level 4 includes aggregated patient-data (non patient-level data) derived from analyses run against Level 3 data, such as summary tables, summary statistics and the outputs from statistical models. Researchers access aggregated outputs derived from their analysis code.
Unrestricted access data are any Level 4 files that have been cleared by output-checkers and that are therefore considered to have negligible disclosure risk.

Data processing level: Aggregated
Method(s): Record linkage

Identifiable, event-level data is processed by the EHR vendor to create a database of pseudonymised coded event-level GP data which the OpenSAFELY service can access to run study queries against.

Associated ressources:
Catalogue record last updated: May 28, 2026, midnight