Maybe it can. But there are aspects of healthcare that can never be automated.
Yes, I worked in healthcare and consulted for one of the stakeholders, and I have seen the benefits of automation – reducing human errors, improving delivery efficiency.
But healthcare is a human profession, dealing with human beings and usually human beings who are sick, in pain, hurt, scared, and suffering.
Pharmacists are a member of the healthcare “human care team”, just as physicians and other healthcare professionals are part of that whole unit of caregivers and experts whose job is to focus on that one patient in front of them who is sick, in pain, hurt, scared, and suffering in some way. They know that one day, just like you and I will were we to live long enough or old enough, they and each one of us will be a patient one day.
So the point of pharmacy as a profession is the same in its foundation as the point of medicine as a profession, medical science (that branch of PhD research science dealing with human beings and human bodies in some way) as a profession, and any applied healthcare related business as a profession (regulators of industry, manufacturers of drugs, devices, and diagnostics) –
To care not just the human body but the human being.
Yes, you can get a machine to query for medicines that the patient is taking, whether there are supplements or drugs that may pose adverse interactions. You can print out sheets of information to get the patient to know how to take the drug, when to take it, what to watch out for… But the pharmacist with the human touch can get the patient to feel like he is being cared for, that his health and life are important, and that he matters. That can go a long way in gaining patient compliance and having a positive experience in healthcare.
This is something that we may improve with technology – but can never replace.