This study aimed to develop an electrocardiogram-hemoglobin (ECG-Hb) deep learning model (DLM) for detecting anemia and assess its impact on all-cause mortality and new-onset heart failure.<h4>Methods</h4>This retrospective study analyzed ECGs and corresponding Hb levels from two hospitals. The gene discussed is GSTM1; the disease is anemia.