Immunologic function tests including serum immunoglobulin and lymphocyte subsets were performed in 95% of the patients and contributed to the diagnoses of PID (such as CVID, combined immunodeficiency disease, and STAT3 mutation). This evidence concerns the gene STAT3 and pelvic inflammatory disease.