Mortality, morbidity and temporal patterns of glycaemic measurements in populations with diabetes