A juvenile probation officer shall refer a child who has been determined to have a mental illness or mental retardation to an appropriate local mental health or mental retardation 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 or mental retardation authority of the county in which the child resides.
Tex. Fam. Code ยง 54.0408