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
Angiotensin-converting enzyme (ACE) inhibitor contraindications (expiring) codes SNOMED CT
Taken from the `TXACE_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/).
Angiotensin-converting enzyme (ACE) inhibitor contraindications (expiring) codes (obsolete) SNOMED CT
Taken from the `TXACE_COD` refset published by NHSD.
Angiotensin-converting enzyme (ACE) inhibitor contraindications (persisting) SNOMED CT
Taken from the `XACE_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/).
Angiotensin-converting enzyme (ACE) inhibitor prescription codes dm+d
Taken from the `ACE_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
Ankylosing Spondylitis CTV3
Published by OpenSAFELY
Annual review SNOMED CT
-
Published by Ardens
Antazoline dm+d
Antazoline

Updated July 14,2026
Anticoagulant Rx dm+d
Taken from the `ANTICOAG_COD` field in the National PINCER Data Specification, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021
Published by PINCER
Anticoagulant allergy and adverse reaction codes SNOMED CT
Taken from the `ORANTICOAGADVERS_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/).
Anticoagulant allergy and adverse reaction codes (obsolete) SNOMED CT
Taken from the `ORANTICOAGADVERS_COD` refset published by NHSD.
Anticoagulants BNF BNF
Anticoagulants BNF CODE
Antidepressant drugs (LDO) dm+d
Taken from the `ANTIDEPDRUG_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
Antidepressants SNOMED CT
Prescription codes for antidepressants.
Antidepressants for pain indication - dm+d dm+d
This codelist will be used to identify prescribing of antidepressants with an indication for pain to people waiting on procedure waiting lists.
Published by OpenSAFELY
Antidepressants-BNF BNF
Anti-dperessants BNF codes