Diagnosing mental illness in the elderly