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
First Men B vaccination codes by another healthcare provider SNOMED CT
Taken from the `MENBVACOHP1_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/).
First Oxford AstraZeneca vaccination medication code SNOMED CT
Taken from the `AZD1RX_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
First Pfizer BioNTech vaccination medication code SNOMED CT
Taken from the `PFD1RX_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21 v1, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
First hepatitis B vaccination codes SNOMED CT
Taken from the `HEPBVAC1_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/).
Flu vaccination no consent codes SNOMED CT
Taken from the `FLUNC_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/).
Flu vaccine contraindications (expiring) SNOMED CT
Taken from the `FLUEXPCON_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/).
Flu vaccine contraindications (persisting) SNOMED CT
Taken from the `XFLU_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/).
Flu vaccine drug codes dm+d
Taken from the `FLUDRUG_COD` NHS drug refset. Contains public sector information licensed under the UK Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/).
Published by NHS Drug Refsets
Flu-like symptoms and upper and lower respiratory tract infection codes SNOMED CT
Taken from the `C19FLURTI_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/).
Flucloxacillin dm+d
Flucloxacillin dm+d
Flucloxacillin
Folate level SNOMED CT
...
Published by Ardens
Foot risk classification codes SNOMED CT
Taken from the `FRC_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/).
Foot ulcer or infection or ischaemia codes SNOMED CT
Taken from the `FOOTULCERINFECTISCH_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/).
Former smoker SNOMED CT
Taken from the EXSMOK_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/).

Original codelist here: https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/exsmok_cod/20250627/
Published by REDUCEHF