Emergency treatment of persons with mental illness