(a) In general Section 1903(i) of the Social Security Act (42 U.S.C. 1396b(i)) is amended—
(1) in paragraph (26), by striking ; or and inserting a semicolon;
(2) in paragraph (27), by striking the period at the end and inserting ; or;
(3) by inserting after paragraph (27) the following new paragraph:
(28) with respect to any amount expended for medical assistance for an applicable individual for a month in a calendar year if such individual did not meet the community engagement requirement under section 1905(kk) for 3 or more preceding months during such calendar year while such individual was an applicable individual and was enrolled in a State plan (or waiver of such plan) under this title.
; and
(4) in the flush left matter at the end, by striking and (18), and inserting (18), and (28).