The Commissioner of Social Services shall implement, not later than October 1, 1984, a physician and pharmacy lock-in procedure to restrict the use of the health care delivery system by medical assistance recipients who are determined by the commissioner to have utilized medical services or items at a frequency or amount that is not medically necessary. The commissioner shall establish criteria and a case review system in order to make such determination. The commissioner shall require such recipients for a reasonable period of time to obtain medical services or items only from designated providers provided (1) the department gives the recipient notice and an opportunity for a hearing, in accordance with procedures established by the department, before such restrictions are imposed and (2) the department assures that the recipient has reasonable access, taking into account geographic location and reasonable travel time, to medical services of adequate quality.