Fifteen-year-old Janice was detained when she pulled a knife on another student at her school. She is identified as having mental health problems. What must take place prior to making the decision about how best to supervise Janice while she is awaiting trial?