I thought so too at first when I heard about the notion of gender inequality in medicine and treatment, but it turns out that there's actually something to it
An overview from 2013: https://scholar.google.de/scholar?hl=de&as_sdt=0%2C5&q=gender+medicine&btnG=#d=gs_qabs&t=1691051117695&u=%23p%3DW7U_RsCHHIMJ
There's even a textbook just covering gender medicine (used here as "Do I need to treat my patient differently if they're male/female and if yes how so"): https://scholar.google.de/scholar?hl=de&as_sdt=0%2C5&q=gender+medicine&btnG=#d=gs_qabs&t=1691052542356&u=%23p%3DQZsELNCo5GMJ
A German article discussing these developments, quoting a professor at Germany's most prestigious Research hospital: "The text reads as if the findings were equally valid for everyone. And on the last page, in the electronic supplement, one finds that the risk reduction for men is 30 percent, but for women only 1 percent, i.e. not at all." https://www.swr.de/swr2/wissen/gendermedizin-frauen-sind-anders-krank-102.html
So it's not a case of people talking about gender discrimination, there's actual hard data to back that up.