(a) Unless the prescriber has specified on the prescription that dispensing a prescription for a maintenance medication in an initial amount followed by periodic refills is medically necessary, a pharmacist may exercise professional judgment to dispense varying quantities of medication per fill up to the total number of dosage units as authorized by the prescriber on the original prescription including any refills, so long as the units dispensed do not exceed a ninety-day supply.
(b) This section does not apply to controlled substances or to any medications for which a report to the controlled substance database is required pursuant to § 53-10-305.