In conclusion, we identified four key diagnostic genes: MMP2, COL1A2, CXCL1, and STAT1, which can serve as shared biomarkers for IBD and HF. This evidence concerns the gene STAT1 and hydrops fetalis.