person shall not be sentenced to jail or prison pursuant to this section unless a court determines that the person is not eligible or suitable for treatment or that any other circumstance described in paragraph (4) of subdivision (d) applies to that person.
of probation, a defendant charged with a violation of this section may elect treatment by pleading guilty or no contest to a violation of this section and admitting the alleged prior convictions, waiving time for sentencing and the pronouncement of judgment, and agreeing to participate in, and complete, a detailed treatment program developed by a drug addiction expert and approved by the court. A defendant’s plea of guilty or no contest shall not constitute a conviction for any purpose unless judgment is entered pursuant to paragraph (4) for a violation of this section.
(B) Upon or subsequent to arraignment for a violation of this section, and at the request or with the consent of the defendant or their attorney, the court shall order a drug addiction expert to conduct a substance abuse and mental health evaluation of the defendant. The expert shall submit a report of the evaluation to the court and parties. The evaluation may be based on an
interview of the defendant or other individuals with relevant knowledge and review of records the expert deems appropriate, including medical records, criminal history, prior treatment history, and records pertaining to the current offense. If the defendant participates in the interview, neither the defendant’s interview nor evidence derived from the interview may be used against the defendant at any subsequent trial for the instant offense except for the purposes of impeachment should the defendant testify inconsistently. The evaluation shall detail the defendant’s drug abuse or mental health issues, if any, so the court and parties may better determine appropriate handling of the defendant’s case.
(C) Concurrent with the order for a substance abuse and mental health evaluation of the defendant, and with the defendant’s consent, the court shall also order that a case worker or other qualified individual determine whether the defendant is
eligible to receive Medi-Cal, Medicare, or any other relevant benefits for any programs or evaluations under this section. If the defendant did not previously consent to an eligibility determination at arraignment, the court shall order the eligibility determination upon and as a condition of the defendant’s agreement to participate in and complete a treatment program as described in this subdivision.
for a program that is approved by the court.
treatment, is not amenable to treatment, has refused treatment, or has been convicted of a crime that was committed since starting treatment, the prosecuting attorney, the court on its own, or the probation department may make a motion for entry of judgment and sentencing. After notice to the defendant, the court shall hold a hearing to determine whether judgment should be entered and the defendant sentenced. Judgment shall be imposed and the defendant sentenced if the court finds true one or more of the foregoing circumstances. However, except when the defendant has been found to have been convicted of a crime that was committed since starting treatment, the court may rerefer the defendant to treatment if the court finds that it is in the interest of justice to do so, that the defendant is currently amenable to treatment, and if the defendant agrees to participate in, and complete, a treatment program as described in this section.
spent in residential treatment, a defendant may earn only actual credits pursuant to Section 2900.5 of the Penal Code and shall not earn conduct credits pursuant to Section 4019 of the Penal Code or any other provision. Time spent in any other type of program or counseling is not eligible for any credits.
subdivisions (d) and (e) of Section 11054, or, with the exception of methamphetamine, any other substance listed in subdivision (d) of Section 11055.