Today's Law As Amended

PDF |Add To My Favorites | print page

AB-1946 Public safety: mentally disordered individuals: diversion. (2017-2018)



SECTION 1.

 Section 1001.35 of the Penal Code is amended to read:

1001.35.
 The purpose of this chapter is to promote all of the following:
(a) Increased diversion of individuals with mental disorders to mitigate the individuals’ entry and reentry into the criminal justice system while protecting public safety.
(b) Allowing local discretion discretion,  and flexibility for counties in the development and implementation of diversion for individuals with mental disorders across a continuum of care settings.
(c) Providing diversion that meets the unique mental health treatment and support needs of individuals with mental disorders.

SEC. 2.

 Section 1001.36 of the Penal Code is amended to read:

1001.36.
 (a) (1) Except as provided in paragraph (2), before diversion may be requested or granted pursuant to this section for individuals charged with felonies, the county board of supervisors shall adopt a plan, in consultation with the county partners, including, but not limited to, the district attorney, the local defense bar, county mental health, and the superior court, to create a diversion program pursuant to this section in that county. The county shall determine the eligibility criteria for a defendant to be placed into the diversion program with the appropriate treatment and supervision. This section does not impose a duty on a county to establish or administer, and does not limit the authority of a county or superior court to establish or administer, as applicable, diversion programs, including other alternative diversion for individuals with mental disorders. A county board of supervisors, in consultation with the county partners, including, but not limited to, the district attorney, the local defense bar, county mental health, and the superior court, may adopt additional criteria for an individual’s participation in the diversion program created pursuant to this chapter.
(2) Paragraph (1) does not apply to an individual who was granted the right to participate in a diversion program pursuant to this section prior to the effective date of the act adding this paragraph.
(a) (b)  On an accusatory pleading alleging the commission of a misdemeanor or felony offense, the court may,  court,  after considering the positions of the defense and prosecution, has the discretion to  grant pretrial diversion to a defendant pursuant to this section if the defendant meets all of the requirements specified in paragraph (1) of subdivision (b). subdivision (c). 
(b)  (c)  (1) Pretrial diversion may be granted  Except as provided in paragraph (2), an individual may request and a court may grant, pretrial diversion  pursuant to this section if after  all of the following criteria are met:
(A) (i) The court is satisfied that the defendant suffers from a mental disorder as identified in the most recent edition of the Diagnostic and Statistical Manual of Mental Disorders, including, but not limited to, bipolar disorder, schizophrenia, schizoaffective disorder, or post-traumatic stress disorder, but excluding antisocial personality disorder, borderline personality disorder, and pedophilia.
(A) (ii)  The court is satisfied that the defendant suffers from a mental disorder as identified in the most recent edition of the Diagnostic and Statistical Manual of Mental Disorders, including, but not limited to, bipolar disorder, schizophrenia, schizoaffective disorder, or post-traumatic stress disorder, but excluding antisocial personality disorder, borderline personality disorder, and pedophilia.  Evidence of the defendant’s mental disorder shall be provided by the defense and shall include a recent diagnosis by a qualified mental health expert. In opining that a defendant suffers from a qualifying disorder, the qualified mental health expert may rely on an examination of the defendant, the defendant’s medical records, arrest reports, or any other relevant evidence.
(B) The court is satisfied that the defendant’s mental disorder was a significant factor in the commission of the charged offense. A court may conclude that a defendant’s mental disorder was a significant factor in the commission of the charged offense if, after reviewing any relevant and credible evidence, including, but not limited to, police reports, preliminary hearing transcripts, witness statements, statements by the defendant’s mental health treatment provider, medical records, records or reports by qualified medical experts, or evidence that the defendant displayed symptoms consistent with the relevant mental disorder at or near the time of the offense, the court concludes that the defendant’s mental disorder substantially contributed to the defendant’s involvement in the commission of the offense.
(C) In the opinion of a qualified mental health expert, the defendant’s symptoms of the mental disorder motivating the criminal behavior would respond to mental health treatment.
(D) The defendant consents to diversion and waives his or her right to a speedy trial, unless a defendant has been found to be an appropriate candidate for diversion in lieu of commitment pursuant to clause (iv) of subparagraph (B) paragraph (1) of subdivision (a) of Section 1370 or paragraph (2) of subdivision (a) of Section 1370.01  and, as a result of his or her mental incompetence, cannot consent to diversion or give a knowing and intelligent waiver of his or her right to a speedy trial.
(E) The defendant agrees to comply with treatment as a condition of diversion.
(F) The court is satisfied that the defendant will not pose an unreasonable risk of danger to public safety, as defined in Section 1170.18,  safety  if treated in the community. The court may consider the opinions of the district attorney, the defense, or a qualified mental health expert, and may consider the defendant’s violence and criminal history, the current charged offense, and any other factors that the court deems appropriate.
(2) A defendant may shall  not be placed into a diversion program, pursuant to this section, for the following current charged  if he or she has been charged with any of the following  offenses:
(A) Murder or voluntary manslaughter.
(B) An offense for which a person, if convicted, would be required to register pursuant to Section 290, except for a violation of Section 314. 290. 
(C) Rape.
(D) Lewd or lascivious act on a child under 14 years of age.
(E) Assault with intent to commit rape, sodomy, or oral copulation, in violation of Section 220.
(F) Commission of rape or sexual penetration in concert with another person, in violation of Section 264.1.
(G) Continuous sexual abuse of a child, in violation of Section 288.5.
(H) A violation of subdivision (b) or (c) of Section 11418.
(3) (d)  At any stage of the proceedings, the court may require the defendant to make a prima facie showing that the defendant will meet the minimum requirements of eligibility for diversion and that  the defendant and the offense are suitable for diversion. The hearing on the prima facie showing shall be informal and may proceed on offers of proof, reliable hearsay, and argument of counsel. If a prima facie showing is not made, the court may summarily deny the request for diversion or grant any other relief as may be deemed appropriate.
(e) The defendant has the burden of establishing eligibility and suitability for diversion.
(f) Each party shall pay the cost of any report or any other expenses the party incurs in submitting information to the court regarding the defendant’s eligibility or suitability for diversion, unless otherwise specified in the county plan pursuant to subdivision (a). The court shall pay for any report it orders pursuant to Section 730 of the Evidence Code.
(c) (g)  As used in this chapter, “pretrial diversion” means the postponement of prosecution, either temporarily or permanently, at any point in the judicial process from the point at which the accused is charged until adjudication, to allow the defendant to undergo mental health treatment, subject to all of the following:
(1) (A) The court is satisfied that the recommended inpatient or outpatient program of mental health treatment will meet the specialized mental health treatment needs of the defendant.
(B) The defendant may be referred to a program of mental health treatment utilizing existing inpatient or outpatient mental health resources. Before approving a proposed treatment program, the court shall consider the request of the defense, the request of the prosecution, the needs of the defendant, and the interests of the community. The treatment may be procured using private or public funds, and a referral may be made to a county mental health agency, existing collaborative courts, or assisted outpatient treatment only if that entity has agreed to accept responsibility for the treatment of the defendant, and mental health services are provided only to the extent that resources are available and the defendant is eligible for those services.
(2) The provider of the mental health treatment program in which the defendant has been placed shall provide regular progress  reports to the court, the defense, and the prosecutor on the defendant’s progress in treatment.
(3) The period during which criminal proceedings against the defendant may be diverted shall be no longer than two years. years, except as provided in subdivision (k). 
(4) (h)  Upon request, the court shall conduct a hearing to determine whether restitution, as defined in subdivision (f)  restitution within the meaning  of Section 1202.4, 1202.4  is owed to any victim as a result of the diverted offense and, if owed, order its payment during the period of diversion. However, a defendant’s inability to pay restitution due to indigence or mental disorder shall is  not be grounds a basis  for denial of diversion or a finding that the defendant has failed to comply with the terms of diversion.
(i) The defendant shall be advised that he or she shall not own, possess, or have in his or her custody or control a firearm pursuant to subdivision (i) of Section 8103 of the Welfare and Institutions Code.
(d) (j)  If any of the following circumstances exists, the court shall, after notice to the defendant, defense counsel, and the prosecution, hold a hearing to determine whether the criminal proceedings should be reinstated, whether the treatment should be modified, or whether the defendant should be conserved and referred to the conservatorship investigator of the county of commitment to initiate conservatorship proceedings for the defendant pursuant to Chapter 3 (commencing with Section 5350) of Part 1 of Division 5 of the Welfare and Institutions Code:
(1) The defendant is charged with an additional misdemeanor allegedly committed during the pretrial diversion and that reflects the defendant’s propensity for violence.
(2) The defendant is charged with an additional felony allegedly committed during the pretrial diversion.
(3) The defendant is engaged in criminal conduct rendering him or her unsuitable for diversion.
(4) Based on the opinion of a qualified mental health expert whom the court may deem appropriate, either of the following circumstances exists:
(A) The defendant is performing unsatisfactorily in the assigned program.
(B) The defendant is gravely disabled, as defined in subparagraph (B) of paragraph (1) of subdivision (h) of Section 5008 of the Welfare and Institutions Code. A defendant shall only be conserved and referred to the conservatorship investigator pursuant to this finding.
(k) No sooner than 90 days prior to the end of the diversion period described in paragraph (3) of subdivision (g), the court may conduct a hearing to consider extending the period of diversion for up to one year. An extension pursuant to this subdivision shall only be granted by the court if the mental health treatment program provider, in the program in which the individual has been placed, recommends that diversion be extended to facilitate the individual’s safe and effective transition to ongoing mental health services in the community after the period of diversion.
(l) A court may conclude that the defendant has performed satisfactorily if the defendant has substantially complied with the requirements of diversion, has avoided significant new violations of law unrelated to the defendant’s mental health condition, and has a plan in place for long-term mental health care.
(m) If the defendant has performed satisfactorily in the diversion program, the court shall dismiss the defendant’s criminal charges that were the subject of the criminal proceedings at the time of the initial diversion.
(e) (n)  If the defendant has performed satisfactorily in diversion, at the end of the period of diversion, the court shall dismiss the defendant’s criminal charges that were the subject of the criminal proceedings at the time of the initial diversion. A court may conclude that the defendant has performed satisfactorily if the defendant has substantially complied with the requirements of diversion, has avoided significant new violations of law unrelated to the defendant’s mental health condition, and has a plan in place for long-term mental health care. If the court  court  dismisses the charges, the clerk of the court shall file a record with the Department of Justice indicating the disposition of the case diverted pursuant to this section. Upon successful completion of diversion, if the court dismisses the charges, the arrest upon which the diversion was based shall be deemed never to have occurred, and the court shall order access to the record of the arrest restricted in accordance with Section 1001.9, except as specified in subdivisions (g) (p)  and (h). (q).  The defendant who successfully completes diversion may indicate in response to any question concerning his or her prior criminal record that he or she was not arrested or diverted for the offense, except as specified in subdivision (g). (p). 
(f) (o)  A record pertaining to an arrest resulting in successful completion of diversion, or any record generated as a result of the defendant’s application for or participation in diversion, shall not, without the defendant’s consent, be used in any way that could result in the denial of any employment, benefit, license, or certificate.
(g) (p)  The defendant shall be advised that, regardless of his or her completion of diversion, both of the following apply:
(1) The arrest upon which the diversion was based may be disclosed by the Department of Justice to any peace officer application request and that, notwithstanding subdivision (f), (o),  this section does not relieve the defendant of the obligation to disclose the arrest in response to any direct question contained in any questionnaire or application for a position as a peace officer, as defined in Section 830.
(2) An order to seal records pertaining to an arrest made pursuant to this section has no effect on a criminal justice agency’s ability to access and use those sealed records and information regarding sealed arrests, as described in Section 851.92.
(h) (q)  A finding that the defendant suffers from a mental disorder, any progress reports concerning the defendant’s treatment, or any other records related to a mental disorder that were created as a result of participation in, or completion of, diversion pursuant to this section or for use at a hearing on the defendant’s eligibility for diversion under this section may not be used in any other proceeding without the defendant’s consent, unless that information is relevant evidence that is admissible under the standards described in paragraph (2) of subdivision (f) of Section 28 of Article I of the California Constitution. However, when determining whether to exercise its discretion to grant diversion under this section, a court may consider previous records of participation in diversion under this section.
(i) (r)  The county agency administering the diversion, the defendant’s mental health treatment providers, the public guardian or conservator, and the court shall, to the extent not prohibited by federal law, have access to the defendant’s medical and psychological records, including progress reports,  records  during the defendant’s time in diversion, as needed, for the purpose of providing care and treatment and monitoring treatment for diversion or conservatorship.

