(b) Except as provided under Section 2, a prescriber may direct a patient under his or her immediate charge to have in possession any of the instruments specified in Sections 1 and 2 which may be dispensed by a registered pharmacist in this state only (1) upon a written prescription of the prescriber , or (2) upon an oral or electronic order of the prescriber , which order is reduced promptly to writing and filed by the pharmacist, or (3) by refilling any written, oral, or electronic prescription if the refilling is authorized by the prescriber either in the original prescription or by oral order which is reduced promptly to writing and filed by the pharmacist in the same manner and under the same conditions as any other prescription issued by a practitioner licensed by law to write prescriptions, or (4) upon a signed statement of a patient, upon proper identification, stating that the prescriptions or instruments specified in Sections 1 and 2 were lost or broken, as the case may be, the name and address of the prescriber, the name and address of the patient and the purpose for which the prescription was ordered. The written, oral, or electronic prescriptions when reduced to writing for instruments specified in Sections 1 and 2 shall contain the date of the prescription, the name and address of the prescriber, the name and address of the patient, the purpose for which the prescription is ordered, the date when dispensed and by whom dispensed. Provided, however, that a licensed physician or other allied medical practitioner, authorized by the laws of the State of Illinois to prescribe or administer controlled substances or cannabis to humans or animals, may authorize any person or the owner of any animal, to purchase and have in his or her possession any of the instruments specified in Sections 1 and 2, which may be sold to him without a specific written, oral, or electronic prescription or order, by any person authorized by the laws of the State of Illinois to sell and dispense controlled substances or cannabis, if the authorization is in the form of a certificate giving the name and address of the licensed physician or other allied medical practitioner, the name, address and signature of the person, or of the owner of the animal, so authorized, the purpose or reason of the authorization, and the date of the certificate and in that event, no other prescription, writing or record shall be required to authorize the possession or sale of the instruments.