; and (ii) which occurs in a month for which the individual is entitled to benefits under part A; and (B) ending with the close of the first period of 60 consecutive days thereafter on each of which the individual is neither an inpatient of a hospital or critical access hospital nor an inpatient of a facility described in section 1819(a)(1) or subsection (y)(1) nor provided home health services or certified adult day services. . (2) Inclusion under part B benefit Section 1832(a)(2) of the Social Security Act ( 42 U.S.C. 1395k(a)(2) ) is amended— (A) in subparagraph (I), by striking at the end and ; (B) in subparagraph (J), by striking at the end the period and inserting and ; and (C) by adding at the end the following new subparagraph: (K) certified adult day services (as defined in section 1861(iii)(1)(A)). . (3) Inclusion under part A benefit Section 1812(a) of the Social Security Act is amended— (A) in paragraph (4), by striking at the end and ; (B) in paragraph (5), by striking the period at the end and inserting and