; and (2) by adding at the end the following new clause: (xii) For discharges occurring on or after January 1, 2018, in determining the hospital’s number of full-time equivalent residents for purposes of this subparagraph, clause (iii) of subsection (h)(4)(F) shall apply to clause (v) in the same manner and for the same period as such clause (iii) applies to clause (i) of such subsection. .