Our results show that age, SBP, DBP, SCORE 2 values, NT-pro-BNP, and LVEF values play an important role in the relationship between CD DM-2 and AF. The gene discussed is NPPB; the disease is atrial fibrillation.