Acute deterioration in mental functioning arising over hours or days that is triggered mainly by acute medical illness, surgery, trauma, or drugs