GNRH1 and endometriosis: All endometriosis cases were selected from inpatients sample; 3774 (67.2%) of endometriosis group were selected using surgery code and 1841 (32.8%) were selected using drug (GnRH agonist or danazol) code.