There were 807 patients in the training cohort and 375 patients in the internal validation cohort.Multivariate logistic regression demonstrated that pain score, serum creatinine, hematocrit, serum calcium, and serum albumin were independent risk factors for the incidence of POF in patients with AP. The gene discussed is ALB; the disease is premature menopause.