. . "ischarged from, the care of the department of mental health until the latter department forwards an assessment and recommendation as to whether the child or adolescent may be appropriately placed in foster care or, if due to severe emotional disturbance, is more appropriate for group care; provided further, that if placement of a child with someone other than a parent becomes necessary, the depart" . . .