There are genuinely different risk factors and biological predispositions that are impacted by one’s racial background. The idea that we should pretend race is only a social construct is completely unscientific and absurd.
To argue asking about one’s race is racism will absolutely, positively have negative outcomes in providing quality healthcare. A good physician should never be ignorant of such things. And there’s no such thing as a good physician who is willfully ignorant of such things.