Use simple algorithms to manage dementia