Even if a doctor's belief in the stork theory of
reproduction is technically irrelevant to his competence
as an eye surgeon, it tells you something about him. It
is revealing. It is relevant in a general way to whether
we would wish him to treat us or teach us. A patient
could reasonably shrink from entrusting her eyes to a
doctor whose beliefs (admittedly in the apparently
unrelated field of obstetrics) are so cataclysmically
disconnected from reality.
This statement seems to work when applied to something like "babies come from storks", but it generalizes poorly. There are simply too many incorrect beliefs floating around; it's difficult to find someone who has resisted all of them. Would you refuse treatment from an ophthalmologist who believed:
1. The seasons are caused by Earth approaching and receding from the Sun?
2. Fixed-wing aircraft fly because air moves over and under the wing at the same rate?
3. Thomas Edison invented the light bulb?
All of these are just as wrong as stork-babies or creationism, and all are just as relevant (ie, not at all) to ophthalmology. I don't demand that my doctor rigorously examine every belief they hold, merely the ones related to surgery. Frankly, a creationist surgeon is much less worrying than a surgeon who believes wi-fi causes cancer.
My colleague takes the view that this YEC is entitled to a job
as a professor of astronomy, because he keeps his private
beliefs to himself while at work. I take the opposite view. I
would object to employing him, on the grounds that his
research papers, and his lectures to students, are filled with
what he personally believes to be falsehoods. He is a fake, a
fraud, a charlatan, drawing a salary for a job that could have
gone to an honest astronomer. Moreover, I would regard his
equanimity in holding two diametrically opposing views
simultaneously in his head as a revealing indicator that there
is something wrong with his head.
There's an idiom that goes something like "reality is what keeps happening even if you don't believe in it". If a creationist is able to perform correct science, I see no reason to dismiss it out of hand. Especially considering the wide variety of creationist beliefs now extant in the US -- even if he believes Earth was created six thousand years ago, he may be willing to concede that the Universe is roughly fourteen billion years old.