211.201. 1. Notwithstanding the provisions of sections211.151, 211.161 and 211.181, and any other provision of lawcontrary to this section, the juvenile court may not order thatchildren be detained by, committed to or otherwise placed in thedepartment of mental health for periods longer than thirty daysexcept as provided in sections 211.201 to 211.207.
2. Notwithstanding any other provision of law to thecontrary, a juvenile court loses jurisdiction of a childcommitted by it to the department of mental health unless, by theterms of its order committing the child to the department, thecourt expressly retains jurisdiction of the child.
3. If a child is to be detained beyond his eighteenthbirthday in the custody of the department, the child may only beheld pursuant to an express court order entered after a hearingwithin thirty days of the child's eighteenth birthday. Thedepartment shall notify the court thirty days before the child'seighteenth birthday that the department shall discharge the childunless the court sets the matter down for a hearing. If thecourt, on its own motion or motion of any interested party,believes the person should be detained, the court shall giveproper notice of the hearing before the child's eighteenthbirthday to the director of the department and other parties asrequired by law.
(L. 1957 p. 642 ยง 211.220, A.L. 1963 p. 388, A.L. 1979 H.B. 934, A.L. 1980 H.B. 1724)