the program established under paragraph (1) if the facility submits to the Secretary, at a time and in a manner specified by the Secretary, an application for such designation that contains such information as required by the Secretary and demonstrates that such facility meets the requirements described in subparagraph (B). (B) Requirements The requirements described in this subparagraph with respect to a skilled nursing facility are the following: (i) The facility has a star rating with respect to staffing of 4 or 5 on the Nursing Home Compare website (as described in subsection (i)) and has maintained such a rating on such website during the 2-year period ending on the date of the submission of the application described in subparagraph (A). (ii) The facility has a star rating of 4 or 5 with respect to health inspections on such website and has maintained such a rating on such website during such period. (iii) During such period, the Secretary or a State has not found a deficiency with such facility relating to infection control that the Secretary or State determined immediately jeopardized the health or safety of the residents of such facility (as described in paragraph (1) or (2)(A) of subsection (h), as applicable). (iv) The facility provides care at such facility (or, in the case of an election made with respect to a portion of such facility, to provide care in such portion of such facility) only to eligible individuals. (v) The facility arranges for and transfers all residents of such facility (or such portion of such facility, as applicable) who are not eligible individuals to other skilled nursing facilities (or other portions of such facility, as applicable). (vi) The facility complies with the notice requirement described in paragraph (4). (vii) The facility meets the reporting requirement described in paragraph (5). (viii) Any other requirement determined appropriate by the Secretary. (3) Duration of designation (A) In general A designation of a skilled nursing facility (or portion of such facility)