Sec. 5. (a) If the court receives a petition under section 2 of this chapter, the court shall set a hearing date.
(b) The hearing date set under subsection (a) must be within twenty (20) days after the petition is filed.
(c) If a hearing is not held within twenty (20) days of the filing of the petition, the committed individual shall be discharged unless either of the following apply:
(1) The individual agrees to a continuance.
(2) The superintendent determines that the individual is mentally ill and either dangerous or gravely disabled.