The female gender and a history of hepatitis were found to increase the odds of hepatic complication with anti-PD1 or anti-PD-L1 use [OR = 2.71; 95% CI 1.07–6.85, OR = 11.14; 95% CI 3.46–35.88, respectively]. The gene discussed is CD274; the disease is hepatitis A virus infection.