A blood test used to diagnose diabetes and monitor its treatment by measuring the amount of glycosylated hemoglobin in the blood, providing an indication of blood sugar level over the past three months, was ordered by the endocrinologist. the name of the blood test is