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
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/).
Penicillamine BNF
Published by OpenSAFELY
Penicillamine dmd dm+d
dm+d codelist for penicillamine
Published by OpenSAFELY
Penicillins (antibacterials) dm+d
Penicillins codelist extracted from antibacterials codelist (https://www.opencodelists.org/codelist/opensafely/antibacterials/27089eaa/)
Published by UKHSA
Peptic ulceration codes SNOMED CT
Taken from the `PEPTICULCER_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/).
Peripheral arterial disease (PAD) diagnostic codes SNOMED CT
Taken from the `PAD_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/).
Peripheral arterial disease (PAD) exception codes SNOMED CT
Taken from the `PADEXC_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/).
Permanent Immunosuppression CTV3
Codes indicating a diagnosis of a permanent immunosuppression excluding HIV, and including genetic causes of immunosuppression
Published by OpenSAFELY
Permanent Immunosuppression (SNOMED) SNOMED CT
Automatically-generated equivalent of [Permanent Immunosuppression](/codelist/opensafely/permanent-immunosuppression/)
Published by OpenSAFELY
Permanent loss of childbearing potential (female patients) SNOMED CT
Identifies codes which indicate a definite loss of childbearing potential which cannot plausibly be restored. The scope of the codelist is limited to female patients.
Published by OpenSAFELY
Persistent proteinuria codes SNOMED CT
Taken from the `NDAPRT_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/).
Personalised Care and Support Plan agreed codes SNOMED CT
Taken from the `PCSPAGRE_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/).