I think Zoo could be right; I am a CNA (Certified Nursing Assistant), and have a history of SA. When I was in the CNA program, my instructor, who has been a nurse (including in a mental hospital) for 25 years, told me that many people who go into professions like medicine do so because they have a past themselves. Whether it's that they were physically, sexually, or emotionally abused, it makes them want to help people.
Unfortunately it means that sometimes they're not prepared for the patients' pasts

. I had a really bad day during my clinicals where I just shut down completely with half an hour left in my shift and my partner (who fortunately knew I have DID, and her boyfriend has DID as well) basically had to finish for me; luckily everything we were doing was considered a "one-man" job. We were taking care of a terminally ill man at the time, and neither she nor I could explain anything to him, so it's very possible that he felt it was somehow because of him, though it definitely wasn't.
The best thing for everyone to remember is that doctors (and nurses, CNAs, and all other health care workers) are people too, with their own messed-up lives. And, believe it or not, doctors can make mistakes! Especially if she was still a resident, it's much more probable that it was something on HER part than yours. You did nothing wrong, and I'm jealous that you can actually be up front about your abuse to your doctor

.