Cal. Welf. & Inst. Code § 1732.10
(b) Notwithstanding the confidentiality provision for information and records set forth under Section 5328, for any youth referred by the division who remains a patient after closure of the division, the State Department of State Hospitals shall do the following:
(3) Notify the juvenile court of commitment, juvenile counsel of record, and county probation as soon as safely possible, but no later than 24 hours following any of the following:
(9) Notify the juvenile court of commitment, juvenile counsel of record, and the county probation department when the youth is ready to discharge to the county based on the following:
(c) For a youth remaining a patient in a state hospital pursuant to this section, the probation department shall do all of the following: