services for certain individuals with targeted SUDs in institutions for mental diseases Section 1915 of the Social Security Act ( 42 U.S.C. 1396n ) is amended by adding at the end the following new subsection: (l) State plan option To provide services for certain individuals in institutions for mental diseases (1) In general With respect to calendar quarters beginning during the period beginning January 1, 2019, and ending December 31, 2023, a State may elect, through a State plan amendment, to, notwithstanding section 1905(a), provide medical assistance for services furnished in institutions for mental diseases and for other medically necessary services furnished to eligible individuals with targeted SUDs, in accordance with the requirements of this subsection. (2) Payments (A) In general Amounts expended under a State plan amendment under paragraph (1) for services described in such paragraph furnished, with respect to a 12-month period, to an eligible individual with a targeted SUD who is a patient in an institution for mental diseases shall be treated as medical assistance for which payment is made under section 1903(a) but only to the extent that such services are furnished for not more than a period of 30 days (whether or not consecutive) during such 12-month period. (B) Clarification Payment made under this paragraph for expenditures under a State plan amendment under this subsection with respect to services described in paragraph (1) furnished to an eligible individual with a targeted SUD shall not affect payment that would otherwise be made under section 1903(a) for expenditures under the State plan (or waiver of such plan) for medical assistance for such individual. (3) Information required in State plan amendment (A) In general A State electing to provide medical assistance pursuant to this subsection shall include with the submission of the State plan amendment under paragraph (1) to the Secretary— (i) a plan on how the State will improve access to outpatient care during the period of the State plan