The district attorney and the offender may enter into an agreement, as a part of the pretrial diversion program, that the offender be admitted to a drug or alcohol program on an inpatient or outpatient basis or receive other treatment alternatives for substance abuse. The district attorney may require the offender to submit to periodic or random drug testing or other terms and conditions related to substance abuse. The offender shall pay the costs of all services unless otherwise approved by the district attorney.
Ala. Code § 45-28-82.28 (1975)