It's not really a flaw in diagnostic methods. It's that society values men and doesn't give a flying fuck about women. Doctors assume that women are lying, mistaken, unreliable, or whining. They take men seriously. And that kills women.
Then they wonder why people don't trust them.