legal rights when working with mental health problem