Type 2 diabetes codelist creation

Author: Jaime Fanjul Iglesias 
Last updated: May 14, 2026 
Data source: CPRD Aurum (Medical Dictionary)

Codelist created for projects on community infections, dementia and health outcomes

Derived from the full diabetes medcode codelist (diabetes_medcode, in the same folder)

Started from the full diabetes medcode codelist
Reviewed all codes manually (JFI and CWG) to keep only codes specific to type 2 diabetes
Reviewed by CWG, KM, MI, May 2026


Notes on inclusion/exclusion criteria:

Included codes specific to type 2 diabetes
- Excluded type 1 diabetes codes
- Excluded gestational diabetes codes
- Excluded secondary and other specific types of diabetes (e.g. MODY, drug-induced, pancreatic)
