FAP, THY1, MXRA5, and SFRP4 can be selected as diagnostic biomarkers for both HF and OA, and they are significantly correlated with immune cell infiltration, indicating HF and OA may share the immune pathogenesis. The gene discussed is FAP; the disease is hydrops fetalis.