In principle, pharmacists exercise a lot of professional judgement -- everything from preventing/reporting drug abuse to noticing when a set of prescribed medications shouldn't be taken together. They act as the safe join operation of the medical system, which forks between specialists, various offices, etc., who usually don't communicate well with one another.
In practice, you may be right -- I don't know enough about pharmacies to know.