2644.
(a) A male correctional officer shall not conduct a pat down search of a female inmate unless the prisoner presents a risk of immediate harm to herself or others or risk of escape and there is not a female correctional officer available to conduct the search.(b) A male correctional officer shall not enter into an area of the institution where female inmates may be in a state of undress, or be in an area where they can view female inmates in a state of undress, including, but not limited to, restrooms, shower areas, or medical treatment areas, unless an inmate in the area presents a risk of immediate harm to herself or others or if there is a medical emergency in the area. A male correctional officer shall not enter into an area prohibited under this subdivision if there is a female correctional officer who can resolve the situation in a safe and timely manner without his assistance. To prevent incidental viewing, staff of the opposite sex shall announce their presence when entering a housing unit.
(c) If a male correctional officer conducts a pat down search under an exception provided in subdivision (a) or enters a prohibited area under an exception provided in subdivision (b), the circumstances for and details of the exception shall be documented within three days of the incident. The documentation shall be reviewed by the warden and retained by the institution for reporting purposes.
(d) The department may promulgate regulations to implement this section.