AIP and autoimmune pancreatitis: As a continuous variable, AIP significantly increased the risk of diabetes in the models (HR > 1, p < 0.05), with the risk increasing as the AIP levels increased (Supplementary Table S2).