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
Non-asthma and non-COPD chronic respiratory disease codes SNOMED CT
Taken from the `C19RESP_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/).
Non-diabetic hyperglycaemia codes SNOMED CT
Taken from the `NDH_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/).
Non-english-speaking SNOMED CT
Codelist for identifying people whose preferred language is not English, based on this codelist: https://www.opencodelists.org/codelist/nhsd-primary-care-domain-refsets/preflang_cod/20250627

Note - both non-English spoken languages and sign language are included in this codelist.
Published by REDUCEHF
Non-haematological cancer diagnosis codes with or without associated treatment SNOMED CT
Taken from the `C19CAN_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/).
Non-haematological cancer morphology codes excluding skin basal cell and squamous cancers SNOMED CT
Taken from the `NHAEMCANMORPH_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/).
Non-haemorrhagic stroke codes SNOMED CT
Taken from the `OSTR_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/).
Non-high density lipoprotein (Non-HDL) cholesterol test result codes SNOMED CT
Taken from the `NONHDLCCHOL_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/).
Non-high dose long acting opioids (OpenPrescribing) - dm+d dm+d
dm+d version of non-high dose opioid codelist.

Taken from long-acting opioid denominator in OpenPrescribing, with a calculated Oral Morphine Equivalence of <120mg a day of a long acting regular opioid.
Published by OpenSAFELY
Non-high dose long acting opioids (OpenPrescribing) - Pseudo BNF BNF
Taken from long-acting opioid denominator in OpenPrescribing, with a calculated Oral Morphine Equivalence of <120mg a day of a long acting regular opioid.

From OpenPrescribing: "The calculations are based on likely doses of long acting, regular opioids, for example morphine sulphate tablets or fentanyl patches. For example, we have assumed that MST 60mg tablets are “high dose”, as they are usually taken as one tablet twice daily (120mg daily dose), whereas MST 30mg are not, as the daily dose…
Published by OpenSAFELY
Non-selective betablocker medication codes dm+d
Taken from the `NONSELBBDRUG_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
Nonvariceal GI Bleeding ICD10 ICD-10
Nonvariceal GI bleeding SNOMED SNOMED CT
Non‐alcoholic steatohepatitis ICD10 ICD-10
Non‐alcoholic steatohepatitis SNOMED SNOMED CT
North and East Devon Formulary - 1st line drugs (green) BNF
Published by NHS Devon