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 we have used in OpenSAFELY research to date.


All codelists


Reset
VTE classified codes CTV3

VTE codes classified into cvt, dvt, pe, hepatic, smv, unspecified and other.

Published by OpenSAFELY
Valneva booster medication code dm+d

Taken from the VLB1RX_COD field in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Valneva vaccination medication code dm+d

Taken from the VLD1/2RX_COD fields in SARS-CoV2 COVID19 Vaccination Uptake Reporting Codes 20_21, published by PRIMIS.

© PRIMIS - the University of Nottingham 2021

Valvular atrial fibrillation CTV3

Codes indicating incident/ history of valvular atrial fibrillation (codes indicating artificial valves and mitral stenosis).

Published by OpenSAFELY
Vascular dementia (ICD10) V1.3 ICD-10
Vascular dementia (SNOMED-CT) V1.3 SNOMED CT
Venous Thromboembolic Disease CTV3

DEFINITION: A history of venous thromboembolic disease

Variables: (1) a binary variable denoting the presence of one of the codes at any point in the patient record. (2) the earliest date of such a code.

Published by OpenSAFELY
Venous thromboembolism (current) by type - secondary care and mortality data ICD-10

ICD-10 codelist for any history of venous thromboembolism.

This differs from the existing OpenSAFELY codelist incident VTE by including codes that specify the event occured during pregnancy or post partum, and post thrombotic syndrome, and by further clarifying type (site) of VTE.

Published by OpenSAFELY
Vitamin D Prescription BNF

Codelist created by Liang-Yu Lin using the SNOMED - BNF mapping tool provided by NHS for publication '"The Association between Vitamin D and Incident Herpes Zoster: A UK Biobank Study"

https://github.com/liang-yu12/ukbvdhzpublish/blob/376501dfbb670fe351337480024539fb0dd06877/codelists/exposurevitddrug/vitddrugdmd.csv

Published by OpenSAFELY
Vitamin D level SNOMED CT

...

Published by Ardens
Waist circumference measured SNOMED CT

Taken from the WAIST_COD refset published by NHSD.

Warfarin dm+d

This is a codelist to identify all warfarin preparations in the NHS dictionary of medicines and devices.

Published by OpenSAFELY
Weight (SNOMED) SNOMED CT

Returns body weight measurements.

Published by OpenSAFELY
Weight management intervention codes SNOMED CT

Taken from the WTMGINT_COD refset published by NHSD.

Weight measured SNOMED CT

Taken from the NDAWEIGHT_COD refset published by NHSD.