; (B) a nursing facility (as defined in section 1919(a) of such Act ( 42 U.S.C. 1396r(a) )); (C) a long-term care hospital (as described in section 1886(d)(1)(B)(iv) of such Act ( 42 U.S.C. 1395ww(d)(1)(B)(iv) )); (D) an institution (or distinct part thereof) described in section 1905(d) of such Act ( 42 U.S.C. 1396d(d) ); (E) an institution (or distinct part thereof) which is a psychiatric hospital (as defined in section 1861(f) of such Act ( 42 U.S.C. 1395x(f) )) or that provides inpatient psychiatric services in another residential setting specified by the Secretary; (F) an institution (or distinct part thereof) described in section 1905(i) of such Act ( 42 U.S.C. 1396d(i) )