(a) Unless the prescription indicates that it is to be dispensed only as written, the pharmacist may, with the consent of the patient, substitute an equivalent drug product.
(b) A pharmacist who substitutes an equivalent drug product in compliance with this section and applicable regulations incurs no greater liability in filling the prescription than would be incurred in filling the prescription by dispensing the prescribed name brand product.