It's always interesting how hard some posters will work to make this into another and more comfortable issue.
The hospital is tiny
Female doctors can't be guaranteed
It's unreasonable to want a female doctor.
Chaperones
It always suggests that to face the real issue would be too uncomfortable to discuss. The real issue is that a woman was told she could have a female hcp, so her wish and need was respected and this was fully in the staff's belief they could provide, AND THEN a man who identifies as a woman was sent to her as 'a female hcp' due to his personal identity beliefs. So this was intentional: that a man with a gender identity is counted as being actually female when a patient expresses that wish.
So the intent was to either deceive the patient and hope she wouldn't know (a bit forlorn hope really) or to expect that a woman would 'respect' the man's identity above her own reasons and needs expressed for a same sex hcp.
This entirely privileges the man's choices, feelings and self expression above anything regarding the woman patient he has power over and responsibility for. It cannot be that hospital staff do not understand the needs or reasons why women may wish for same sex care. Or the vulnerability of putting a woman in a position of having to say 'no, you're a man'. Or the distress it may cause that woman to be confronted with a male intent on making her join an illusion he is female when her body knows he is male. It puts politics above patient care, it destroys trust (as seen by the husband then feeling he could not leave her), and it entirely disregards the whole concept of informed consent.
I'd think if she chooses to take this to court, she's probably got him. Activists arguing that the woman's needs and feelings are just prejudice is basically 'his stuff matters and should be accepted without question but hers shouldn't'. And this is straight forward medical consent and a patient, not an employer managing colleagues this time.
Chaperones don't change the situation for a woman who has asked for a same sex hcp and has been told yes, you can have one, with an attempt to then deceive / mess with consent by sending a biological male in the illusion or political requirement to pretend that he is female.
Why cannot a professional, supposedly interested in patient care and inclusion, accept that some patients are not for him to express his identity on?