; and (B) by inserting after paragraph (1) the following: (2) New approved graduate medical residency training program The term new approved graduate medical residency training program means an approved graduate medical residency training program for which the sponsoring qualified teaching health center has not received a payment under this section for a previous fiscal year (other than pursuant to subsection (a)(1)(C)). . (6) Technical correction Subsection (f) of section 340H ( 42 U.S.C. 256h ) is amended by striking hospital each place it appears and inserting teaching health center . (7) Payments for previous fiscal years The provisions of section 340H of the Public Health Service Act ( 42 U.S.C. 256h ), as in effect on the day before the date of enactment of this Act, shall continue to apply with respect to payments under such section for fiscal years before fiscal year 2018. (e) Application Amounts appropriated pursuant to this section for fiscal year 2018 or 2019 are subject to the requirements contained in Public Law 115–31 for funds for programs authorized under sections 330 through 340 of the Public Health Service Act ( 42 U.S.C. 254b–256 ). (f) Conforming amendments Section 3014(h) of title 18, United States Code, is amended— (1) in paragraph (1), by striking , as amended by section 221 of the Medicare Access and CHIP Reauthorization Act of 2015,