That's unfortunate.
Simple (sad) fact of the matter is that there are smart (and dumb) people in every level and sub-discipline of healthcare. Some are docs, and some are pharmacists. Whatchagonnado? (Besides ALWAYS getting a second opinion, anyway.)
My housemate's experience takes the cake. She passes out at work, is dizzy, can't drive. Three MDs give her three different diagnoses, and it takes two MRIs before they believe she doesn't have a brain tumor. She was on anti-seizure meds for a few months - side effects were nutters. Completely blew her annual deductible.
She meets her social worker friend for coffee, complains about her docs, and the friend says, "yeah, but it's also textbook panic attacks..." Housemate goes to a psychiatrist, gets a Lexapro Rx, and - magic - the symptoms are 95% better.