An apothecary was a person preparing, advising on and giving medicine. This would be the equivalent to a pharmacist today (but pharmacist is called "chemist" in British English..., but chemist has also other meaning, so pharmacist is probably a better option)