Cal. Welf. & Inst. Code § 5346
(a) In any county or group of counties where services are available as provided in Section 5348, a court may order a person who is the subject of a petition filed pursuant to this section to obtain assisted outpatient treatment if the court finds, by clear and convincing evidence, that the facts stated in the verified petition filed in accordance with this section are true and establish that all of the requisite criteria set forth in this section are met, including, but not limited to, each of the following:
(3) There has been a clinical determination that, in view of the person’s treatment history and current behavior, at least one of the following is true:
(4) The person has a history of lack of compliance with treatment for the person’s mental illness, in that at least one of the following is true:
(b)
(2) A request may be made only by any of the following persons to the county mental health department for the filing of a petition to obtain an order authorizing assisted outpatient treatment:
(4) The petition shall state all of the following:
(5)
(A) The petition shall be accompanied by an affidavit of a licensed mental health treatment provider designated by the local mental health director who shall state, if applicable, either of the following:
(d)
(4) The person who is the subject of the petition shall have all of the following rights:
(5)
(e) Assisted outpatient treatment shall not be ordered unless the licensed mental health treatment provider recommending assisted outpatient treatment to the court has submitted to the court a written treatment plan that includes services as set forth in Section 5348, and the court finds, in consultation with the county behavioral health director, or the director’s designee, all of the following:
(h)