Cal. Penal Code § 1370
(a)
(1)
(B) If the defendant is found mentally incompetent and is not charged with an offense listed in subdivision (d) of Section 1001.36, the trial, the hearing on the alleged violation, or the judgment shall be suspended, and the court shall do all of the following:
(i)
(iii) If restoring the person to mental competence is not in the interests of justice, the court shall conduct a hearing, pursuant to Section 1001.36, and, if the court deems the defendant eligible, grant diversion pursuant to that section for a period not to exceed two years from the date the individual is accepted into diversion or the maximum term of imprisonment provided by law for the most serious offense charged in the complaint, whichever is shorter.
(C) If the defendant is found mentally incompetent and restoring the defendant to competence is in the interests of justice or they are charged with an offense listed in subdivision (d) of Section 1001.36, the trial, the hearing on the alleged violation, or the judgment shall be suspended until the person becomes mentally competent.
(ii)
(v)
(J)
(i) The State Department of State Hospitals may, pursuant to Section 4335.2 of the Welfare and Institutions Code, conduct an evaluation of the defendant in county custody to determine any of the following:
(2) Prior to making the order directing that the defendant be committed to the State Department of State Hospitals or other treatment facility or placed on outpatient status, the court shall proceed as follows:
(A)
(B) The court shall hear and determine whether the defendant lacks the capacity to make decisions regarding the administration of antipsychotic medication. The court shall consider opinions in the reports prepared pursuant to subdivision (b) of Section 1369, as applicable to the issue of whether the defendant lacks the capacity to make decisions regarding the administration of antipsychotic medication, and shall proceed as follows:
(i) The court shall hear and determine whether any of the following is true:
(ii)
(D)
(i) If the treating psychiatrist certifies that antipsychotic medication has become medically necessary and appropriate pursuant to subparagraph (C), antipsychotic medication may be administered to the defendant for not more than 21 days, provided, however, that, within 72 hours of the certification, the defendant is provided a medication review hearing before an administrative law judge to be conducted at the facility where the defendant is receiving treatment. The treating psychiatrist shall present the case for the certification for involuntary treatment and the defendant shall be represented by an attorney or a patients’ rights advocate. The attorney or patients’ rights advocate shall be appointed to meet with the defendant no later than one day prior to the medication review hearing to review the defendant’s rights at the medication review hearing, discuss the process, answer questions or concerns regarding involuntary medication or the hearing, assist the defendant in preparing for the hearing and advocating for the defendant’s interests at the hearing, review the panel’s final determination following the hearing, advise the defendant of their right to judicial review of the panel’s decision, and provide the defendant with referral information for legal advice on the subject. The defendant shall also have the following rights with respect to the medication review hearing:
(3)
(A) When the court orders that the defendant be committed to a State Department of State Hospitals facility or other public or private treatment facility, the court shall provide copies of the following documents prior to the admission of the defendant to the State Department of State Hospitals or other treatment facility where the defendant is to be committed:
(iii)
(6)
(A) If the defendant is committed or transferred to the State Department of State Hospitals pursuant to this section, the court may, upon receiving the written recommendation of the medical director of the State Department of State Hospitals facility and the community program director that the defendant be transferred to a public or private treatment facility approved by the community program director, order the defendant transferred to that facility. If the defendant is committed or transferred to a public or private treatment facility approved by the community program director, the court may, upon receiving the written recommendation of the community program director, transfer the defendant to the State Department of State Hospitals or to another public or private treatment facility approved by the community program director. In the event of dismissal of the criminal charges before the defendant recovers competence, the person shall be subject to the applicable provisions of the Lanterman-Petris-Short Act (Part 1 (commencing with Section 5000) of Division 5 of the Welfare and Institutions Code). If either the defendant or the prosecutor chooses to contest either kind of order of transfer, a petition may be filed in the court for a hearing, which shall be held if the court determines that sufficient grounds exist. At the hearing, the prosecuting attorney or the defendant may present evidence bearing on the order of transfer. The court shall use the same standards as are used in conducting probation revocation hearings pursuant to Section 1203.2.
Prior to making an order for transfer under this section, the court shall notify the defendant, the attorney of record for the defendant, the prosecuting attorney, and the community program director or a designee.
(7)
(b)
(1) Within 90 days after a commitment made pursuant to subdivision (a), the medical director of the State Department of State Hospitals facility or other treatment facility to which the defendant is confined shall make a written report to the court and the community program director for the county or region of commitment, or a designee, concerning the defendant’s progress toward recovery of mental competence and whether the administration of antipsychotic medication remains necessary.
(B) If the report indicates that there is no substantial likelihood that the defendant will attain mental competence in the foreseeable future, the medical director of the State Department of State Hospitals facility or other treatment facility to which the defendant is confined shall do both of the following:
If the defendant is in county custody, the county jail shall provide access to the defendant for purposes of the State Department of State Hospitals conducting an evaluation of the defendant pursuant to Section 4335.2 of the Welfare and Institutions Code. Based upon this evaluation, the State Department of State Hospitals may make a written report to the court within 90 days of a commitment made pursuant to subdivision (a) concerning the defendant’s progress toward recovery of mental competence and whether the administration of antipsychotic medication is necessary. If the defendant remains in county custody after the initial 90-day report, the State Department of State Hospitals may conduct an evaluation of the defendant pursuant to Section 4335.2 of the Welfare and Institutions Code and make a written report to the court concerning the defendant’s progress toward recovery of mental competence and whether the administration of antipsychotic medication is necessary.
If the defendant is on outpatient status, the outpatient treatment staff shall make a written report to the community program director concerning the defendant’s progress toward recovery of mental competence. Within 90 days of placement on outpatient status, the community program director shall report to the court on this matter. If the defendant has not recovered mental competence, but the report discloses a substantial likelihood that the defendant will attain mental competence in the foreseeable future, the defendant shall remain in the State Department of State Hospitals facility or other treatment facility or on outpatient status. Thereafter, at six-month intervals or until the defendant becomes mentally competent, if the defendant is confined in a treatment facility, the medical director of the State Department of State Hospitals facility or person in charge of the facility shall report, in writing, to the court and the community program director or a designee regarding the defendant’s progress toward recovery of mental competence and whether the administration of antipsychotic medication remains necessary. If the defendant is on outpatient status, after the initial 90-day report, the outpatient treatment staff shall report to the community program director on the defendant’s progress toward recovery, and the community program director shall report to the court on this matter at six-month intervals. A copy of these reports shall be provided to the prosecutor and defense counsel by the court.
(2) The reports made pursuant to paragraph (1) concerning the defendant’s progress toward attaining competency shall also consider the issue of involuntary medication. Each report shall include, but not be limited to, all of the following:
(3) After reviewing the reports, the court shall determine if grounds for the involuntary administration of antipsychotic medication exist, whether or not an order was issued at the time of commitment, and shall do one of the following:
(c)
(2)