A defendant who is ordered released on a condition which requires that he return to custody after specified hours shall, upon application, be entitled to a review by the committing magistrate or court that imposed the condition. Unless the requirement is removed and the person is thereupon released on another condition, the committing magistrate or court shall set forth in writing the reasons for continuing the requirement.
SDCL 23A-43-9