Peptic ulcer disease indirectly affected all-cause mortality through albumin (β = −0.059) and ileus (β = 0.138). Here, ALB is linked to peptic ulcer disease.