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
Coronary artery bypass graft - Prosthetic replacement of coronary artery (Clean) (K43) OPCS-4
Procedure category: Coronary artery bypass graft - Open chest procedure to perform direct revascularization of heart, for example, using suitable vein from leg for grafting, internal mammary artery, among others. The minimum wound class for coronary artery bypass graft is clean.

Procedure subcategory: Prosthetic replacement of coronary artery (Clean) (K43)
Coronary artery bypass graft - Saphenous vein graft replacement of coronary artery (Clean) (K40) OPCS-4
Procedure category: Coronary artery bypass graft - Open chest procedure to perform direct revascularization of heart, for example, using suitable vein from leg for grafting, internal mammary artery, among others. The minimum wound class for coronary artery bypass graft is clean.

Procedure subcategory: Saphenous vein graft replacement of coronary artery (Clean) (K40)
Coronary heart disease (CHD) codes SNOMED CT
Taken from the `CHD_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/).
Coronary heart disease (CHD) exception codes SNOMED CT
Taken from the `CHDEXC_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/).
Coronavirus disease 2019 (COVID-19) therapeutics - antivirals and monoclonal antibodies used to treat COVID-19 dm+d
Taken from the `COVTHERAPYDRUG_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
Corticosteroid drug codes dm+d
Taken from the `C19CORSTEDRUG_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
Cough SNOMED CT
Asthma exacerbations codes derived by Hannah Whittaker (Imperial College London) and reviewed by Jenni Quint (Imperial College London) for CONVALESENCE Long Covid EHR project
Cranial Surgery - Destruction of pituitary gland (Clean) (B02) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Destruction of pituitary gland (Clean) (B02)
Cranial Surgery - Drainage of extradural space (Clean) (A40) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Drainage of extradural space (Clean) (A40)
Cranial Surgery - Drainage of lesion of tissue of brain (Clean) (A05) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Drainage of lesion of tissue of brain (Clean) (A05)
Cranial Surgery - Drainage of subdural space (Clean) (A41) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Drainage of subdural space (Clean) (A41)
Cranial Surgery - Excision of lesion of tissue of brain (Clean) (A02) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Excision of lesion of tissue of brain (Clean) (A02)
Cranial Surgery - Excision of pituitary gland (Clean) (B01) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Excision of pituitary gland (Clean) (B01)
Cranial Surgery - Extirpation of lesion of meninges of brain (Clean) (A38) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Extirpation of lesion of meninges of brain (Clean) (A38)
Cranial Surgery - Major excision of tissue of brain (Clean) (A01) OPCS-4
Procedure category: Cranial Surgery - Incision through the skull to excise, repair, or explore the brain, excludes taps or punctures.

Procedure subcategory: Major excision of tissue of brain (Clean) (A01)