These results suggest that SMAD4 is an indispensable element in the immune environment, affecting the quantitative distribution of immune cells and determining the prognostic value by mediating CD8 + cytotoxic T cells, CD15 + neutrophils, and immune responses in HPC. The gene discussed is CD8A; the disease is hereditary chronic pancreatitis.