Tex. Code Crim. Proc. art. 17.45
A magistrate may require as a condition of bond that a defendant charged with an offense under Section 43.02 or 43.021, Penal Code, receive counseling or education, or both, relating to acquired immune deficiency syndrome or human immunodeficiency virus.
Acts 2021, 87th Leg., R.S., Ch. 807 (H.B. 1540), Sec. 34, eff. September 1, 2021.