; (2) by striking children enrolled and inserting children generally, children in foster care specifically, individuals over the age of 18 receiving home and community-based services (as defined in section 9817(a)(2)(B) of Public Law 117–2 ), and individuals over the age of 18 residing in institutional care settings (including nursing facilities, intermediate care facilities for individuals with intellectual disabilities, institutions for mental diseases, inpatient psychiatric hospitals, and other such institutional care settings) enrolled ; and (3) by striking not more than the age of 18 years through the period at the end and inserting subject to the program, including information with respect to each such category of children and individuals over the age of 18. . (b) Effective date The amendments made by subsection (a) shall take effect on the date that is 24 months after the date of enactment of this Act. 204. Extension of State option to provide medical assistance for certain individuals in institutions for mental diseases (a) Making permanent State Plan Amendment Option To Provide Medical Assistance for Certain Individuals Who Are Patients in Certain Institutions for Mental Diseases Section 1915(l)(1) of the Social Security Act ( 42 U.S.C. 1396n(l)(1) ) is amended by striking With respect to calendar quarters beginning during the period beginning October 1, 2019, and ending September 30, 2023, and inserting With respect to calendar quarters beginning on or after October 1, 2019, . (b) Maintenance of effort revision Section 1915(l)(3) of the Social Security Act ( 42 U.S.C. 1396n(l)(3) ) is amended— (1) in subparagraph (A)— (A) by striking other than under this title from non-Federal funds and all that follows through subparagraph (B)) and inserting from non-Federal funds for items and services (including services described in subparagraph (B))