We compared and analyzed the cognitive function and depressive tendencies of two groups of patients using the BRAF-A and CES-D scales and found that compared with the low HBA1C group, the high HBA1C group had a decrease in cognitive function and a higher tendency towards depression. Here, BRAF is linked to depressive symptom measurement.