When the AST/ALT was used as a categorical variable, after adjustment for confounding factors, logistic regression showed that the high AST/ALT group had a higher risk of pneumonia (OR = 1.91, 95%CI: 1.09-3.34) and delirium (OR = 1.92, 95%CI: 1.03-3.58) than the low-AST/ALT group. Here, GPT is linked to delirium.