(a) The following facilities are not pain management clinics subject to the requirements of this article:
(1) A facility that is affiliated with an accredited medical school at which training is provided for medical or osteopathic students, residents or fellows, podiatrists, dentists, nurses, physician assistants, veterinarians or any affiliated facility to the extent that it participates in the provision of the instruction;
(2) A facility that does not prescribe or dispense controlled substances for the treatment of chronic pain;
(3) A hospital licensed in this state, a facility located on the campus of a licensed hospital that is owned, operated or controlled by that licensed hospital, and an ambulatory health care facility as defined by section two, article two-d, chapter sixteen of this code that is owned, operated or controlled by a licensed hospital;
(4) A physician practice owned or controlled, in whole or in part, by a licensed hospital or by an entity that owns or controls, in whole or in part, one or more licensed hospitals;
(5) A hospice program licensed in this state;
(6) A nursing home licensed in this state;
(7) An ambulatory surgical facility as defined by section two, article two-d, chapter sixteen of this code; and
(8) A facility conducting clinical research that may use controlled substances in studies approved by a hospital-based institutional review board or an institutional review board accredited by the association for the accreditation of human research protection programs.
(b) Any facility that is not included in this section may petition to the secretary for an exemption from the requirements of this article. All such petitions are subject to the administrative procedures requirements of chapter twenty-nine-a of this code.