Tools developed to identify risk of vision loss to diabetic retinopathy