Contracting with pharmacies to provide medication dispensing services