The presence of retinopathy in patients with secondary diabetes following pancreatectomy or chronic pancreatitis.