Facts.
Your GP isn’t a genius, and they’re more often than not just reading the solution from webmd the same way you might look it up on stackoverflow.
I know this because my GP flat out told me this is the case.
It’s certainly a job that requires a lot of skill, knowledge and experience so as not to do harm, but that’s true of software engineering too.