The restricted cubic splines curve indicated a linear relationship between the AST/ALT ratio and mortality in AP patients (P for nonlinear > .05). This evidence concerns the gene GPT and alkaline phosphatase measurement.