This is a self fulfilling ruling. They have concluded she has psychiatric conditions, keep her in a locked facility and after treatment, she undoubtedly will have psychiatric conditons. I suspect she will not be released when she reaches majority, if she lives that long and the state can keep her forever to assure proof that they are right.
Being in an institution like that, she WILL become crazy..this is what happens when liberals run things, this is what they do..if Im a parent and I have a sick child I would be terrified to bring him/her to the hospital, this can happen to ANYONE