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
Sore-throat-and-related-conditions-for-pharmacy-first SNOMED CT
Codes that a GP could use to record that a patient has presented with sore throat, or a condition that might cause a sore throat. This includes conditions that can result in antibiotic prescribing in GP practices, but also non-bacterial causes of sore throat

Updated with new codes May 18,2026
Sore-throat-codes-for-pharmacy-first (clone) SNOMED CT
Codes that a GP could use to record that a patient has presented with acute sore throat, or a condition that might cause a acute sore throat. This includes conditions ( bacterial and/or non bacterial ) that can result in antimicrobials prescribing in GP practices or community pharmacies.

Updated with new codes June 10 ,2026
Sotrovimab - dmd dm+d
A codelist to identify prescriptions of sotrovimab.

##### User requirements
I need a codelist to return all recorded prescriptions of sotrovimab primary care records. This will be used to plot the recorded prescribing in primary care of all COVID-19 therapeutics.
Published by OpenSAFELY
South and West Devon Red Drugs BNF
Test red drugs list created by importing data from NHS Devon lists
Published by NHS Devon
SpO2 (sats, saturations) SNOMED CT
...
Published by Ardens
Specific immunosuppressant systemic medication codes dm+d
Taken from the `EPPMISCIMMDRUG_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
Sphingosine-1-phosphate receptor modulator systemic medication codes dm+d
Taken from the `S1PRMDRUG_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
Spinal Surgery - Decompression of fracture of spine (Clean) (V44) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Decompression of fracture of spine (Clean) (V44)
Spinal Surgery - Decompression operations on unspecified spine (Clean) (V27) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Decompression operations on unspecified spine (Clean)…
Spinal Surgery - Excision of unspecified intervertebral disc (Clean) (V35) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Excision of unspecified intervertebral disc (Clean) (…
Spinal Surgery - Exploration of spine (Clean) (V49) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Exploration of spine (Clean) (V49)
Spinal Surgery - Extirpation of lesion of spine (Clean) (V43) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Extirpation of lesion of spine (Clean) (V43)
Spinal Surgery - Fixation of fracture of spine (Clean) (V46) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Fixation of fracture of spine (Clean) (V46)
Spinal Surgery - Levels of spine These codes are not intended as primary codes. They represent the number of levels operated upon not the anatomical region of the spine. (V55) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Levels of spine These codes are not intended as prima…
Spinal Surgery - Other correction of deformity of spine (Clean) (V42) OPCS-4
Procedure category: Spinal Surgery - Surgical procedures on the vertebral structures of the spine including the exploration or decompression of the spinal cord, the removal or resection of intervertebral discs, spinal fusion; and repair of fractures or deformities. The minimum wound class for spinal surgery is clean. Use an additional code to specify levels of spine (V55.1, V55.2, V55.3, V55.8 and V55.9 listed below).

Procedure subcategory: Other correction of deformity of spine (Clean) (V42)