All 933,789 people aged 40 years with diagnosed diabetes in Ontario , Canada were studied using population-level administrative databases , with additional clinical outcome data collected from a random sample of 1,592 high risk patients .