I grew up in such a town, and as a kid, I knew the pharmacist a lot better than the family doctor: "my ma told me to ask you about this wart on my hand", that kind of thing. Heck, our pharmacists even did home deliveries to old people (on her bike, no joke). I'm in a my mid-thirties, so this is not entirely ancient history.
So I can see why that social aspect of the work - which is incredible valuable - cannot be automated.
Now, there's WebMD, pharmacists are doing a shift in CVS, "small town life" is pretty much dead, these soft relationships between shopkeepers and customers no longer exist, people no longer defer to authority as easily as they used to, ...
Also, pharmacists have the law on their side. Drugs are a political issue, so they nurture their role as gate-keeper. For that reason alone, the credentialing will persist. The only difference is that perhaps a pharmacist will just be the lady pushing the on/off button on the vending machine, but still, somebody will need to push that button. The jobs that will be automated won't be the pharmacist's job, it will be the assistant's jobs.
Why would using a bike to make deliveries be a joke?
Lots of things are delivered by bike.
She tried to call the pharmacy to see if there was any other alternative, or chance to get on her old pill due to the nasty side-effects. All she got in response was heartless no's and not our problem.
So I totally agree with the idea that these soft-relationships are a thing of the past.
(Even really simple things like computerizing prescriptions and flagging known bad combinations make them more effective, roughly for free)
The pharmacists at my local pharmacy seem to spend most of their time advising patients and dealing with their problems, verifying the pill dispensers actually dispensed the right medication and it is all intact, handling physical scripts for things like controlled substances, calling doctors when a prescription doesn't make sense or wasn't clear, flagging possible drug abuse, managing inventory, handling drugs that can't easily be dispensed by the machines like insulin and checking how much a person's insurance will cover and if it is still valid.
But with online ordering(PillPack ,etc) ,the laws are different, so there's more automation.