The experimental results show that the occurrence of scleritis after liver cancer treatment with PD-1 carrelizumab is closely associated with Treg cells, the percentage of Th17 cells, the expression of PD-1, PD-L1 proteins, and inflammatory factors. The gene discussed is CD274; the disease is scleritis.