; (II) is qualified by education, training, experience or certification; and (III) has completed specialized training in infection prevention and control. (ii) In the case of a resident who elects to reside with a family member of such resident for any portion of the emergency period described in subparagraph (A), guarantee the right of such resident to resume residency in the facility at any time during the 180-day period immediately following the end of such emergency period. (iii) Notwithstanding subparagraphs (A) and (B) of subsection (c)(2), permit a resident to remain in the facility and not discharge or transfer the resident from the facility unless— (I) the State survey agency approves the discharge or transfer; (II) in the case of a transfer, the transfer is to a facility dedicated to the care of residents who have been diagnosed with COVID–19 if the resident has been diagnosed with COVID–19, or a facility dedicated to the care of residents who have not been diagnosed with COVID–19 if the resident has not been diagnosed with COVID–19; (III) before effecting the discharge or transfer, the facility records the reasons in the resident’s clinical record; (IV) at least 72 hours in advance of the discharge or transfer, the facility provides a notice of the discharge or transfer to the resident (or legal representative of the resident, if applicable), including the reasons therefor and the items described in clause (iii) of subsection (c)(2)(B)