Study-defined delirium was associated with a new dementia diagnosis at two years ( OR 8.82 , 95 % CI 2.76 to 28.2 ) and death ( HR 1.28 , 95 % CI 1.03 to 1.60 ) , even after adjustment for acute illness severity .