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
Posttraumatic stress disorder (PTSD) SNOMED CT
This codelist will be used to extract patients with Posttraumatic stress disorder (PTSD ) using OpenSAFELY. The codelist will be applied in studies looking at Trends and variations in the assessment, diagnosis, and treatment of PTSD.
Published by OpenSAFELY
Potassium (K) SNOMED CT
...
Published by Ardens
Pre-conception advice codes for people with epilepsy SNOMED CT
Taken from the `EPILPCA_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/).
Pre-conception advice inappropriate or declined exception codes SNOMED CT
Taken from the `EPILPCAEXC_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/).
Pre-diabetes codes SNOMED CT
Taken from the `PRD_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/).
Prediabetes (SNOMED) SNOMED CT
SNOMED codes from the NHS Digital Diabetes Audit data template.
Published by OpenSAFELY
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