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
Oral heath review codes SNOMED CT
Taken from the `ORALHEALTHREV_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/).
Oral non-steroidal anti-inflammatory drugs (NSAIDs) dm+d
Taken from the `ORALNSAIDDRUG_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
Oral prednisolone codes dm+d
Taken from the `ASTRXM2_COD` field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Orthopaedic Procedure Codes (OPCS-4) - Spinal Cord + roots SC OPCS-4
Published by OpenSAFELY
Orthopaedic Procedure OPCS Codes All Spines OPCS-4
Published by OpenSAFELY
Orthopaedic Surgery Elective OPCS codes OPCS-4
Published by OpenSAFELY
Orthopaedic Surgery Fasciotomy Procedure OPCS codes OPCS-4
Surgical fasciotomy codes - for limbs only
Published by OpenSAFELY
Orthopaedic Surgery Washout Procedure OPCS codes OPCS-4
Surgical post-operative washout + debridement codes
Published by OpenSAFELY
Osteoarthritis CTV3
A list of clinical codes related to osteoarthritis.
Published by OpenSAFELY
Osteomalacia SNOMED CT
Codes which indicate that osteomalacia exists.
Published by OpenSAFELY
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