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
Osteoporosis SNOMED CT
Taken from the OSTEO_COD refset published by NHSD.
Published by OpenSAFELY
Osteoporosis codes SNOMED CT
Taken from the `OSTEO_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/).
Other Antidepressants DM&D dm+d
This code list contains codes from the NHS dictionary of medicines and devices (dm+d) for a collection of antidepressants from the BNF Chapter 040304 known as Other Antidepressants. These medicines are all licensed for the treatment of depression. The following antidepressants from this chapter have been excluded: Flupenthixol, Levomilnacripan, Oxitriptan. See github discussion for further details. Trazodone and Mianserin (both from BNF Chapter 040301) have also been included in this codelist. …
Published by OpenSAFELY
Other Chronic Respiratory Disease CTV3
Codes indicating a diagnosis of a chronic respiratory disease excluding asthma, cystic fibrosis and associated diseases such as primary ciliary dyskinesia
Published by OpenSAFELY
Other Heart Disease CTV3
Chronic heart conditions, excluding heart failure
Published by OpenSAFELY
Other Neurological Conditions CTV3
Codes indicating other neurological conditions not including stroke or dementia
Published by OpenSAFELY
Other Neurological Conditions (SNOMED) SNOMED CT
Automatically-generated equivalent of [Other Neurological Conditions](/codelist/opensafely/other-neurological-conditions/)
Published by OpenSAFELY
Other Organ Transplant CTV3
Codes indicating other organ transplant (not kidney)
Published by OpenSAFELY
Other Respiratory Conditions CTV3
Patients who have any other chronic respiratory condition than COPD considered as a respiratory condition for the UK influenza surveillance programme. It covers: fibrosing lung disease, bronchiectasis or cystic fibrosis. Any code for either of these conditions will be taken to indicate presence of an 'other' chronic respiratory condition, absence of codes for either condition as absence of the disease.

Update 21-07-20: Removal of one CF screening code (Y2708 Cystic fibrosis screening test)
Published by OpenSAFELY
Other dementias (ICD10) V1.3 ICD-10
Other dementias (SNOMED-CT) V1.4 SNOMED CT
Other dementias (SNOMED-CT) V1.5 SNOMED CT
Other ethnic group Any other ethnic group ethnicity group codes (2016 grouping) SNOMED CT
Taken from the `ETH2016OO_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/).
Other ethnic group Any other ethnic group ethnicity group codes (2016 grouping) (obsolete) SNOMED CT
Taken from the `ETH2016OO_COD` refset published by NHSD.
Other ethnic group Arab ethnicity group codes (2016 grouping) SNOMED CT
Taken from the `ETH2016OA_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/).