In the multivariate model while controlling for age, sex and other confounders, cancer risk in the SOT/HSCT and PID/SID cohort was significantly higher than the TNF-i cohort. Here, TNF is linked to pelvic inflammatory disease.