A pathologist was a doctor who studied pathology.
In 2153, Dr. Fer'at masqueraded as a pathologist when examining Jonathan Archer, ostensibly for pyritic radiation exposure. Dr. Phlox looked him up in the Vulcan database and determined he was in fact a psychiatric analyst. (ENT: "The Expanse")