The Use of Automated Data to Identify Complications and Comorbidities of Diabetes