46-16-130. Pretrial diversion. (1) (a) Prior to the filing of a charge, the prosecutor and a defendant who has counsel or who has voluntarily waived counsel may agree to the deferral of a prosecution for a specified period of time based on one or more of the following conditions:
(i) that the defendant may not commit any offense;
(ii) that the defendant may not engage in specified activities, conduct, and associations bearing a relationship to the conduct upon which the charge against the defendant is based;
(iii) that the defendant shall participate in a supervised rehabilitation program, which may include treatment, counseling, training, or education;
(iv) that the defendant shall make restitution in a specified manner for harm or loss caused by the offense; or
(v) any other reasonable conditions.
(b) The agreement must be in writing, must be signed by the parties, and must state that the defendant waives the right to speedy trial for the period of deferral. The agreement may include stipulations concerning the admissibility of evidence, specified testimony, or dispositions if the deferral of the prosecution is terminated and there is a trial on the charge.
(c) The prosecution must be deferred for the period specified in the agreement unless there has been a violation of its terms.
(d) The agreement must be terminated and the prosecution automatically dismissed with prejudice upon expiration and compliance with the terms of the agreement.
(2) A condition of pretrial diversion may be for the court to refer a defendant for evaluation to determine the appropriateness of proceedings pursuant to Title 53, chapter 21.