Delirium ED/AMAU algorithm