There was an increase in the secretion of IL-17 by CD4+ iNKT cells in the blood of patients with endometriosis and severe dysmenorrhea (p = 0.038), and severe acyclic pelvic pain (p = 0.048). The gene discussed is IL17A; the disease is endometriosis.