A juvenile probation officer shall refer a child who has been determined to have a mental illness or an intellectual disability to an appropriate local mental health authority or local intellectual and developmental disability authority at least three months before the child is to complete the child's juvenile probation term unless the child is currently receiving treatment from the local mental health authority or local intellectual and developmental disability authority of the county in which the child resides.
Tex. Fam. Code § 54.0408