Based on macrophage-related modular genes, MDRGs, and DEGs between HF and normal samples, we developed a risk model to predict prognosis that is composed of two hub genes (CD163 and RNASE2). The gene discussed is CD163; the disease is hydrops fetalis.