Relation of ocular and systemic factors to survival in diabetes