Analysis of the Relationship between the Referral and Evolution of Patients with Type 2 Diabetes Mellitus