(4)(F) that may be aggregated pursuant to paragraph (4)(H) among members of the same affiliated group. (H) Definitions In this paragraph: (i) Otherwise applicable resident limit The term otherwise applicable resident limit means, with respect to a hospital, the limit otherwise applicable under subparagraphs (F)(i) and (H) of paragraph (4) on the resident level for the hospital determined without regard to this paragraph but taking into account paragraphs (7)(A), (7)(B), (8)(A), and (8)(B). (ii) Resident level The term resident level has the meaning given such term in paragraph (7)(C)(i). . (b) IME (1) In general Section 1886(d)(5)(B)(v) of the Social Security Act ( 42 U.S.C. 1395ww(d)(5)(B)(v) ), in the third sentence, is amended by striking and (h)(8) and inserting (h)(8), and (h)(9) . (2) Conforming provision Section 1886(d)(5)(B) of the Social Security Act ( 42 U.S.C. 1395ww(d)(5)(B) ) is amended— (A) by redesignating clause (x), as added by section 5505(b) of the Patient Protection and Affordable Care Act ( Public Law 111–148 ), as clause (xi) and moving such clause 4 ems to the left