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 PDCD1; the disease is liver cancer.