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
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
Vascular dementia codes SNOMED CT
Taken from the `DEMVASC_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/).
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.
Published by OpenSAFELY
Venous thromboembolism (VTE) diagnosis codes SNOMED CT
Taken from the `VTE_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/).
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](https://codelists.opensafely.org/codelist/opensafely/incident-venous-thromboembolic-disease/2020-09-30/) 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 dm+d
This codelist aims to identify formulations of oral colecalciferol or ergocalciferol that are not in combination with any other active ingredient.
Published by OpenSAFELY
Vitamin D Deficiency SNOMED CT
Codes which indicate that vitamin D deficiency exists.
Published by OpenSAFELY
Vitamin D Insufficiency SNOMED CT
Codes which indicate that vitamin D insufficiency exists.
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/ukb_vd_hz_publish/blob/376501dfbb670fe351337480024539fb0dd06877/code_lists/exposure_vitd_drug/vitd_drug_dmd.csv
Published by OpenSAFELY
Vitamin D level SNOMED CT
...
Published by Ardens
Vitamin D level SNOMED CT
A SNOMED CT codelist to identify people who have received a blood test to assess vitamin D deficiency status.
Published by OpenSAFELY
Vitamin D with other bone health ingredients dm+d
This codelist aims to identify formulations of oral colecalciferol or ergocalciferol that are in combination with other active ingredients supporting bone health (e.g. calcium or a bisphosphonate).
Published by OpenSAFELY
Vitamin K antagonist contraindicated codes SNOMED CT
Taken from the `VITKANTAGCON_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/).