OpenSAFELY codelists


Reset
Transient ischaemic attack - secondary care ICD-10
This is a codelist of ICD-10 codes for TIA.
Transverse Myelitis CTV3
Codes that indicate an episode of transverse myelitis
Tricyclic and related antidepressants DM&D dm+d
This code list contains codes from the NHS dictionary of medicines and devices (dm+d) that are known as Tricyclic Antidepressants. All formulations of these medicines have been included, except for those that are presented in a combined formulation with other drugs. All tricyclic antidepressants are licensed for the treatment of depression and some of them are licensed for the treatment of anxiety disorders. Certain tricyclic antidepressants are licensed for unusual psychiatric conditions e.g. …
Type 1 Diabetes CTV3
Codes explicitly indicating Type 1 Diabetes
Type 1 diabetes (secondary care) ICD-10
Codes explicity indicating Type 1 Diabetes (secondary care)
Type 2 Diabetes CTV3
Codes explicitly indicating Type 2 Diabetes
Ulcerative colitis CTV3
VTE classified codes CTV3
VTE codes classified into cvt, dvt, pe, hepatic, smv, unspecified and other.
Valvular atrial fibrillation CTV3
Codes indicating incident/ history of valvular atrial fibrillation (codes indicating artificial valves and mitral stenosis).
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.
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.
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.
Vitamin D Deficiency SNOMED CT
Codes which indicate that vitamin D deficiency exists.
Vitamin D Insufficiency SNOMED CT
Codes which indicate that vitamin D insufficiency exists.
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