Tex. Code Crim. Proc. art. 46B.0711
(b) Subject to conditions reasonably related to ensuring public safety and the effectiveness of the defendant's treatment, if the court determines that a defendant charged with an offense punishable as a Class B misdemeanor and found incompetent to stand trial is not a danger to others and may be safely treated on an outpatient basis with the specific objective of attaining competency to stand trial, and an appropriate outpatient competency restoration program is available for the defendant, the court shall:
(c) Notwithstanding Subsection (b), the court may order a defendant to participate in an outpatient competency restoration program under this article only if:
(1) the court receives and approves a comprehensive plan that:
(d) An order issued under this article may require the defendant to participate in:
Added by Acts 2017, 85th Leg., R.S., Ch. 748 (S.B. 1326), Sec. 11, eff. September 1, 2017.