scent referred by, or discharged 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 e