A person shall not fill a prescription for a drug required by chapter 124 or this chapter to be furnished only upon written prescription unless the prescription is ordered for a medical, dental, or veterinary purpose only.