I suppose the issue is how apparent was it that she was not capable of consenting to a relationship based on the severity of her depression and anxiety.
No, it's nothing to do with how capable she was of consenting or not.
If she was functioning well enough and only felt exploited after the relationship broke up I am not sure how a man can be considered to have exploited his position by pursuing an extra-marital relationship, considering Boris is with Carrie. Seems like double standards to me. If a man is held responsible for a woman's bad judgement it is treating women like children - we might as well forget about equality or women being able to function independently or hold positions of responsibility where they need to use their judgement. I am starting to wonder if Ms Zamen needs to be locked up at home for her own safety and not let out without a brother or a father to accompany her in case she gets "exploited" again?
Codes and rules are in place to avoid harassment and exploitation of people when they are looking for help or advice, or by colleagues at work or, in education, by staff, and so on...
It is not wanted anywhere, but needs especially strict enforcement in some environments.