Factors Related to the Development and Progression of Diabetic Retinopathy in Patients with Type 2 Diabetes