As soon as practicable, but not later than the first working day after the date a peace officer takes a person who is a ward into custody, the peace officer shall notify the court having jurisdiction over the ward's guardianship of the ward's detention or transportation to a facility in accordance with Section 573.001.
Tex. Health and Safety Code § 573.0021