During the time that an individual or group member is receiving substance abuse treatment under par. (a), the administering agency shall require the individual or group member to undergo random testing for the use of a controlled substance. Except as provided in sub. (4m), for the individual to remain eligible for a program, the individual or his or her group member must cooperate with the testing and the results of the tests must be negative or, if any results are positive, the individual or group member must present evidence of a valid prescription as described in sub. (3). If the results of any test during treatment are positive for the use of a controlled substance and the individual or group member does not present evidence of a valid prescription for the controlled substance, the individual or group member shall have the opportunity to begin the treatment again one time, as determined by the administering agency. Except as provided in sub. (4m), if the individual or group member begins the substance abuse treatment again, the individual remains eligible for a program as long as the results of all tests for the use of a controlled substance during the subsequent treatment are negative for the use of a controlled substance or, if any results are positive, the individual or group member presents evidence of a valid prescription for the controlled substance.