Unfortunately this is so true for many women. I’ve read horror stories of women being dismissed by doctors and nearly dying because of it. I can only imagine how tenfold worse it can be for women of colour.
I hope your wife is okay, and that they figured out what was wrong with her!!