Impact of clinical complexity on the quality of diabetes care.