Role of community pharmacist

When someone has been discharged back to care of GP and has developed co-morbidities, can community pharmacist say certain medications are no longer cost-effective and patient should not be on them? What exactly is the role of a practice pharmacist?