This retrospective cohort study involved consecutive hepatitis B surface antigen (HBsAg) -positive cancer patients who were referred to Sun Yat-sen University Cancer Center and received an anti-PD-1/PD-L1 antibody between January 1, 2015 and July 31, 2018. Here, CD274 is linked to cancer.