
The specificity of obesity-related ICD codes (ICD-9 and ICD-10) was 99.7% for underweight/normal weight, 97.4% for overweight, 99.7% for obese and 98.9% for severely obese. The cohort included 73 644 patients with a BMI measurement in 2014 or 2016, of whom 16 280 had an obesity-related ICD code. We calculated accuracy measures (sensitivity, specificity, positive predictive value and negative predictive value ) for each obesity category for the overall cohort, and stratified by type 2 diabetes and ICD-code era. We created two binary measures, first for composite overweight, obesity, or severe obesity (BMI ≥25 kg/m 2), and second for obesity or severe obesity (BMI ≥30 kg/m 2). Patients were divided into two groups, with or without an obesity-related ICD code in the 6 months before or after the BMI measurement date.


Using the Mass General Brigham Research Patient Data Repository-Medicare-linked database, we identified a cohort of patients with a BMI measurement for the periods January 1 to Jor January 1 to June 31, 2016, to capture both the International Classification of Disease (ICD)-9 and ICD-10 eras. To determine whether body mass index (BMI) can be accurately identified in epidemiological studies using claims databases.
