Re: 'Electronic' repeats will not automatically fix the processes.
One of the Pharmacists jobs is to make sure the prescription is dispensed legally and without harming the patient. When it appears the patient will have too much of a medication is it their job the question it - and refuse to dispense if necessary.
Pharmacists very regularly catch errors doctors have made in prescribing medicines; over supply, interactions, wrong medicine for the condition (e.g. methadone vs methylphenidate, amiloride vs amlodipine), wrong dose etc