Tex. Code Crim. Proc. art. 42A.561
(a) If a defendant is convicted of a state jail felony and the sentence is executed, the judge sentencing the defendant may release the defendant to a medical care facility or medical treatment program if the Texas Correctional Office on Offenders with Medical or Mental Impairments:
(1) identifies the defendant as:
(2) in cooperation with the community supervision and corrections department serving the sentencing court, prepares for the defendant a medically recommended intensive supervision plan that:
Added by Acts 2015, 84th Leg., R.S., Ch. 770 (H.B. 2299), Sec. 1.01, eff. January 1, 2017.