There were good correlations (r > 0.4) between LMR (r = −0.667, p = 0.000), NLR, WMR, HCR, NT-proBNP (r = −0.681, p = 0.000) and NYHA functional classification, and LMR (AUC = 0.803, 95% CI 0.729–0.849, p = 0.0001), NLR and NT-proBNP (AUC = 0.805, 95% CI 0.738–0.861, p = 0.0001) had good diagnostic values (AUC > 0.7) for HF in patients with HFpEF. The gene discussed is NPPB; the disease is hydrops fetalis.