Study design and data source
We used a 2002-2017 data set from the Korean National Health Insurance Service (NHIS)-DM cohort. It contains data of 400,000 patients with type 2 DM which corresponds to a sample of approximately 23% of the entire type 2 DM population (ICD E11-14) in the 35–85 years age group in South Korea. This dataset included all inpatient and outpatient medical claims data, including data on prescription drug use, diagnostic and treatment codes, and primary and secondary diagnosis codes. It also included the National Health Screening Program (NHSP) data. Since 2000, the Korean government has implemented an obligatory NHIS, which covers up to 98% of the entire Korean population, and all insured adults are eligible for the NHSP, and recommended to undergo a standardized health check-up every 1–2 years. The Korean NHIS claims database records diagnoses based on the International Statistical Classification of Disease and Related Health Problems, Tenth Revision (ICD-10) codes. This study was approved by the Institutional Review Board of Yonsei University Health System (approval no. 4-2019-0674), and the approving authority waived the requirement for informed consent because of the use of deidentified patients’ data.
Selection of cases and validation
From the Korean NHIS-DM cohort, a total of 201,336 dementia-free patients with newly diagnosed DM who had undergone a health check-up between 2004 and 2012 were enrolled, and follow-up data collected until December 2017 were reviewed. We excluded (i) patients who were younger than 50 years (n = 61,093); (ii) patients who were diagnosed with dementia before the DM diagnosis (n = 924); (iii) patients who had not used antidiabetic medications (n = 21,867); (iv) patients receiving insulin treatment for more than 3 months (n = 3,639); (v) patients with a history of malignancy before the DM diagnosis (n = 33,618); (vi) patients with a history of cerebrovascular disease (CVD) before the DM diagnosis (n = 7,299); (vii) patients with the onset of dementia within 6 months of DM diagnosis (n = 43); (viii) beneficiaries of medical aid programs (n = 2,319). Patients with a history of CVD and malignancy were excluded because stroke or vitamin deficiencies associated with these diseases might increase the risk of dementia and cognitive impairment. Finally, we enrolled 70,499 patients, including 2,117 patients who were diagnosed with incident AD until 2017 (Figure 1). The following ICD-10 codes were used to identify an AD case: F00 or G30 (AD), F01 (vascular dementia), F02 (dementia with other diseases classified elsewhere), and F03 (unspecified dementia). To focus on AD, attempts were made to increase the probability of including only a well-defined AD case. An eligible AD case involved an individual who was diagnosed based on the F00.0, F00.1, F00.2, or F00.9 code, followed by at least two events of prescriptions for an anti-dementia medication (rivastigmine, galantamine, memantine, or donepezil) within a year of the diagnosis. Individuals who were diagnosed with Parkinson’s disease, stroke, motor neuron disease, normal pressure hydrocephalus, or cancer before the diagnosis of dementia as well as those with any other specific dementias, such as vascular dementia, were excluded from the study population. The index date was defined as the date of AD diagnosis. This algorithm was a modified version of the case-identification procedure from an earlier study that used the NHIS data (13). To evaluate the accuracy of the algorithm, a validation study was conducted in two teaching hospitals with 737 patients, and the positive predictive value (PPV) was 83%. For the main analysis, 1,675 cases and 8,375 controls were matched in a 1:5 ratio. Control participants were randomly selected from the DM cohort, matched to the cohort affected patients based on age, sex, time point of DM onset and DM duration.
Exposure to metformin
Metformin use was defined as those with total prescriptions of metformin for 60 > cumulative DDDs after the onset of DM treatment (14). Exposure to metformin was assessed from the first prescription to the index date. We calculated cumulative defined daily dose (cDDD) according to the World Health Organization definition (15), and described metformin exposure according to three criteria: (i) ever user; (ii) cDDD; and (iii) time-weighted mean (TWM) cDDD per day, i.e the cumulative sum of metformin cDDDs in each patient was divided by the number of days that patient received metformin to produce the TWM cDDD of metformin in each 1-day period (16), were classified by quartiles.
Potential confounders
We obtained information on selected comorbid conditions from inpatient and outpatient hospital diagnoses. The existence of hypertension, ischemic heart disease, dyslipidemia, CVD, chronic kidney disease, depression, and prescription medication information prior to the index date. The Charlson Comorbidity Index (CCI) was measured during the 1 year before the index date. Adapted Diabetes Complications Severity Index (aDCSI) was measured from DM diagnosis to the index date (17). Fasting blood glucose levels, systolic blood pressure, diastolic blood pressure, total cholesterol levels, creatinine levels, BMI (<18.5, 18.5–22.9, 23.0–25.0, and ≥25.0 kg/m2), smoking status (none, past, and current), alcohol consumption (low: <1 time/week, moderate: 1–4 times/week, and heavy: 5–7 times/week), and physical activity (yes: ≥1 times/week; no: never) were measured as close as possible to the DM diagnosis date.
Statistical analyses
The characteristics of the study population were analyzed descriptively using the standardized mean difference (SMD). SMD values above 0.2 were regarded as potential imbalance between the two groups (18). Conditional logistic regression analysis was conducted to investigate the association between metformin use and the risk of AD. We calculated the crude odds ratio (OR), adjusted OR (AOR), and 95% CI for the onset of AD between the metformin ever user and never user groups. The analyses were adjusted for the following variables: hypertension, ischemic heart disease, dyslipidemia, CVD, chronic kidney disease, CCI, aDCSI, depression, fasting blood glucose levels, systolic blood pressure, diastolic blood pressure, total cholesterol levels, creatinine levels, statin use, cardiovascular medications (aspirin, statin, anticoagulant, antiplatelet, and antihypertension drugs), other antidiabetic medication, BMI, alcohol and smoking habits, and physical activity. Furthermore, we conducted subgroup analyses according to DM duration, and depression to investigate the heterogeneity of effect sizes. A p-value <0.05 was considered significant. All statistical analyses were performed using SAS software, version 9.4 (Cary, NC, USA).