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
Preferred language codes SNOMED CT
Taken from the `PREFLANG_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/).
Preferred place of death codes SNOMED CT
Taken from the `PREFPLDEATH_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/).
Pregabalin BNF
Used by the following [OpenPrescribing](https://openprescribing.net) measures:

* [Prescribing of pregabalin](https://openprescribing.net/measure/pregabalin/)
* [Prescribing of pregabalin (total mg)](https://openprescribing.net/measure/pregabalinmg/)
Published by OpenPrescribing
Pregabalin capsules BNF
Used by the following [OpenPrescribing](https://openprescribing.net) measures:

* [Pregabalin capsules prescribed as Lyrica](https://openprescribing.net/measure/lyrica/)
Published by OpenPrescribing
Pregnancy advice codes for people with epilepsy SNOMED CT
Taken from the `EPILPA_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/).
Pregnancy advice for people with epilepsy inappropriate or declined exception codes SNOMED CT
Taken from the `EPILPAEXC_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/).
Pregnancy codes recorded in the 8.5 months before the audit run date SNOMED CT
Taken from the `PREG_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Pregnancy codes recorded in the 8.5 months before the audit run date SNOMED CT
Taken from the `PREG_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Pregnancy or Delivery codes recorded in the 8.5 months before audit run date SNOMED CT
Taken from the `PREGDEL_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Pregnancy or Delivery codes recorded in the 8.5 months before audit run date SNOMED CT
Taken from the `PREGDEL_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1.2.1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Pregnant patients at any stage of pregnancy SNOMED CT
Taken from the `C19PREG_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/).
Primary immunodeficiency disorder codes SNOMED CT
Taken from the `PRIMIMMDEF_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/).
Private residence residency codes SNOMED CT
Taken from the `RESPRIV_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/).
Proactive care coordination needs assessment codes SNOMED CT
Taken from the `PCCNASS_COD` refset published by NHSD.
Proactive care needs assessment codes SNOMED CT
Taken from the `PCNASS_COD` refset published by NHSD.