ALB and diabetes mellitus: Patients who were younger, had a higher CKD stage (G4), had an observed urine albumin-to-creatinine ratio (A1), or no observed HbA1c in the past year were more likely to have a diagnosis code.<h4>Conclusion</h4>Diagnosis coding of patients with eGFR-based evidence of CKD in UK primary care is poor within patients with T2D, despite CKD being a well-known complication of diabetes.