What is pretrial diversion?

Programs that suspend prosecution pending treatment or service. Completion may lead to dismissal.