Defendants who fit the criteria based on the initial screening are usually given a more comprehensive assessment to determine their interest in participating and their community treatment needs. Defendants who agree to participate receive a treatment plan and other community supervision conditions. For those who adhere to their treatment plan for the agreed upon time, usually between six months and two years, their cases are either dismissed or the sentence is greatly reduced. If the defendant does not comply with the conditions of the court, or decides to leave the program, their case returns to the original criminal calendar where the prosecution proceeds as normal. As a rule, most mental health courts use a variety of intermediate sanctions in response to noncompliance before ending a defendant's participation. An essential component of mental health court programs for protection of the public is a dynamic risk management process that involves court supervised case management with interactive court review and assessment.