; and (B) in subsection (h)— (i) in paragraph (1), by inserting subject to subsection (u) after 1861(v), ; and (ii) in paragraph (3), in the flush matter following subparagraph (B), by striking subsection (k) and inserting subsection (k) or subsection (u) . 3. Supporting new, expanding, and existing rural training tracks (a) Direct graduate medical education Section 1886(h) of the Social Security Act ( 42 U.S.C. 1395ww(h) ) is amended— (1) in paragraph (4)— (A) in subparagraph (F)(i)— (i) by striking 130 percent and inserting for cost reporting periods beginning on or after October 1, 1997, and before the date that is 1 year after the date of enactment of the Rural Physician Workforce Production Act of 2023 , 130 percent ; and (ii) by adding at the end the following: For cost reporting periods beginning on or after the date that is 1 year after the date of enactment of the Rural Physician Workforce Production Act of 2023 , such rules shall provide that any full-time-equivalent resident in an approved medical residency program (or separately defined track within a program) that provides more than 50 percent of the total residency training time in rural training locations (as defined in subsection (u)(6)(C)), regardless of where the training occurs and regardless of specialty, shall not be taken into account for purposes of applying the limitation under this subparagraph. ; and (B) in subparagraph (H)— (i) in clause (i), in the second sentence, by inserting the following before the period: , in accordance with the second sentence of clause (i) of such subparagraph ; and (ii) in clause (iv)(II), by inserting the following before the period: , in accordance with the second sentence of clause (i) of such subparagraph