HbA1c as a diagnostic tool for diabetes