I am sorry this did not go well. We expect more for health care professionals and you deserved more. No defense - but they are human too and make mistakes. Like suggested here I would give him another chance.
For me - when I told my GP it was for a specific purpose - to get on antidepressants and get a referral to a T. She was very compassionate about it and said all the things I needed to hear. Even the sensitive stuff like dealing with ED and being tested for STDs - she has been great.
I think you did the right thing telling him - it is not your fault that he didn't react appropriately (this time).
More than meets the eye!