discharge of person with mental illness