Tex. Hum. Res. Code § 244.0125
(f) If the term of an order committing a child to an inpatient mental health facility is scheduled to expire before the end of the child's sentence and another order committing the child to an inpatient mental health facility is not scheduled to be entered, the inpatient mental health facility shall notify the juvenile court that entered the order of commitment committing the child to the department. The juvenile court may transfer the child to the custody of the department, transfer the child to the Texas Department of Criminal Justice, or release the child under supervision, as appropriate.
Transferred, redesignated and amended from Human Resources Code, Subchapter E, Chapter 61 by Acts 2011, 82nd Leg., R.S., Ch. 85 (S.B. 653), Sec. 1.007, eff. September 1, 2011.