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
Spinal Surgery - Revisional excision of lumbar intervertebral disc (Clean) (V34) 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: Revisional excision of lumbar intervertebral disc (Cl…
Spinal Surgery - Revisional excision of thoracic intervertebral disc (Clean) (V32) 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: Revisional excision of thoracic intervertebral disc (…
Spinal Surgery - Revisional fusion of other joint of spine (Clean) (V39) 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: Revisional fusion of other joint of spine (Clean) (V3…
Spirometry codes for asthma SNOMED CT
Taken from the `ASTSPIR_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/).
Spirometry codes for chronic obstructive pulmonary disease (COPD) SNOMED CT
Taken from the `COPDSPIR_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/).
Spironolactone dm+d
This codelist contains [spironolactone preparations](https://openprescribing.net/chemical/0202030S0/).
Published by OpenSAFELY
Statin Medication dm+d
A list of statin preparations at VMP and AMP from the [NHS Dictionary of Medicines and Devices](https://ebmdatalab.net/what-is-the-dmd-the-nhs-dictionary-of-medicines-and-devices/).
Published by OpenSAFELY
Statin codes dm+d
Taken from the `STAT_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
Statin contraindications (expiring) codes SNOMED CT
Taken from the `TXSTAT_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/).
Statin contraindications (expiring) codes (obsolete) SNOMED CT
Taken from the `TXSTAT_COD` refset published by NHSD.
Statin contraindications (persisting) codes SNOMED CT
Taken from the `XSTAT_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/).
Statin not indicated codes SNOMED CT
Taken from the `STATNIND_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/).
Statin therapy offered SNOMED CT
Taken from the `STATOFF_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/).
Sterilisation codes SNOMED CT
Taken from the `STERIL_COD` refset published by NHSD.
Steroid sparing systemic medication codes dm+d
Taken from the `STESPAGDRUG_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