(a)
Upon the filing of a request for revocation under Section 1608 or 1609 and pending the court’s decision on revocation, the person subject to revocation may be confined in a facility designated by the community program director when it is the opinion of that director that the person will now be a danger to self or to another while on outpatient status and that to delay confinement until the revocation hearing would pose an imminent risk of harm to the person or to another. The facility so designated shall continue the patient’s program of treatment, shall provide adequate security so as to ensure both the safety of the person and the safety of others in the facility, and shall, to the extent possible, minimize interference with the person’s program of treatment. Upon the request of the community program director or a designee, a peace officer shall take, or cause to be taken, the person into custody and transport the person to a facility designated by the community program director for confinement under this section. Within one judicial day after the person is confined in a jail under this section, the community program director shall apply in writing to the court for authorization to confine the person pending the hearing under Section 1608 or Section 1609 or subdivision (c). The application shall be in the form of a declaration, and shall specify the behavior or other reason justifying the confinement of the person in a jail. Upon receipt of the application for confinement, the court shall consider and rule upon it, and if the court authorizes detention in a jail, the court shall actually serve copies of all orders and all documents filed by the community program director upon the prosecuting and defense counsel. The community program director shall notify the court in writing of the confinement of the person and of the factual basis for the opinion that the immediate confinement in a jail was necessary. The court shall supply a copy of these documents to the prosecutor and defense counsel.
(b)
The facility designated by the community program director may be a state hospital, a local treatment facility, a county jail, or any other appropriate facility, so long as the facility can continue the person’s program of treatment, provide adequate security, and minimize interference with the person’s program of treatment. If the facility designated by the community program director is a county jail, the patient shall be separated from the general population of the jail. In the case of a sexually violent predator, as defined in Section 6600 of the Welfare and Institutions Code, who is held pending civil process under the sexually violent predator laws, the person may be housed as provided by Section 4002. The designated facility need not be approved for 72-hour treatment and evaluation pursuant to the provisions of the Lanterman-Petris-Short Act (Part 1 (commencing with Section 5000) of Division 5 of the Welfare and Institutions Code); however, a county jail may not be designated unless the services specified above are provided, and accommodations are provided which ensure both the safety of the person and the safety of the general population of the jail. Within three judicial days of the patient’s confinement in a jail, the community program director shall report to the court regarding what type of treatment the patient is receiving in the facility. If there is evidence that the treatment program is not being complied with, or accommodations have not been provided which ensure both the safety of the committed person and the safety of the general population of the jail, the court shall order the person transferred to an appropriate facility, including an appropriate state hospital. Nothing in this subdivision shall be construed as authorizing jail facilities to operate as health facilities, as defined in Section 1250 of the Health and Safety Code, without complying with applicable requirements of law.
(c)
A person confined under this section shall have the right to judicial review of his or her confinement in a jail under this section in a manner similar to that which is prescribed in Article 5 (commencing with Section 5275) of Chapter 2 of Part 1 of Division 5 of the Welfare and Institutions Code and to an explanation of rights in the manner prescribed in Section 5325 of the Welfare and Institutions Code.
Nothing in this section shall prevent hospitalization pursuant to the provisions of Section 5150, 5250, 5350, or 5353 of the Welfare and Institutions Code.
(d)
A person whose confinement in a treatment facility under Section 1608 or 1609 is approved by the court shall not be released again to outpatient status unless court approval is obtained under Section 1602 or 1603.