Where a defendant is alleged to be subject to the minimum sentence provisions of Iowa Code section 902.7, (use of a dangerous weapon), and the allegation is supported by the evidence, the court shall submit a special interrogatory concerning that matter to the jury.
No more than 30 days after entry of an order for continued custody, and thereafter at intervals of not more than 60 days as long as the defendant is in custody, the chief medical officer of the facility to which the defendant is committed shall report to the court which entered the order. Each periodic report shall describe the defendant’s condition and state the chief medical officer’s prognosis if the defendant’s condition has remained unchanged or has deteriorated. The court shall forward a copy of each report to the defendant’s attorney and to the attorney for the state.
If the chief medical officer reports at any time that the defendant is no longer mentally ill and is no longer dangerous to the defendant’s self or to others, the court shall, upon hearing, order the release of the defendant unless the court finds that continued custody and treatment are necessary to protect the safety of the defendant’s self or others in which case the court shall order the defendant committed to the Iowa security and medical facility for further evaluation, treatment, and custody.
Iowa. R. Crim. P. 2.22