OpenSAFELY datasets
OpenSAFELY provides access to national-scale health datasets.
Currently available English datasets are:
- General practice coded events (diagnoses, symptoms/obs, procedures, prescriptions, vaccines, appointments, demographics, births, deaths) for patients registered in TPP practices since 2009;
- Hospital spells (from 2016), outpatients (from 2019) and A&E (from 2019), for patients registered in TPP practices, with a core set of commonly used fields available;
- ONS deaths (from 2019), including date and all causes.
You can read more detailed information about these datasets in our Documentation.
⚠️ NOTE: Certain types of analysis pose challenges in datasets like these due to lack of consistent recording or other complexity, such as questions focused on mental health, pregnancy, referrals, diagnostic imaging, consultation activity, prescription indications and school-age vaccinations. If you are planning a study that depends upon this kind of information please contact us to discuss in more detail.