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
Congenital malformation codes required for EPP SNOMED CT
Taken from the `EPPCONGMALF_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/).
Consent to share demographic information for retinal screening codes SNOMED CT
Taken from the `DRSCON_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/).
Consent to share demographic information for retinal screening withheld codes SNOMED CT
Taken from the `DRSCONWTHLD_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/).
Constipation treatment codes dm+d
Taken from the `CONSTIPMED_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
Contraceptive counselling codes for people with epilepsy SNOMED CT
Taken from the `EPILCC_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/).
Contraceptive counselling for people with epilepsy inappropriate or declined exception codes SNOMED CT
Taken from the `EPILCCEXC_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 artery bypass graft - Connection of thoracic artery to coronary artery (Clean) (K45) 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: Connection of thoracic artery to coronary artery (Clean) (K45)
Coronary artery bypass graft - Other autograft replacement of coronary artery (Clean) (K41) 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: Other autograft replacement of coronary artery (Clean) (K41)
Coronary artery bypass graft - Other bypass of coronary artery (Clean) (K46) 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: Other bypass of coronary artery (Clean) (K46)
Coronary artery bypass graft - Other replacement of coronary artery (Clean) (K44) 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: Other replacement of coronary artery (Clean) (K44)
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