Section 12-15-406
Determination of placement of the minor or child.
(a) At the time that a minor or child sought to be committed is first brought before the juvenile court, the juvenile court shall determine the placement of the minor or child pending further hearings. No limitations shall be placed upon the minor or child unless limitations shall be necessary to prevent the minor or child from doing substantial harm to self or to others or to prevent the minor or child from leaving the jurisdiction of the juvenile court.
(b) No child shall be placed in a juvenile detention facility unless the child is charged with a delinquent act.
(c) The juvenile court may order the minor or child to be held in a public or private facility pending receipt by the department.
(d) The juvenile court shall order the minor or child to appear at the times and places set for hearing the petition and may order and require the minor or child to appear at designated times and places to be examined by medical doctors or mental health professionals.
(Act 2008-277, p. 441, §23.)