Diagnosis of immune dysfunction often involves a combination of medical history, physical examinations, and specialized tests. Blood tests can measure levels of specific antibodies and immune cells, while imaging studies may be used to assess any organ damage or abnormalities. In gynecology, additional tests like pelvic ultrasounds, endometrial biopsies, and hormone level assessments are also common.