The court shall set a hearing to be held within 30 days of its receipt of the notice described in Section 15-16-63, unless an order of release either with or without conditions is stipulated by the department and all the parties to whom notice is required in Section 15-16-63. The court shall give notice of the date of that hearing to the department and to all the parties to whom notice is required in Section 15-16-63.