(1) Upon the filing of a petition under s. 980.02, the court shall review the petition to determine whether to issue an order for detention of the person who is the subject of the petition. The person shall be detained only if there is probable cause to believe that the person is eligible for commitment under s. 980.05(5). A person detained under this subsection shall be held in a facility approved by the department. If the person is serving a sentence of imprisonment, is in a juvenile correctional facility, as defined in s. 938.02(10p), or a secured residential care center for children and youth, as defined in s. 938.02(15g), or is committed to institutional care, and the court orders detention under this subsection, the court shall order that the person be transferred to a detention facility approved by the department. A detention order under this subsection remains in effect until the petition is dismissed after a hearing under sub. (3) or after a trial under s. 980.05(5) or until the effective date of a commitment order under s. 980.06, whichever is applicable.(2)(a) Whenever a petition is filed under s. 980.02, the court shall hold a hearing to determine whether there is probable cause to believe that the person named in the petition is a sexually violent person.(b)1. Except as provided in subd. 2., the court shall hold the probable cause hearing within 30 days, excluding Saturdays, Sundays, and legal holidays, after the filing of the petition, unless that time is extended by the court for good cause shown upon its own motion, the motion of any party, or the stipulation of the parties.2. If the person named in the petition is in custody under a sentence, dispositional order, or commitment and the probable cause hearing will be held after the date on which the person is scheduled to be released or discharged from the sentence, dispositional order, or commitment, the probable cause hearing under par. (a) shall be held no later than 10 days after the person's scheduled release or discharge date, excluding Saturdays, Sundays, and legal holidays, unless that time is extended by the court for good cause shown upon its own motion, the motion of any party, or the stipulation of the parties.(3) If the court determines after a hearing that there is probable cause to believe that the person named in the petition is a sexually violent person, the court shall order that the person be taken into custody if he or she is not in custody and shall order the person to be transferred within a reasonable time to an appropriate facility specified by the department for an evaluation by the department as to whether the person is a sexually violent person. If the court determines that probable cause does not exist to believe that the person is a sexually violent person, the court shall dismiss the petition.(4) The department shall promulgate rules that provide the qualifications for persons conducting evaluations under sub. (3).(5) If the person named in the petition claims or appears to be indigent, the court shall, prior to the probable cause hearing under sub. (2) (a), refer the person to the authority for indigency determinations under s. 977.07(1) and, if applicable, the appointment of counsel.1993 a. 479; 1995 a. 77; 1999 a. 9; 2005 a. 344, 434; 2007 a. 97. The rules of evidence apply to probable cause hearings under ch. 980. The exceptions to the rules for preliminary examinations also apply. Although s. 907.03 allows an expert to base an opinion on hearsay, an expert's opinion based solely on hearsay cannot constitute probable cause. State v. Watson, 227 Wis. 2d 167, 595 N.W.2d 403 (1999), 95-1067. In sub. (2), "in custody" means in custody pursuant to ch. 980 and does not apply to custody under a previously imposed sentence. State v. Brissette, 230 Wis. 2d 82, 601 N.W.2d 678 (Ct. App. 1999), 98-2152. Chapter 980 provides its own procedures for commencing actions, and, as such, chs. 801 and 802 are inapplicable to the commencement of ch. 980 actions. State v. Wolfe, 2001 WI App 136, 246 Wis. 2d 233, 631 N.W.2d 240, 99-2145. The 72-hour time limit in sub. (2) is directory rather than mandatory. However, the individual's due process rights prevent the state from indefinitely delaying the probable cause hearing when the subject of the petition is in custody awaiting the hearing and has made a request for judicial substitution. State v. Beyer, 2001 WI App 167, 247 Wis. 2d 13, 633 N.W.2d 627, 00-0036. Sub. (3) is not a rule regarding the admissibility of expert testimony. It provides the procedure for determining probable cause to believe a person is a sexually violent offender. The general rule for determining the qualification of an expert applies. State v. Sprosty, 2001 WI App 231, 248 Wis. 2d 480, 636 N.W.2d 213, 00-2404.