The pattern matching could easily be automated. It's basically a game of 21 questions. Doctors sometimes fail here by getting too fixated on prior probabilities ("this condition is very uncommon so you don't have it").
The expertise, and IME this is rare, is in turning vague descriptions into matchable patterns, prompting for more detail when needed, and explaining things at the appropriate level (which for some patients might be quite high, others quite low).