(a) Except as provided in subsection (b) of this section, a person may not dispense a controlled dangerous substance without a written prescription or an electronic prescription from an authorized provider if the substance is:
(1) listed in Schedule II; and
(2) a drug to which § 21–220 of the Health – General Article applies.
(b) A controlled dangerous substance to which subsection (a) of this section applies may be dispensed without a written prescription or an electronic prescription by:
(1) an authorized provider who:
(i) is not a pharmacist; and
(ii) dispenses the controlled dangerous substance directly to an ultimate user; or
(2) a pharmacist if:
(i) an emergency exists;
(ii) the pharmacist dispenses the drug under regulations of the Department on an oral prescription that the pharmacist reduces promptly to writing and keeps on file; and
(iii) federal law authorizes the oral prescription.
(c) A prescription for a controlled dangerous substance listed in Schedule II shall be kept on file in conformity with the requirements for records and inventories under § 5–306 of this title.
(d) A person may not refill a prescription for a controlled dangerous substance listed in Schedule II.