Doctors can be replaced by software – 80% of them can. I’d much rather have a good machine learning system diagnose my disease than the median or average doctor.
I don't think being flawed is a bad thing for a character. . . nor do I think it's a bad thing for a person in life, because that's how we all are.