A Prognostic Model of the Development of Cognitive Impairments in Patients with Type 1 Diabetes Mellitus