OpenCodelists

Welcome to OpenCodelists, created by OpenSAFELY for creating and sharing codelists.

Anybody can also use this tool to create and share codelists. To get started, take a look at the documentation or watch the videos.

If you would like to publish codelists on behalf of an organisation, please get in touch.

Below, you'll find all the codelists that have been used in OpenSAFELY research to date.


All codelists


Reset
Parkinson's Disease (ICD10) V1.3 ICD-10
Parkinson's Disease (SNOMED-CT) V1.3 SNOMED CT
Parkinson’s disease diagnosis codes SNOMED CT
Taken from the `PD_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Patient allocated named accountable general practitioner codes SNOMED CT
Taken from the `ALLOCATEGP_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Patient deceased codes SNOMED CT
Taken from the `DEATH_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Patient died in care home codes SNOMED CT
Taken from the `DECDCARHOM_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Patient not responded to three invites for cervical screening codes SNOMED CT
Taken from the `CSPCAINVITE_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Patients in long-stay nursing and residential care SNOMED CT
Taken from the `LONGRES_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Patients in long-stay nursing and residential care SNOMED CT
Taken from the `LONGRES_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Paxlovid (nirmatrelvir/ritonavir) absolute contraindications - dmd dm+d
This codelist contains drugs which are likely to contraindicate the use of Paxlovid (nirmatrelvir/ritonavir). This list is a refinement of previous "do not co-administer" lists to filter out drugs where mitigation strategies may be employed - e.g. withholding the drug during Paxlovid therapy.
See [GitHub issue](https://github.com/opensafely/codelist-development/issues/266) for full details.
Published by OpenSAFELY
Paxlovid - dmd dm+d
A codelist to identify all prescribing of Paxlovid (Nirmatrelvir with Ritonavir).

User requirements
Codelist needed to return all recorded prescriptions of Paxlovid in primary care records.
Published by OpenSAFELY
Peak expiratory flow rate (PEFR) codes SNOMED CT
Taken from the `PEFR_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Peak expiratory flow rate (PEFR) codes SNOMED CT
The PEFR_COD cluster in the asthma reference set taken from the Primary Care Domain Reference Set Portal, published by NHS Digital on 2021-12-21.
Published by OpenSAFELY
Peak expiratory flow rate variability done codes SNOMED CT
Taken from the `PEFRVAR_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Pemphigus codes SNOMED CT
Taken from the `PEMPHIGUS_COD` refset published by NHSD. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).