1. Short title This Act may be cited as the Individuals in Medicaid Deserve Care that is Appropriate and Responsible in its Delivery Act or the IMD CARE Act . 2. Medicaid State plan option To provide services for certain individuals with opioid use disorders 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 to eligible individuals with opioid use disorders, 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, in an institution for mental diseases to an eligible individual with an opioid use disorder shall be treated as medical assistance for which payment is made under section 1903(a) but only to the extent that, subject to subparagraph (B), such services are furnished for not more than a period of 30 days (whether or not consecutive) during such 12-month period. (B) Limitations Payment for expenditures described in subparagraph (A), with respect to services described in paragraph (1) furnished in an institution for mental diseases to an eligible individual with an opioid use disorder during a 12-month period, shall not be made under section 1903(a) with respect to such services furnished during any period exceeding 30 consecutive days during such 12-month period, unless the State requires under the State plan amendment continued medically necessary treatment during the entire period for which such services are furnished