The doctors are prescribing the medicine. Why would you want to cut them out? The disconnect comes when their patients cannot receive the prescribed medicine. That's the part that can be replaced.
The pharmacist is not a useless tool in the process of obtaining medication, BTW. One key role of a pharmacist is to make sure a patient doesn't have any potential side effects to a medication due to allergies, other concurrent medications, etc.