A. If the victim has made a request for notice, the probation department or the department of juvenile corrections, whichever has supervision of the accused or delinquent, shall provide the victim, at least ten days before the release or discharge of the accused or delinquent, with notice of the release or discharge of the accused or delinquent who is placed by court order in a mental health treatment agency or a residential treatment agency. The mental health treatment agency or residential treatment agency that has custody of the accused or delinquent shall notify the probation department or department of juvenile corrections, whichever has supervision of the accused or delinquent, at least thirty days before the release or discharge of the accused or delinquent.

B. The probation department or the department of juvenile corrections, whichever has supervision of the accused or delinquent, shall provide notice to the victim immediately after the escape or subsequent readmission of the accused or the delinquent notice of the escape or subsequent readmission of the accused or the delinquent who is placed by court order in a mental health treatment agency or a residential treatment agency. The mental health treatment agency or residential treatment agency that has custody of the accused or delinquent shall immediately notify the probation department or the department of juvenile corrections, whichever has supervision of the accused or delinquent, of the escape, runaway or subsequent readmission of the accused or delinquent.