(b) Motion Filed after First Appearance. A motion for pretrial detention may be filed at any time prior to trial. The motion shall be made to the court with trial jurisdiction. On receipt of a facially sufficient motion and a determination of probable cause, unless otherwise previously established, that an offense eligible for pretrial detention has been committed, the following shall occur:
(2) In the absence of exigent circumstances, the court shall order a hearing on the motion as provided in (c) below.
(2) Findings and Conclusions to Be Recorded. The court’s pretrial detention order shall be based solely on evidence produced at the hearing and shall contain findings of fact and conclusions of law to support it. The order shall be made either in writing or orally on the record. The court shall render its findings within 24 hours of the pretrial detention hearing.
(3) Dissolution of Order. The defendant shall be entitled to dissolution of the pretrial detention order whenever the court finds that a subsequent event has eliminated the basis for detention.
(4) Further Proceedings on Order. If any trial court enters a final order of pretrial detention, the defendant may obtain review by motion to the appropriate appellate court. If motion for review is taken to the supreme court or the district court of appeal, notice and a copy of the motion shall be served on the attorney general and the state attorney; if review is taken to the circuit court, service shall be on the state attorney.


