GPT and pneumonia: When the AST/ALT were used as continuous variables, after adjustment for potential risk factors, logistic regression showed that higher AST/ALT was associated with a greater risk of both pneumonia and delirium (pneumonia, OR = 1.48, 95%CI: 1.10-2.00; delirium, OR = 1.58, 95%CI: 1.14-2.19).