Iowa Code § 229A.9
The involuntary detention or commitment of persons under this chapter shall conform to constitutional requirements for care and treatment.
98 Acts, ch 1171, §9