SEC. 3.

 Section 1370 of the Penal Code is amended to read:

1370.
 (a) (1) (A) If the defendant is found mentally competent, the criminal process shall resume, the trial on the offense charged or hearing on the alleged violation shall proceed, and judgment may be pronounced.
(B) If the defendant is found mentally incompetent, the trial, the hearing on the alleged violation, or the judgment shall be suspended until the person becomes mentally competent.
(i) The court shall order that the mentally incompetent defendant be delivered by the sheriff to a State Department of State Hospitals facility, as defined in Section 4100 of the Welfare and Institutions Code, for the care and treatment of the mentally disordered,  as directed by the State Department of State Hospitals, or to any other available public or private treatment facility, including a community-based residential treatment system established pursuant to Article 1 (commencing with Section 5670) of Chapter 2.5 of Part 2 of Division 5 of the Welfare and Institutions Code if the facility has a secured perimeter or a locked and controlled treatment facility, approved by the community program director that will promote the defendant’s speedy restoration to mental competence, or placed on outpatient status as specified in Section 1600.
(ii) However, if the action against the defendant who has been found mentally incompetent is on a complaint charging a felony offense specified in Section 290, the prosecutor shall determine whether the defendant previously has been found mentally incompetent to stand trial pursuant to this chapter on a charge of a Section 290 offense, or whether the defendant is currently the subject of a pending Section 1368 proceeding arising out of a charge of a Section 290 offense. If either determination is made, the prosecutor shall so  notify the court and defendant in writing. After this notification, and opportunity for hearing, the court shall order that the defendant be delivered by the sheriff to a State Department of State Hospitals facility, as directed by the State Department of State Hospitals, or other secure treatment facility for the care and treatment of persons with a mental health disorder,  the mentally disordered  unless the court makes specific findings on the record that an alternative placement would provide more appropriate treatment for the defendant and would not pose a danger to the health and safety of others.
(iii) If the action against the defendant who has been found mentally incompetent is on a complaint charging a felony offense specified in Section 290 and the defendant has been denied bail pursuant to subdivision (b) of Section 12 of Article I of the California Constitution because the court has found, based upon clear and convincing evidence, a substantial likelihood that the person’s release would result in great bodily harm to others, the court shall order that the defendant be delivered by the sheriff to a State Department of State Hospitals facility, for the care and treatment of the mentally disordered,  as directed by the State Department of State Hospitals, unless the court makes specific findings on the record that an alternative placement would provide more appropriate treatment for the defendant and would not pose a danger to the health and safety of others.
(iv) If, at any time after the court finds that the defendant is mentally incompetent and before the defendant is transported to a facility pursuant to this section, the court is provided with any information that the defendant may benefit from diversion pursuant to Chapter 2.8A (commencing with Section 1001.35) of Title 6, the court may make a finding that the defendant is an appropriate candidate for diversion.
(v) If a defendant is found by the court to be an appropriate candidate for diversion pursuant to clause (iv), the defendant’s eligibility shall be determined pursuant to Section 1001.36. A defendant granted diversion may participate for the lesser of the period specified in paragraph (1) of subdivision (c) or two years.  years, plus any extension granted pursuant to subdivision (k) of Section 1001.36.  If, during that period, the court determines that criminal proceedings should be reinstated pursuant to subdivision (d) (j)  of Section 1001.36, the court  and the court is presented with substantial evidence that the defendant’s psychiatric symptoms have changed to such a degree as to create a doubt in the mind of the judge as to the defendant’s current mental incompetence, the court  shall, pursuant to Section 1369, appoint a psychiatrist, licensed psychologist, or any other expert the court may deem appropriate, to determine the defendant’s competence to stand trial. examine the defendant. The examining expert shall evaluate the nature of the defendant’s mental disorder, if any, the defendant’s ability or inability to understand the nature of the criminal proceedings or assist counsel in the conduct of a defense in a rational manner as a result of a mental disorder and, if within the scope of his or her license and appropriate in light of his or her opinion, whether or not treatment with antipsychotic medication is medically appropriate for the defendant and whether antipsychotic medication is likely to restore the defendant to mental competence. If an examining expert is of the opinion that antipsychotic medication may be medically appropriate for the defendant and that the defendant should be evaluated by a psychiatrist to determine if antipsychotic medication is medically appropriate, the expert shall inform the court of this opinion and his or her recommendation as to whether a psychiatrist should examine the defendant. The examining expert shall also address the issues of whether the defendant has the capacity to make decisions regarding antipsychotic medication and whether the defendant is a danger to himself, herself, or others. If the defendant is examined by a psychiatrist and the psychiatrist forms an opinion as to whether or not treatment with antipsychotic medication is medically appropriate, the psychiatrist shall inform the court of his or her opinions as to the likely or potential side effects of the medication, the expected efficacy of the medication, possible alternative treatments, and whether it is medically appropriate to administer antipsychotic medication in the county jail. If it is suspected the defendant is developmentally disabled, the court shall appoint the director of the regional center for the developmentally disabled established under Division 4.5 (commencing with Section 4500) of the Welfare and Institutions Code, or the designee of the director, to examine the defendant. The court may order the developmentally disabled defendant to be confined for examination pursuant to subdivision (a) of Section 1369. 
(I) If, in the opinion of the appointed expert, the defendant has regained competence, the court shall proceed as if the opinion of the expert was a certificate of restoration of competence pursuant to paragraph (1) of subdivision (a) of Section 1372 and the defendant shall be returned to court pursuant to Section 1372. The presumption of competency shall not apply, and a hearing shall be held to determine whether the defendant’s competency has been restored. If the court finds that the defendant has attained competency to stand trial, the defendant shall be returned by the sheriff to court, criminal proceedings shall be reinstated, and the court shall hold a hearing to determine whether the person is to be admitted to bail or released on his or her own recognizance pending conclusion of the criminal proceedings. If the superior court approves the certificate of restoration to competence regarding a person on outpatient status, unless it appears that the person has refused to come to court, that person shall remain released on his or her own recognizance status. If the person has refused to appear before the court, the court shall set bail and may place the person in custody until bail is posted.
(II) If, in the opinion of the appointed expert, the defendant is not competent, the court may do either of the following:
(ia) If the court finds that the defendant remains incompetent to stand trial but the appointed expert opines that the defendant is likely to be restored to competency in the foreseeable future, the court shall proceed as set forth in this subparagraph. In computing the maximum term of commitment, the court shall deduct, from the maximum term of commitment, the amount of credit for time served in county jail and the amount of time during which the defendant was placed in a diversion program pursuant to Section 1001.36. The court shall not deduct, from the maximum term of commitment, time during which the defendant received treatment from an outpatient mental health treatment program under Section 1001.36.
(ib) If the court finds that the defendant remains incompetent to stand trial and the appointed expert opines that the defendant is not likely to be restored to competency in the foreseeable future, the court shall order that the defendant be released, unless it appears to the court that the defendant is gravely disabled, as defined in subparagraph (A) or (B) of paragraph (1) of subdivision (h) of Section 5008 of the Welfare and Institutions Code, in which case, the court shall order the conservatorship investigator of the county of commitment of the defendant to initiate conservatorship proceedings for the defendant pursuant to Chapter 3 (commencing with Section 5350) of Part 1 of Division 5 of the Welfare and Institutions Code. Hearings required in the conservatorship proceedings shall be held in the superior court in the county that ordered the commitment. The court shall transmit a copy of the order directing initiation of conservatorship proceedings to the sheriff and the district attorney of the county in which criminal charges are pending, and the defendant’s counsel of record. The court shall notify the community program director or a designee, the sheriff and district attorney of the county in which criminal charges are pending, and the counsel of record of the outcome of the conservatorship proceedings.
(vi) Upon the dismissal of charges at the conclusion of the period of diversion, pursuant to subdivision (e) (m)  of Section 1001.36, a defendant shall no longer be deemed incompetent to stand trial pursuant to this section.
(vii) The clerk of the court shall notify the Department of Justice, Justice  in writing, writing  of a finding of mental incompetence with respect to a defendant who is subject to clause (ii) or (iii) for inclusion in his or her state summary criminal history information.
(C) Upon the filing of a certificate of restoration to competence, the court shall order that the defendant be returned to court in accordance with Section 1372. The court shall transmit a copy of its order to the community program director or a designee.
(D) A defendant charged with a violent felony may not be delivered to a State Department of State Hospitals facility or treatment facility pursuant to this subdivision unless the State Department of State Hospitals facility or treatment facility has a secured perimeter or a locked and controlled treatment facility, and the judge determines that the public safety will be protected.
(E) For purposes of this paragraph, “violent felony” means an offense specified in subdivision (c) of Section 667.5.
(F) A defendant charged with a violent felony may be placed on outpatient status, as specified in Section 1600, only if the court finds that the placement will not pose a danger to the health or safety of others. If the court places a defendant charged with a violent felony on outpatient status, as specified in Section 1600, the court shall serve copies of the placement order on defense counsel, the sheriff in the county where the defendant will be placed, and the district attorney for the county in which the violent felony charges are pending against the defendant.
(G) If, at any time after the court has declared a defendant incompetent to stand trial pursuant to this section, counsel for the defendant or a jail medical or mental health staff provider provides the court with substantial evidence that the defendant’s psychiatric symptoms have changed to such a degree as to create a doubt in the mind of the judge as to the defendant’s current mental incompetence, the court may appoint a psychiatrist or a licensed psychologist to opine as to whether the defendant has regained competence. If, in the opinion of that expert, the defendant has regained competence, the court shall proceed as if the opinion of the expert was  a certificate of restoration of competence has been returned  pursuant to paragraph (1) of subdivision (a) of Section 1372, except that a  and the defendant shall be returned to court pursuant to Section 1372. The  presumption of competency shall not apply and a hearing shall be held to determine whether competency has been restored.
(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) The court shall order the community program director or a designee to evaluate the defendant and to submit to the court within 15 judicial days of the order a written recommendation as to whether the defendant should be required to undergo outpatient treatment, or be committed to the State Department of State Hospitals or to any other treatment facility. A person shall not be admitted to a State Department of State Hospitals facility or other treatment facility or placed on outpatient status under this section without having been evaluated by the community program director or a designee. The community program director or designee shall evaluate the appropriate placement for the defendant between a State Department of State Hospitals facility or the community-based residential treatment system based upon guidelines provided by the State Department of State Hospitals.
(B) The court shall hear and determine whether the defendant lacks capacity to make decisions regarding the administration of antipsychotic medication. The court shall consider opinions in the reports prepared pursuant to subdivision (a) of Section 1369, as applicable to the issue of whether the defendant lacks 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:
(I) The defendant lacks capacity to make decisions regarding antipsychotic medication, the defendant’s mental disorder requires medical treatment with antipsychotic medication, and, if the defendant’s mental disorder is not treated with antipsychotic medication, it is probable that serious harm to the physical or mental health of the patient will result. Probability of serious harm to the physical or mental health of the defendant requires evidence that the defendant is presently suffering adverse effects to his or her physical or mental health, or the defendant has previously suffered these effects as a result of a mental disorder and his or her condition is substantially deteriorating. The fact that a defendant has a diagnosis of a mental disorder does not alone establish probability of serious harm to the physical or mental health of the defendant.
(II) The defendant is a danger to others, in that the defendant has inflicted, attempted to inflict, or made a serious threat of inflicting substantial physical harm on another while in custody, or the defendant had inflicted, attempted to inflict, or made a serious threat of inflicting substantial physical harm on another that resulted in his or her being taken into custody, and the defendant presents, as a result of mental disorder or mental defect, a demonstrated danger of inflicting substantial physical harm on others. Demonstrated danger may be based on an assessment of the defendant’s present mental condition, including a consideration of past behavior of the defendant within six years prior to the time the defendant last attempted to inflict, inflicted, or threatened to inflict substantial physical harm on another, and other relevant evidence.
(III) The people have charged the defendant with a serious crime against the person or property, involuntary administration of antipsychotic medication is substantially likely to render the defendant competent to stand trial, the medication is unlikely to have side effects that interfere with the defendant’s ability to understand the nature of the criminal proceedings or to assist counsel in the conduct of a defense in a reasonable manner, less intrusive treatments are unlikely to have substantially the same results, and antipsychotic medication is in the patient’s best medical interest in light of his or her medical condition.
(ii) If the court finds any of the conditions described in clause (i) to be true, the court shall issue an order authorizing involuntary administration of antipsychotic medication to the defendant when and as prescribed by the defendant’s treating psychiatrist at any facility housing the defendant for purposes of this chapter. The order shall be valid for no more than one year, pursuant to subparagraph (A) of paragraph (7). The court shall not order involuntary administration of psychotropic medication under subclause (III) of clause (i) unless the court has first found that the defendant does not meet the criteria for involuntary administration of psychotropic medication under subclause (I) of clause (i) and does not meet the criteria under subclause (II) of clause (i).
(iii) In all cases, the treating hospital, facility, or program may administer medically appropriate antipsychotic medication prescribed by a psychiatrist in an emergency as described in subdivision (m) of Section 5008 of the Welfare and Institutions Code.
(iv) If the court has determined that the defendant has the capacity to make decisions regarding antipsychotic medication, and if the defendant, with advice of his or her counsel, consents, the court order of commitment shall include confirmation that antipsychotic medication may be given to the defendant as prescribed by a treating psychiatrist pursuant to the defendant’s consent. The commitment order shall also indicate that, if the defendant withdraws consent for antipsychotic medication, after the treating psychiatrist complies with the provisions of subparagraph (C), the defendant shall be returned to court for a hearing in accordance with subparagraphs (C) and (D) regarding whether antipsychotic medication shall be administered involuntarily.
(v) If the court has determined that the defendant has the capacity to make decisions regarding antipsychotic medication and if the defendant, with advice from his or her counsel, does not consent, the court order for commitment shall indicate that, after the treating psychiatrist complies with the provisions of subparagraph (C), the defendant shall be returned to court for a hearing in accordance with subparagraphs (C) and (D) regarding whether antipsychotic medication shall be administered involuntarily.
(vi) A report made pursuant to paragraph (1) of subdivision (b) shall include a description of antipsychotic medication administered to the defendant and its effects and side effects, including effects on the defendant’s appearance or behavior that would affect the defendant’s ability to understand the nature of the criminal proceedings or to assist counsel in the conduct of a defense in a reasonable manner. During the time the defendant is confined in a State Department of State Hospitals facility or other treatment facility or placed on outpatient status, either the defendant or the people may request that the court review any order made pursuant to this subdivision. The defendant, to the same extent enjoyed by other patients in the State Department of State Hospitals facility or other treatment facility, shall have the right to contact the patients’ rights advocate regarding his or her rights under this section.
(C) If the defendant consented to antipsychotic medication as described in clause (iv) of subparagraph (B), but subsequently withdraws his or her consent, or, if involuntary antipsychotic medication was not ordered pursuant to clause (v) of subparagraph (B), and the treating psychiatrist determines that antipsychotic medication has become medically necessary and appropriate, the treating psychiatrist shall make efforts to obtain informed consent from the defendant for antipsychotic medication. If informed consent is not obtained from the defendant, and the treating psychiatrist is of the opinion that the defendant lacks capacity to make decisions regarding antipsychotic medication based on the conditions described in subclause (I) or (II) of clause (i) of subparagraph (B), the treating psychiatrist shall certify whether the lack of capacity and any applicable conditions described above  in this subdivision  exist. That certification shall contain an assessment of the current mental status of the defendant and the opinion of the treating psychiatrist that involuntary antipsychotic medication has become medically necessary and appropriate.
(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 his or her interests at the hearing, review the panel’s final determination following the hearing, advise the defendant of his or her 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:
(I) To be given timely access to the defendant’s records.
(II) To be present at the hearing, unless the defendant waives that right.
(III) To present evidence at the hearing.
(IV) To question persons presenting evidence supporting involuntary medication.
(V) To make reasonable requests for attendance of witnesses on the defendant’s behalf.
(VI) To a hearing conducted in an impartial and informal manner.
(ii) If the administrative law judge determines that the defendant either meets the criteria specified in subclause (I) of clause (i) of subparagraph (B), or meets the criteria specified in subclause (II) of clause (i) of subparagraph (B), antipsychotic medication may continue to be administered to the defendant for the 21-day certification period. Concurrently with the treating psychiatrist’s certification, the treating psychiatrist shall file a copy of the certification and a petition with the court for issuance of an order to administer antipsychotic medication beyond the 21-day certification period. For purposes of this subparagraph, the treating psychiatrist shall not be required to pay or deposit any fee for the filing of the petition or other document or paper related to the petition.
(iii) If the administrative law judge disagrees with the certification, medication may not be administered involuntarily until the court determines that antipsychotic medication should be administered pursuant to this section.
(iv) The court shall provide notice to the prosecuting attorney and to the attorney representing the defendant, and shall hold a hearing, no later than 18 days from the date of the certification, to determine whether antipsychotic medication should be ordered beyond the certification period.
(v) If, as a result of the hearing, the court determines that antipsychotic medication should be administered beyond the certification period, the court shall issue an order authorizing the administration of that medication.
(vi) The court shall render its decision on the petition and issue its order no later than three calendar days after the hearing and, in any event, no later than the expiration of the 21-day certification period.
(vii) If the administrative law judge upholds the certification pursuant to clause (ii), the court may, for a period not to exceed 14 days, extend the certification and continue the hearing pursuant to stipulation between the parties or upon a finding of good cause. In determining good cause, the court may review the petition filed with the court, the administrative law judge’s order, and any additional testimony needed by the court to determine if it is appropriate to continue medication beyond the 21-day certification and for a period of up to 14 days.
(viii) The district attorney, county counsel, or representative of a facility where a defendant found incompetent to stand trial is committed may petition the court for an order to administer involuntary medication pursuant to the criteria set forth in subclauses (II) and (III) of clause (i) of subparagraph (B). The order is reviewable as provided in paragraph (7).
(3) 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:
(A) The commitment order, including a specification of the charges.
(B) A computation or statement setting forth the maximum term of commitment in accordance with subdivision (c).
(C) A computation or statement setting forth the amount of credit for time served, if any, to be deducted from the maximum term of commitment.
(D) State summary criminal history information.
(E) Arrest reports prepared by the police department or other law enforcement agency.
(F) Court-ordered psychiatric examination or evaluation reports.
(G) The community program director’s placement recommendation report.
(H) Records of a finding of mental incompetence pursuant to this chapter arising out of a complaint charging a felony offense specified in Section 290 or a pending Section 1368 proceeding arising out of a charge of a Section 290 offense.
(I) Medical records.
(4) When the defendant is committed to a treatment facility pursuant to clause (i) of subparagraph (B) of paragraph (1) or the court makes the findings specified in clause (ii) or (iii) of subparagraph (B) of paragraph (1) to assign the defendant to a treatment facility other than a State Department of State Hospitals facility or other secure treatment facility, the court shall order that notice be given to the appropriate law enforcement agency or agencies having local jurisdiction at the site of the  placement facility of a any  finding of mental incompetence pursuant to this chapter arising out of a charge of a Section 290 offense.
(5) When directing that the defendant be confined in a State Department of State Hospitals facility pursuant to this subdivision, the court shall commit the patient to the State Department of State Hospitals.
(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.
(B) If the defendant is initially committed to a State Department of State Hospitals facility or secure treatment facility pursuant to clause (ii) or (iii) of subparagraph (B) of paragraph (1) and is subsequently transferred to any other facility, copies of the documents specified in paragraph (3) shall be taken with the defendant to each subsequent facility to which the defendant is transferred. The transferring facility shall also notify the appropriate law enforcement agency or agencies having local jurisdiction at the site of the new facility that the defendant is a person subject to clause (ii) or (iii) of subparagraph (B) of paragraph (1).
(7) (A) An order by the court authorizing involuntary medication of the defendant shall be valid for no more than one year. The court shall review the order at the time of the review of the initial report and the six-month progress reports pursuant to paragraph (1) of subdivision (b) to determine if the grounds for the authorization remain. In the review, the court shall consider the reports of the treating psychiatrist or psychiatrists and the defendant’s patients’ rights advocate or attorney. The court may require testimony from the treating psychiatrist and the patients’ rights advocate or attorney, if necessary. The court may continue the order authorizing involuntary medication for up to another six months, or vacate the order, or make any other appropriate order.
(B) Within 60 days before the expiration of the one-year involuntary medication order, the district attorney, county counsel, or representative of any facility where a defendant found incompetent to stand trial is committed may petition the committing court for a renewal, subject to the same conditions and requirements as in subparagraph (A). The petition shall include the basis for involuntary medication set forth in clause (i) of subparagraph (B) of paragraph (2). Notice of the petition shall be provided to the defendant, the defendant’s attorney, and the district attorney. The court shall hear and determine whether the defendant continues to meet the criteria set forth in clause (i) of subparagraph (B) of paragraph (2). The hearing on a any  petition to renew an order for involuntary medication shall be conducted prior to the expiration of the current order.
(8) For purposes of subparagraph (D) of paragraph (2) and paragraph (7), if the treating psychiatrist determines that there is a need, based on preserving his or her rapport with the patient or preventing harm, the treating psychiatrist may request that the facility medical director designate another psychiatrist to act in the place of the treating psychiatrist. If the medical director of the facility designates another psychiatrist to act pursuant to this paragraph, the treating psychiatrist shall brief the acting psychiatrist of the relevant facts of the case and the acting psychiatrist shall examine the patient prior to the hearing.
(b) (1) Within 90 days of 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. 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 regain 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, report  in writing, 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.
(A) If the report indicates that there is no substantial likelihood that the defendant will regain mental competence in the foreseeable future, the committing court shall order the defendant to be returned to the court for proceedings pursuant to paragraph (2) of subdivision (c) no later than 10 days following receipt of the report. The court shall transmit a copy of its order to the community program director or a designee.
(B) If the report indicates that there is no substantial likelihood that the defendant will regain 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:
(i) Promptly notify and provide a copy of the report to the defense counsel and the district attorney.
(ii) Provide a separate notification, in compliance with applicable privacy laws, to the committing county’s sheriff that transportation will be needed for the patient.
(2) If the court has issued an order authorizing the treating facility to involuntarily administer antipsychotic medication to the defendant, the reports made pursuant to paragraph (1) concerning the defendant’s progress toward regaining competency shall also consider the issue of involuntary medication. Each report shall include, but is  not be  limited to, all of the following:
(A) Whether or not the defendant has the capacity to make decisions concerning antipsychotic medication.
(B) If the defendant lacks capacity to make decisions concerning antipsychotic medication, whether the defendant risks serious harm to his or her physical or mental health if not treated with antipsychotic medication.
(C) Whether or not the defendant presents a danger to others if he or she is not treated with antipsychotic medication.
(D) Whether the defendant has a mental disorder for which medications are the only effective treatment.
(E) Whether there are any side effects from the medication currently being experienced by the defendant that would interfere with the defendant’s ability to collaborate with counsel.
(F) Whether there are any effective alternatives to medication.
(G) How quickly the medication is likely to bring the defendant to competency.
(H) Whether the treatment plan includes methods other than medication to restore the defendant to competency.
(I) A statement, if applicable, that no medication is likely to restore the defendant to competency.
(3) After reviewing the reports, the court shall determine whether or not grounds for the order authorizing involuntary administration of antipsychotic medication still exist and shall do one of the following:
(A) If the original grounds for involuntary medication still exist, the order authorizing the treating facility to involuntarily administer antipsychotic medication to the defendant shall remain in effect.
(B) If the original grounds for involuntary medication no longer exist, and there is no other basis for involuntary administration of antipsychotic medication, the order for the involuntary administration of antipsychotic medication shall be vacated.
(C) If the original grounds for involuntary medication no longer exist, and the report states that there is another basis for involuntary administration of antipsychotic medication, the court shall set a hearing within 21 days to determine whether the order for the involuntary administration of antipsychotic medication shall be vacated or whether a new order for the involuntary administration of antipsychotic medication shall be issued. The hearing shall proceed as set forth in subparagraph (B) of paragraph (2) of subdivision (a).
(4) Any defendant who has been committed or has been on outpatient status for 18 months and is still hospitalized or on outpatient status shall be returned to the committing court where a hearing shall be held pursuant to the procedures set forth in Section 1369. The court shall transmit a copy of its order to the community program director or a designee.
(4) (5)  If it is determined by the court that no  treatment for the defendant’s mental impairment is not  being conducted, the defendant shall be returned to the committing court. The court shall transmit a copy of its order to the community program director or a designee.
(5) (6)  At each review by the court specified in this subdivision, the court shall determine if the security level of housing and treatment is appropriate and may make an order in accordance with its determination. If the court determines that the defendant shall continue to be treated in the State Department of State Hospitals facility or on an outpatient basis, the court shall determine issues concerning administration of antipsychotic medication, as set forth in subparagraph (B) of paragraph (2) of subdivision (a).
(c) (1) At the end of two three  years from the date of commitment or a period of commitment equal to the maximum term of imprisonment provided by law for the most serious offense charged in the information, indictment, or misdemeanor complaint, or the maximum term of imprisonment provided by law for a violation of probation or mandatory supervision, whichever is shorter, but no later than 90 days prior to the expiration of the defendant’s term of commitment, a defendant who has not recovered mental competence shall be returned to the committing court. The court shall notify the community program director or a designee of the return and of any resulting court orders.
(2) Whenever a defendant is returned to the court pursuant to paragraph (1) or (4) of subdivision (b) or paragraph (1) of this subdivision and it appears to the court that the defendant is gravely disabled, as defined in subparagraph (A) or (B) of paragraph (1) of subdivision (h) of Section 5008 of the Welfare and Institutions Code, the court shall order the conservatorship investigator of the county of commitment of the defendant to initiate conservatorship proceedings for the defendant pursuant to Chapter 3 (commencing with Section 5350) of Part 1 of Division 5 of the Welfare and Institutions Code. Hearings required in the conservatorship proceedings shall be held in the superior court in the county that ordered the commitment. The court shall transmit a copy of the order directing initiation of conservatorship proceedings to the community program director or a designee, the sheriff and the district attorney of the county in which criminal charges are pending, and the defendant’s counsel of record. The court shall notify the community program director or a designee, the sheriff and district attorney of the county in which criminal charges are pending, and the defendant’s counsel of record of the outcome of the conservatorship proceedings.
(3) If a change in placement is proposed for a defendant who is committed pursuant to subparagraph (A) or (B) of paragraph (1) of subdivision (h) of Section 5008 of the Welfare and Institutions Code, the court shall provide notice and an opportunity to be heard with respect to the proposed placement of the defendant to the sheriff and the district attorney of the county in which the criminal charges or revocation proceedings are pending.
(4) If the defendant is confined in a treatment facility, a copy of any report to the committing court regarding the defendant’s progress toward recovery of mental competence shall be provided by the committing court to the prosecutor and to the defense counsel.
(d) With the exception of proceedings alleging a violation of mandatory supervision, the criminal action remains subject to dismissal pursuant to Section 1385. If the criminal action is dismissed, the court shall transmit a copy of the order of dismissal to the community program director or a designee. In a proceeding alleging a violation of mandatory supervision, if the person is not placed under a conservatorship as described in paragraph (2) of subdivision (c), or if a conservatorship is terminated, the court shall reinstate mandatory supervision and may modify the terms and conditions of supervision to include appropriate mental health treatment or refer the matter to a local mental health court, reentry court, or other collaborative justice court available for improving the mental health of the defendant.
(e) If the criminal action against the defendant is dismissed, the defendant shall be released from commitment ordered under this section, but without prejudice to the initiation of any  proceedings that may be appropriate under the Lanterman-Petris-Short Act (Part 1 (commencing with Section 5000) of Division 5 of the Welfare and Institutions Code).
(f) As used in this chapter, “community program director” means the person, agency, or entity designated by the State Department of State Hospitals pursuant to Section 1605 of this code and Section 4360 of the Welfare and Institutions Code.
(g) For the purpose of this section, “secure treatment facility” does shall  not include, except for State Department of State Hospitals facilities, state developmental centers, and correctional treatment facilities, any facility licensed pursuant to Chapter 2 (commencing with Section 1250) of, Chapter 3 (commencing with Section 1500) of, or Chapter 3.2 (commencing with Section 1569) of, Division 2 of the Health and Safety Code, or any community board and care facility.
(h) This section does not preclude a defendant from filing a petition for habeas corpus to challenge the continuing validity of an order authorizing a treatment facility or outpatient program to involuntarily administer antipsychotic medication to a person being treated as incompetent to stand trial.

SEC. 4.

 Section 1370.01 of the Penal Code is amended to read:

1370.01.
 (a) (1) If the defendant is found mentally competent, the criminal process shall resume, the trial on the offense charged shall proceed, and judgment may be pronounced. If the defendant is found mentally incompetent, the trial, judgment, or hearing on the alleged violation shall be suspended until the person becomes mentally competent, and the court shall order that (A) in the meantime, the defendant be delivered by the sheriff to an available public or private treatment facility approved by the county mental health director that will promote the defendant’s speedy restoration to mental competence, or placed on outpatient status as specified in this section, and (B) upon the filing of a certificate of restoration to competence, the defendant be returned to court in accordance with Section 1372. The court shall transmit a copy of its order to the county mental health director or his or her designee.
(2) If the defendant is found mentally incompetent, the court may make a finding that the defendant is an appropriate candidate for diversion pursuant to Chapter 2.8A (commencing with Section 1001.35) of Title 6, and may, if the defendant is eligible pursuant to Section 1001.36, grant diversion for a period not to exceed that set forth in paragraph (1) of subdivision (c). Upon the dismissal of charges at the conclusion of the period of diversion, pursuant to subdivision (e) (m)  of Section 1001.36, a defendant shall no longer be deemed incompetent to stand trial pursuant to this section.
(3) Prior to making the order directing that the defendant be confined in a treatment facility or placed on outpatient status, the court shall proceed as follows:
(A) The court shall order the county mental health director or his or her designee to evaluate the defendant and to submit to the court within 15 judicial days of the order a written recommendation as to whether the defendant should be required to undergo outpatient treatment, or committed to a treatment facility. No A  person shall not  be admitted to a treatment facility or placed on outpatient status under this section without having been evaluated by the county mental health director or his or her designee. No A  person shall not  be admitted to a state hospital under this section unless the county mental health director finds that there is no less restrictive appropriate placement available and the county mental health director has a contract with the State Department of State Hospitals for these placements.
(B) The court shall hear and determine whether the defendant, with advice of his or her counsel, consents to the administration of antipsychotic medication, and shall proceed as follows:
(i) If the defendant, with advice of his or her counsel, consents, the court order of commitment shall include confirmation that antipsychotic medication may be given to the defendant as prescribed by a treating psychiatrist pursuant to the defendant’s consent. The commitment order shall also indicate that, if the defendant withdraws consent for antipsychotic medication, after the treating psychiatrist complies with the provisions of subparagraph (C), the defendant shall be returned to court for a hearing in accordance with this subdivision regarding whether antipsychotic medication shall be administered involuntarily.
(ii) If the defendant does not consent to the administration of medication, the court shall hear and determine whether any of the following is true:
(I) The defendant lacks capacity to make decisions regarding antipsychotic medication, the defendant’s mental disorder requires medical treatment with antipsychotic medication, and, if the defendant’s mental disorder is not treated with antipsychotic medication, it is probable that serious harm to the physical or mental health of the patient will result. Probability of serious harm to the physical or mental health of the defendant requires evidence that the defendant is presently suffering adverse effects to his or her physical or mental health, or the defendant has previously suffered these effects as a result of a mental disorder and his or her condition is substantially deteriorating. The fact that a defendant has a diagnosis of a mental disorder does not alone establish probability of serious harm to the physical or mental health of the defendant.
(II) The defendant is a danger to others, in that the defendant has inflicted, attempted to inflict, or made a serious threat of inflicting substantial physical harm on another while in custody, or the defendant had inflicted, attempted to inflict, or made a serious threat of inflicting substantial physical harm on another that resulted in his or her being taken into custody, and the defendant presents, as a result of mental disorder or mental defect, a demonstrated danger of inflicting substantial physical harm on others. Demonstrated danger may be based on an assessment of the defendant’s present mental condition, including a consideration of past behavior of the defendant within six years prior to the time the defendant last attempted to inflict, inflicted, or threatened to inflict substantial physical harm on another, and other relevant evidence.
(III) The people have charged the defendant with a serious crime against the person or property; involuntary administration of antipsychotic medication is substantially likely to render the defendant competent to stand trial; the medication is unlikely to have side effects that interfere with the defendant’s ability to understand the nature of the criminal proceedings or to assist counsel in the conduct of a defense in a reasonable manner; less intrusive treatments are unlikely to have substantially the same results; and antipsychotic medication is in the patient’s best medical interest in light of his or her medical condition.
(iii) If the court finds any of the conditions described in clause (ii) to be true, the court shall issue an order authorizing the treatment facility to involuntarily administer antipsychotic medication to the defendant when and as prescribed by the defendant’s treating psychiatrist. The court shall not order involuntary administration of psychotropic medication under subclause (III) of clause (ii) unless the court has first found that the defendant does not meet the criteria for involuntary administration of psychotropic medication under subclause (I) of clause (ii) and does not meet the criteria under subclause (II) of clause (ii).
(iv) In all cases, the treating hospital, facility, or program may administer medically appropriate antipsychotic medication prescribed by a psychiatrist in an emergency as described in subdivision (m) of Section 5008 of the Welfare and Institutions Code.
(v) Any report made pursuant to subdivision (b) shall include a description of any antipsychotic medication administered to the defendant and its effects and side effects, including effects on the defendant’s appearance or behavior that would affect the defendant’s ability to understand the nature of the criminal proceedings or to assist counsel in the conduct of a defense in a reasonable manner. During the time the defendant is confined in a state hospital or other treatment facility or placed on outpatient status, either the defendant or the people may request that the court review any order made pursuant to this subdivision. The defendant, to the same extent enjoyed by other patients in the state hospital or other treatment facility, shall have the right to contact the patients’ rights advocate regarding his or her rights under this section.
(C) If the defendant consented to antipsychotic medication as described in clause (i) of subparagraph (B), but subsequently withdraws his or her consent, or, if involuntary antipsychotic medication was not ordered pursuant to clause (ii) of subparagraph (B), and the treating psychiatrist determines that antipsychotic medication has become medically necessary and appropriate, the treating psychiatrist shall make efforts to obtain informed consent from the defendant for antipsychotic medication. If informed consent is not obtained from the defendant, and the treating psychiatrist is of the opinion that the defendant lacks capacity to make decisions regarding antipsychotic medication as specified in subclause (I) of clause (ii) of subparagraph (B), or that the defendant is a danger to others as specified in subclause (II) of clause (ii) of subparagraph (B), the committing court shall be notified of this, including an assessment of the current mental status of the defendant and the opinion of the treating psychiatrist that involuntary antipsychotic medication has become medically necessary and appropriate. The court shall provide copies of the report to the prosecuting attorney and to the attorney representing the defendant and shall set a hearing to determine whether involuntary antipsychotic medication should be ordered in the manner described in subparagraph (B).
(4) When the court, after considering the placement recommendation of the county mental health director required in paragraph (3), orders that the defendant be confined in a public or private treatment facility, the court shall provide copies of the following documents which shall be taken with the defendant to the treatment facility where the defendant is to be confined:
(A) The commitment order, including a specification of the charges.
(B) A computation or statement setting forth the maximum term of commitment in accordance with subdivision (c).
(C) A computation or statement setting forth the amount of credit for time served, if any, to be deducted from the maximum term of commitment.
(D) State summary criminal history information.
(E) Any arrest reports prepared by the police department or other law enforcement agency.
(F) Any court-ordered psychiatric examination or evaluation reports.
(G) The county mental health director’s placement recommendation report.
(5) A person subject to commitment under this section may be placed on outpatient status under the supervision of the county mental health director or his or her designee by order of the court in accordance with the procedures contained in Title 15 (commencing with Section 1600) except that where the term “community program director” appears the term “county mental health director” shall be substituted.
(6) If the defendant is committed or transferred to a public or private treatment facility approved by the county mental health director, the court may, upon receiving the written recommendation of the county mental health director, transfer the defendant to another public or private treatment facility approved by the county mental health 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 Part 1 (commencing with Section 5000) of Division 5 of the Welfare and Institutions Code. Where If  either the defendant or the prosecutor chooses to contest the 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 county mental health director or his or her designee.
(b) Within 90 days of a commitment made pursuant to subdivision (a), the medical director of the treatment facility to which the defendant is confined shall make a written report to the court and the county mental health director or his or her designee, concerning the defendant’s progress toward recovery of mental competence. Where the defendant is on outpatient status, the outpatient treatment staff shall make a written report to the county mental health director concerning the defendant’s progress toward recovery of mental competence. Within 90 days of placement on outpatient status, the county mental health 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 regain mental competence in the foreseeable future, the defendant shall remain in the treatment facility or on outpatient status. Thereafter, at six-month intervals or until the defendant becomes mentally competent, where the defendant is confined in a treatment facility, the medical director of the hospital or person in charge of the facility shall report in writing to the court and the county mental health director or a designee regarding the defendant’s progress toward recovery of mental competence. Where If  the defendant is on outpatient status, after the initial 90-day report, the outpatient treatment staff shall report to the county mental health director on the defendant’s progress toward recovery, and the county mental health 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. If the report indicates that there is no substantial likelihood that the defendant will regain mental competence in the foreseeable future, the committing court shall order the defendant to be returned to the court for proceedings pursuant to paragraph (2) of subdivision (c). The court shall transmit a copy of its order to the county mental health director or his or her designee.
(c) (1) If, at the end of one year from the date of commitment or a period of commitment equal to the maximum term of imprisonment provided by law for the most serious offense charged in the misdemeanor complaint, whichever is shorter, the defendant has not recovered mental competence, the defendant shall be returned to the committing court. The court shall notify the county mental health director or his or her designee of the return and of any resulting court orders.
(2) Whenever any defendant is returned to the court pursuant to subdivision (b) or paragraph (1) of this subdivision and it appears to the court that the defendant is gravely disabled, as defined in subparagraph (A) of paragraph (1) of subdivision (h) of Section 5008 of the Welfare and Institutions Code, the court shall order the conservatorship investigator of the county of commitment of the defendant to initiate conservatorship proceedings for the defendant pursuant to Chapter 3 (commencing with Section 5350) of Part 1 of Division 5 of the Welfare and Institutions Code. Any hearings required in the conservatorship proceedings shall be held in the superior court in the county that ordered the commitment. The court shall transmit a copy of the order directing initiation of conservatorship proceedings to the county mental health director or his or her designee and shall notify the county mental health director or his or her designee of the outcome of the proceedings.
(d) The criminal action remains subject to dismissal pursuant to Section 1385. If the criminal action is dismissed, the court shall transmit a copy of the order of dismissal to the county mental health director or his or her designee.
(e) If the criminal charge against the defendant is dismissed, the defendant shall be released from any commitment ordered under this section, but without prejudice to the initiation of any proceedings which may be appropriate under Part 1 (commencing with Section 5000) of Division 5 of the Welfare and Institutions Code.

SEC. 5.

 Section 4361 of the Welfare and Institutions Code is amended to read:

4361.
 (a) As used in this section, “department” means the State Department of State Hospitals.
(b) The purpose of this chapter is to, subject to appropriation by the Legislature, establish a pilot program to  promote the diversion of individuals with serious mental disorders as prescribed in Chapter 2.8A (commencing with Section 1001.35) of Title 6 of Part 2 of the Penal Code, and to assist counties in providing diversion for individuals with serious mental illnesses who may otherwise be found incompetent to stand trial and committed to the State Department of State Hospitals for restoration of competency. In implementing this chapter, the department shall consider local discretion and flexibility in diversion activities that meet the community’s counties’  needs and provide for the safe and effective treatment of individuals with serious mental disorders across a continuum of care.
(c) (1) Subject to appropriation by the Legislature, the department may solicit proposals from, and may contract with, a county to help fund the development or expansion of pretrial diversion described in Chapter 2.8A (commencing with Section 1001.35) of Title 6 of Part 2 of the Penal Code, for the population described in subdivision (b) and that meets all of the following criteria:
(A) Participants are individuals diagnosed with schizophrenia, schizoaffective disorder, or bipolar disorder, who have the potential to be found incompetent to stand trial for felony charges, pursuant to Section 1368 of the Penal Code, or who have been found incompetent to stand trial pursuant to clause (iv) of subparagraph (B) of paragraph (1) of subdivision (a) of Section 1370 of the Penal Code.
(B) There is a significant relationship between the individual’s serious mental disorder and the charged offense, or between the individual’s conditions of homelessness and the charged offense.
(C) The individual does not pose an unreasonable risk of danger to public safety, as defined in Section 1170.18 of the Penal Code,  safety  if treated in the community.
(2) A county submitting a proposal for funding under this chapter shall designate a lead entity to apply for the funds. This lead entity shall show in its proposal that it has support from other county entities or other relevant entities, including the district attorney, the local defense bar, county mental health, and the  courts, that are necessary to provide successful diversion of individuals under the contract.
(d) When evaluating proposals from the county, the department, in consultation with the Council on Criminal Justice and Behavioral Health within the Department of Corrections and Rehabilitation, shall prioritize proposals that demonstrate the potential to reduce referrals to the department of felony defendants who have been or  are likely to be found incompetent to stand trial, and include a plan for treatment and appropriate supervision  that demonstrate all of the following:
(1) Provision of clinically appropriate or evidence-based mental health treatment and wraparound services across a continuum of care, as appropriate, to meet the individual needs of the diversion participant. For purposes of this section, “wraparound services” means services provided in addition to the mental health treatment necessary to meet the individual’s needs for successfully managing his or her mental health symptoms and to successfully live in the community. Wraparound services provided by the diversion program may include, but are not limited to, forensic assertive community treatment teams, crisis residential services, intensive case management, criminal justice coordination, peer support, supportive housing, substance use disorder treatment, and vocational support.
(2) Collaboration between community stakeholders and other partner government agencies in the diversion of individuals with serious mental disorders.
(3) Connection of individuals to services in the community after they have completed diversion as provided in this chapter.
(e) The department may also provide funding in the contract with the county, subject to appropriation by the Legislature, to cover the cost of providing postbooking assessment of defendants who have been or  are likely to be found incompetent to stand trial on felony charges to determine whether the defendant would benefit from diversion as included in the contract.
(f) The department may also provide funding in the contract with the county, subject to appropriation by the Legislature, to cover the cost of in-jail treatment prior to the placement in the community for up to an average of 15 days for defendants who have been approved by the court for diversion as included in the contract.
(g) A county contracted pursuant to this chapter shall report data and outcomes to the department, within 90 days of the end of each quarter, regarding those individuals targeted by the contract and in the program. This subdivision shall not preclude the department from specifying reporting formats or from modifying, reducing, or adding data elements or outcome measures from a contracting county, as needed to provide for reporting of effective data and outcome measures. Notwithstanding any other law, but only to the extent not prohibited by federal law, the county shall provide specific patient information to the department for reporting purposes. The patient information shall be confidential and shall not be open to public inspection. A contracting county shall, at a minimum, report all of the following:
(1) The number of individuals that the court ordered to postbooking diversion and the length of time for which the defendant has been ordered to diversion.
(2) The number of individuals originally declared incompetent to stand trial on felony charges that the court ultimately ordered to diversion.
(3) The number of individuals participating in diversion.
(4) The name, social security number, date of birth, and demographics of each individual participating in the program. This information shall be confidential and shall not be open to public inspection.
(5) The length of time in diversion for each participating individual. This information shall be confidential and shall not be open to public inspection.
(6) The types of services and supports provided to each individual participating in diversion. This information shall be confidential and shall not be open to public inspection.
(7) The number of days each individual was in jail prior to placement in diversion. This information shall be confidential and shall not be open to public inspection.
(8) The number of days that each individual spent in each level of care facility. This information shall be confidential and shall not be open to public inspection.
(9) The diagnoses of each individual participating in diversion. This information shall be confidential and shall not be open to public inspection.
(10) The nature of the charges for each individual participating in diversion. This information shall be confidential and shall not be open to public inspection.
(11) The number of individuals who completed diversion.
(12) The name, social security number, and birthdate of each individual who did not complete diversion and the reasons for not completing. This information shall be confidential and shall not be open to public inspection.
(h) Contracts awarded pursuant to this chapter  chapter, including any contracts for the administration and implementation of the program,  shall be exempt from the requirements contained in the Public Contract Code and the State Administrative Manual and shall not be subject to approval by the Department of General Services.
(i) (1) In order to receive funds pursuant to this chapter, a county’s proposal shall demonstrate a 20-percent match of county funds toward the total cost of diversion to be funded through the contract.
(2) Notwithstanding paragraph (1), a proposal from a small county shall demonstrate a 10-percent match of county funds toward the total cost of diversion to be funded through the contract. For purposes of this paragraph, “small county” means a county with a population of 200,000 or less based on the most recent available estimates of population data determined by the Demographic Research Unit of the Department of Finance.
(3) The funds shall not be used to supplant existing services or services reimbursable from an available source but rather to expand upon them or support new services for which existing reimbursement may be limited. Up to 5 percent of the required county match may be met through county administrative costs associated with development and evaluation activities for diversion.
(j) Notwithstanding Chapter 3.5 (commencing with Section 11340) of Part 1 of Division 3 of Title 2 of the Government Code, the state hospitals and the department may implement, interpret, or make specific this section by means of a departmental letter or other similar instruction, as necessary.
(k) The department shall have access to the arrest records and state summary of criminal history of defendants who are participating or have participated in the diversion program. The information may be used solely for the purpose of looking at the recidivism rate for those patients.

SEC. 6.

 Section 8103 of the Welfare and Institutions Code is amended to read:

8103.
 (a) (1) A person who after October 1, 1955,  has been adjudicated by a court of any state to be a danger to others as a result of a mental disorder or mental illness, or who has been adjudicated to be a mentally disordered sex offender, shall not purchase or receive, or attempt to purchase or receive, or have in his or her possession, custody, or control a firearm or any other deadly weapon unless there has been issued to the person a certificate by the court of adjudication upon release from treatment or at a later date stating that the person may possess a firearm or any other deadly weapon without endangering others, and the person has not, subsequent to the issuance of the certificate, again been adjudicated by a court to be a danger to others as a result of a mental disorder or mental illness.
(2) The court shall notify the Department of Justice of the court order finding the individual to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice of any certificate issued as described in paragraph (1) as soon as possible, but not later than one court day after issuing the certificate.
(b) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of murder, mayhem, a violation of Section 207, 209, or 209.5 of the Penal Code in which the victim suffers intentionally inflicted great bodily injury, carjacking or robbery in which the victim suffers great bodily injury, a violation of Section 451 or 452 of the Penal Code involving a trailer coach, as defined in Section 635 of the Vehicle Code, or any dwelling house, a violation of paragraph (1) or (2) of subdivision (a) of Section 262 or paragraph (2) or (3) of subdivision (a) of Section 261 of the Penal Code, a violation of Section 459 of the Penal Code in the first degree, assault with intent to commit murder, a violation of Section 220 of the Penal Code in which the victim suffers great bodily injury, a violation of Section 18715, 18725, 18740, 18745, 18750, or 18755 of the Penal Code, or of a felony involving death, great bodily injury, or an act which poses a serious threat of bodily harm to another person, or a violation of the law of any other state or the United States that includes all the elements of any of the above felonies as defined under California law, shall not purchase or receive, or attempt to purchase or receive, or have in his or her possession or under his or her custody or control any firearm or any other deadly weapon.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than than,  one court day after issuing the order.
(c) (1) A person who has been found, pursuant to Section 1026 of the Penal Code or the law of any other state or the United States, not guilty by reason of insanity of any crime other than those described in subdivision (b) shall not purchase or receive, or attempt to purchase or receive, or  and shall not  have in his or her possession, custody, or control, control  any firearm or any other deadly weapon unless the court of commitment has found the person to have recovered sanity, pursuant to Section 1026.2 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be a person described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered his or her sanity as soon as possible, but not later than one court day after making the finding.
(d) (1) A person found by a court to be mentally incompetent to stand trial, pursuant to Section 1370 or 1370.1 of the Penal Code or the law of any other state or the United States, shall not purchase or receive, or attempt to purchase or receive, or  and shall not  have in his or her possession, custody, or control, any firearm or any other deadly weapon, unless there has been a finding with respect to the person of restoration to competence to stand trial by the committing court, pursuant to Section 1372 of the Penal Code or the law of any other state or the United States.
(2) The court shall notify the Department of Justice of the court order finding the person to be mentally incompetent as described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice when it finds that the person has recovered his or her competence as soon as possible, but not later than one court day after making the finding.
(e) (1) A person who has been placed under conservatorship by a court, pursuant to Section 5350 or the law of any other state or the United States, because the person is gravely disabled as a result of a mental disorder or impairment by chronic alcoholism, shall not purchase or receive, or attempt to purchase or receive, or  and shall not  have in his or her possession, custody, or control, any firearm or any other deadly weapon while under the conservatorship if, at the time the conservatorship was ordered or thereafter, the court that imposed the conservatorship found that possession of a firearm or any other deadly weapon by the person would present a danger to the safety of the person or to others. Upon placing a person under conservatorship, and prohibiting firearm or any other deadly weapon possession by the person, the court shall notify the person of this prohibition.
(2) The court shall notify the Department of Justice of the court order placing the person under conservatorship and prohibiting firearm or any other deadly weapon possession by the person as described in paragraph (1) as soon as possible, but not later than one court day after placing the person under conservatorship. The notice shall include the date the conservatorship was imposed and the date the conservatorship is to be terminated. If the conservatorship is subsequently terminated before the date listed in the notice to the Department of Justice or the court subsequently finds that possession of a firearm or any other deadly weapon by the person would no longer present a danger to the safety of the person or others, the court shall notify the Department of Justice as soon as possible, but not later than one court day after terminating the conservatorship.
(3) All information provided to the Department of Justice pursuant to paragraph (2) shall be kept confidential, separate, and apart from all other records maintained by the Department of Justice, and shall be used only to determine eligibility to purchase or possess firearms or other deadly weapons. A person who knowingly furnishes that information for any other purpose is guilty of a misdemeanor. All the information concerning any person shall be destroyed upon receipt by the Department of Justice of notice of the termination of conservatorship as to that person pursuant to paragraph (2).
(f) (1) (A)  A person who has been (i) (A)  taken into custody as provided in Section 5150 because that person is a danger to himself, herself, or to others, (ii) (B)  assessed within the meaning of Section 5151, and (iii) (C)  admitted to a designated facility within the meaning of Sections 5151 and 5152 because that person is a danger to himself, herself, or others, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, purchase  any firearm for a period of five years after the person is released from the facility. A person described in this paragraph, however, may own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase any firearm if the superior court has, pursuant to paragraph (5), found that the people of the State of California have not met their burden pursuant to paragraph (6). 
(B) A person who has been taken into custody, assessed, and admitted as specified in subparagraph (A), and who was previously taken into custody, assessed, and admitted as specified in subparagraph (A) one or more times within a period of one year preceding the most recent admittance, shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any firearm for the remainder of his or her life.
(C) A person described in this paragraph, however, may own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase any firearm if the superior court has, pursuant to paragraph (5), found that the people of the State of California have not met their burden pursuant to paragraph (6).
(2) (A) (i)  For each person subject to this subdivision, the facility shall, within 24 hours of the time of admission, submit a report to the Department of Justice, on a form prescribed by the Department of Justice, containing information that includes, but is not limited to, the identity of the person and the legal grounds upon which the person was admitted to the facility.
(ii)  Any report submitted pursuant to this paragraph shall be confidential, except for purposes of the court proceedings described in this subdivision and for determining the eligibility of the person to own, possess, control, receive, or purchase a firearm.
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge, the facility shall inform a person subject to this subdivision that he or she is prohibited from owning, possessing, controlling, receiving, or purchasing any firearm for a period of five years or, if the person was previously taken into custody, assessed, and admitted to custody for a 72-hour hold because he or she was a danger to himself, herself, or to others during the previous one-year period, for life.  years.  Simultaneously, the facility shall inform the person that he or she may request a hearing from a court, as provided in this subdivision, for an order permitting the person to own, possess, control, receive, or purchase a firearm. The facility shall provide the person with a copy of the most recent “Patient Notification of Firearm Prohibition and Right to Hearing Form” prescribed by the Department of Justice.  form for a request for a hearing.  The Department of Justice shall update this form in accordance with the requirements of this section and distribute the updated form to facilities by January 1, 2020. The form shall include information regarding how the person was referred to the facility. The form shall include an authorization for the release of the person’s mental health records, upon request, to the appropriate court, solely for use in the hearing conducted pursuant to paragraph (5). A request for the records may be made by mail to the custodian of records at the facility, and shall not require personal service. The facility shall not  prescribe the form. Where the person requests a hearing at the time of discharge, the facility shall forward the form to the superior court unless the person states that he or she will  submit the form on behalf of the person subject to this subdivision. to the superior court. 
(4) The Department of Justice shall provide the form upon request to any person described in paragraph (1). The Department of Justice shall also provide the form to the superior court in each county. A person described in paragraph (1) may make a single request for a hearing at any time during the five-year period or period of the lifetime prohibition.  period.  The request for hearing shall be made on the form prescribed by the department or in a document that includes equivalent language.
(5) A person who is subject to paragraph (1) who has requested a hearing from the superior court of his or her county of residence for an order that he or she may own, possess, control, receive, or purchase firearms shall be given a hearing. The clerk of the court shall set a hearing date and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the plaintiff in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the hearing to the county in which the person resided at the time of his or her detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after the request for a hearing, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The court shall set the hearing within 60 30  days of receipt of the request for a hearing. Upon showing good cause, the district attorney shall be entitled to a continuance not to exceed 30 14  days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days. The district attorney may notify the county behavioral health director of the hearing who shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, declarations, police reports, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code shall be admissible at the hearing under this section.
(6) The people shall bear the burden of showing by a preponderance of the evidence that the person would not be likely to use firearms in a safe and lawful manner.
(7) If the court finds at the hearing set forth in paragraph (5) that the people have not met their burden as set forth in paragraph (6), the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition, as appropriate,  in this section on the ownership, control, receipt, possession, or purchase of firearms, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(8) If the district attorney declines or fails to go forward in the hearing, the court shall order that the person shall not be subject to the five-year prohibition or lifetime prohibition  required by this subdivision on the ownership, control, receipt, possession, or purchase of firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall, within 15 days, delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms.
(9) This subdivision does not prohibit the use of reports filed pursuant to this section to determine the eligibility of persons to own, possess, control, receive, or purchase a firearm if the person is the subject of a criminal investigation, a part of which involves the ownership, possession, control, receipt, or purchase of a firearm.
(10) If the court finds that the people have met their burden to show by a preponderance of the evidence that the person would not be likely to use firearms in a safe and lawful manner and the person is subject to a lifetime firearm prohibition because the person had been admitted as specified in subparagraph (A) of paragraph (1) more than once within the previous one-year period, the court shall inform the person of his or her right to file a subsequent petition no sooner than five years from the date of the hearing.
(11) A person subject to a lifetime firearm prohibition is entitled to bring subsequent petitions pursuant to this subdivision. A person shall not be entitled to file a subsequent petition, and shall not be entitled to a subsequent hearing, until five years have passed since the determination on the person’s last petition. A hearing on subsequent petitions shall be conducted as described in this subdivision, with the exception that the burden of proof shall be on the petitioner to establish by a preponderance of the evidence that the petitioner can use a firearm in a safe and lawful manner. Subsequent petitions shall be filed in the same court of jurisdiction as the initial petition regarding the lifetime firearm prohibition.
(g) (1) (i) If  A  person who has been certified for intensive treatment under Section 5250, 5260, or 5270.15 shall not own, possess, control, receive, or purchase, or attempt to own, possess, control, receive, or purchase, any firearm for a period of five years.
(ii) A  Any  person who meets the criteria contained in subdivision (e) or (f) who is released from intensive treatment shall nevertheless, if applicable, remain subject to the prohibition contained in subdivision (e) or (f).
(2) (A) For each person certified for intensive treatment under paragraph (1), the facility shall, within 24 hours of the certification, submit a report to the Department of Justice, on a form prescribed by the department, containing information regarding the person, including, but not limited to, the legal identity of the person and the legal grounds upon which the person was certified. A report submitted pursuant to this paragraph shall only be used for the purposes specified in paragraph (2) of subdivision (f).
(B) Facilities shall submit reports pursuant to this paragraph exclusively by electronic means, in a manner prescribed by the Department of Justice.
(3) Prior to, or concurrent with, the discharge of each person certified for intensive treatment under paragraph (1), the facility shall inform the person of that information specified in paragraph (3) of subdivision (f).
(4) A person who is subject to paragraph (1) may petition the superior court of his or her county of residence for an order that he or she may own, possess, control, receive, or purchase firearms. At the time the petition is filed, the clerk of the court shall set a hearing date within 60 days of receipt of the petition  and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the respondent in the proceeding and shall be represented by the district attorney. Upon motion of the district attorney, or on its own motion, the superior court may transfer the petition to the county in which the person resided at the time of his or her detention, the county in which the person was detained, or the county in which the person was evaluated or treated. Within seven days after receiving notice of the petition, the Department of Justice shall file copies of the reports described in this section with the superior court. The reports shall be disclosed upon request to the person and to the district attorney. The district attorney shall be entitled to a continuance of the hearing to a date of not less than 30 14  days after the district attorney was notified of the hearing date by the clerk of the court. If additional continuances are granted, the total length of time for continuances shall not exceed 60 days.  The district attorney may notify the county behavioral health director of the petition, and the county behavioral health director shall provide information about the detention of the person that may be relevant to the court and shall file that information with the superior court. That information shall be disclosed to the person and to the district attorney. The court, upon motion of the person subject to paragraph (1) establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, any declaration, police reports, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code, shall be admissible at the hearing under this section. If the court finds by a preponderance of the evidence that the person would be likely to use firearms in a safe and lawful manner, the court may order that the person may own, control, receive, possess, or purchase firearms, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(h) (1) For all persons identified in subdivisions (f) and (g), facilities shall report to the Department of Justice as specified in those subdivisions, except facilities shall not report persons under subdivision (g) if the same persons previously have been reported under subdivision (f).
(2) Additionally, all facilities shall report to the Department of Justice upon the discharge of persons from whom reports have been submitted pursuant to subdivision (f) or (g). However, a report shall not be filed for persons who are discharged within 31 days after the date of admission.
(i) (1) A person granted diversion, pursuant to Section 1001.36 of the Penal Code or the law of any other state or the United States, shall not purchase or receive, or attempt to purchase or receive, or have in his or her possession, custody, or control, any firearm or any other deadly weapon, during the period of diversion.
(2) Upon the dismissal of charges for successfully completing diversion pursuant to Section 1001.36 of the Penal Code, a person shall not purchase or receive, or attempt to purchase or receive, or have in his or her possession, custody, or control, any firearm for a period of five years from the date of dismissal.
(3) The court shall notify the Department of Justice of the court order granting diversion as described in paragraph (1) as soon as possible, but not later than one court day after issuing the order. The court shall also notify the Department of Justice upon the dismissal of any charges pursuant to diversion as described in paragraph (2) as soon as possible, but not later than one court day after making the finding.
(4) The person granted diversion may petition the superior court of his or her county of residence for an order permitting the person to own, possess, control, receive, or purchase a firearm.
(A) At the time the petition is filed, the clerk of the court shall set a hearing date and notify the person, the Department of Justice, and the district attorney. The people of the State of California shall be the respondent in the proceeding and shall be represented by the district attorney. When the person files the petition, he or she shall provide the court with the progress reports from the program. Upon motion of the district attorney, or upon its own motion, the superior court may transfer the petition to the county in which the person resided at the time of the statements, or the county in which the person made the statements. The reports shall be disclosed upon request to the person and to the district attorney. The district attorney shall be entitled to a continuance of the hearing to a date of not less than 14 days after the district attorney is notified of the hearing date by the clerk of the court. The court, upon motion of the petitioner establishing that confidential information is likely to be discussed during the hearing that would cause harm to the person, shall conduct the hearing in camera with only the relevant parties present, unless the court finds that the public interest would be better served by conducting the hearing in public. Notwithstanding any other law, declarations, police reports, including criminal history information, and any other material and relevant evidence that is not excluded under Section 352 of the Evidence Code, shall be admissible at the hearing under this paragraph.
(B) The people shall bear the burden of showing by a preponderance of the evidence that the person would not be likely to use firearms in a safe and lawful manner.
(C) If the court finds at the hearing that the people have not met their burden as set forth in subparagraph (B), the court shall order that the person shall not be subject to the five-year prohibition in this section on the ownership, control, receipt, possession, or purchase of firearms, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(D) If the district attorney declines or fails to go forward in the hearing, the court shall order that the person shall not be subject to the five-year prohibition required by this subdivision on the ownership, control, receipt, possession, or purchase of firearms, and that person shall comply with the procedure described in Chapter 2 (commencing with Section 33850) of Division 11 of Title 4 of Part 6 of the Penal Code for the return of any firearms. A copy of the order shall be submitted to the Department of Justice. Upon receipt of the order, the Department of Justice shall, within 15 days, delete any reference to the prohibition against firearms from the person’s state mental health firearms prohibition system information.
(5) This subdivision does not prohibit the use of reports filed to determine the eligibility of a person to own, possess, control, receive, or purchase a firearm if the person is the subject of a criminal investigation, a part of which involves the ownership, possession, control, receipt, or purchase of a firearm.
(i) (j)  Every person who owns or possesses or has under his or her custody or control, or purchases or receives, or attempts to purchase or receive, any firearm or any other deadly weapon in violation of this section shall be punished by imprisonment pursuant to subdivision (h) of Section 1170 of the Penal Code or in a county jail for not more than one year.
(j) (k)  “Deadly weapon,” as used in this section, has the meaning prescribed by Section 8100.
(k)  ( l)  Any notice or report required to be submitted to the Department of Justice pursuant to this section shall be submitted in an electronic format, in a manner prescribed by the Department of Justice.
(l) This section shall become operative on January 1, 2020.