(b) Nothing in this article shall be construed to interfere with any legally qualified practitioner of medicine, dentistry or veterinary medicine, who is not the proprietor of the store for the dispensing or retailing of drugs and who is not in the employ of such proprietor, in the compounding of his or her own prescriptions or to prevent him or her from supplying to his or her patients such medicines as he or she may deem proper, if such supply is not made as a sale.
(c) The exception provided in subsection (b) of this section does not apply to an ambulatory health care facility, as that term is defined in section one, article five-b, chapter sixteen of this code, that offers pharmaceutical care or a facility operated to provide health care or mental health care services free of charge or at a reduced rate that operates a charitable clinic pharmacy: Provided, That a legally licensed and qualified practitioner of medicine or dentistry may supply medicines to patients that he or she treats in a free clinic and that he or she deems appropriate.