Role model for Sherlock Holmes

Does anyone remember the discussion in the media a few decades back where they discussed the “role model” for Sherlock Holmes? I am wondering if anyone can remember that fellow’s name.

As I recall, this role model was actually a professor whom Arthur Conan Doyle had studied under during his years in medical school. Apparenly this professor was very good at deducing facts and results from seemingly innocent or unrelated pieces of information.

Later of course, A.C. Dolyle collected additional examples from other sources . . . . but even he later admitted that his original inspiration had come from this medical school professor. So, I am wondering if anyone remember’s the professor’s name.

I know that the author Irving Wallace wrote a lengthy essay on this topic one time . . . .

Thanks.

Dr Joseph Bell