If at any time during the outpatient period the public officer, pursuant to Section 5114, is of the opinion that the person is a danger to the health and safety of others while on outpatient status, the public officer, pursuant to Section 5114, may petition the court for a hearing to determine whether the person shall be continued on outpatient status. Upon receipt of the petition, the court shall calendar the case for further proceedings within 15 judicial days and the clerk shall notify the person, the county behavioral health director, and the attorney of record for the person of the hearing date. Upon failure of the person to appear as noticed, if a proper affidavit of service and advisement has been filed with the court, the court may issue a body attachment for
that person. If, after a hearing in court the judge determines that the person is a danger to the health and safety of others, the court shall order that the person be confined in a state hospital or other treatment facility that has been approved by the county behavioral health director.