(a) In this section, “juvenile facility” means a facility for the placement, detention, or commitment of a child under Title 3, Family Code.
(b) To the extent allowed under federal law, if a child is placed in a juvenile facility, the commission shall suspend the child’s eligibility for medical assistance during the period the child is placed in the facility.
(b-1) Notwithstanding Subsection (b), if, during the period a child is placed in a juvenile facility, the child is hospitalized or becomes an inpatient in another type of medical facility, the commission shall reinstate the child’s eligibility for medical assistance during the period of the child’s inpatient stay. The executive commissioner shall adopt rules necessary to implement this subsection, including rules governing the procedure for reinstating a child’s eligibility for medical assistance under this subsection.
(c) Not later than 48 hours after the commission is notified of the release from a juvenile facility of a child whose eligibility for medical assistance has been suspended under this section, the commission shall reinstate the child’s eligibility. Following the reinstatement, the child remains eligible until the expiration of the period for which the child was certified as eligible, excluding the period during which the child’s eligibility was suspended.