; and (C) provider willingness to provide or prescribe substance use disorder treatment medications. (b) Report Not later than 15 months after the date of the enactment of this Act, the Comptroller General shall submit to Congress a report containing the results of the study conducted under subsection (a), together with recommendations for such legislation and administrative action as the Comptroller General determines appropriate. 1012. Help for moms and babies (a) Medicaid State plan Section 1905(a) of the Social Security Act ( 42 U.S.C. 1396d(a) ), as amended by section 1006, is further amended by adding at the end the following new sentence: In the case of a woman who is eligible for medical assistance on the basis of being pregnant (including through the end of the month in which the 60-day period beginning on the last day of her pregnancy ends), who is a patient in an institution for mental diseases for purposes of receiving treatment for a substance use disorder, and who was enrolled for medical assistance under the State plan immediately before becoming a patient in an institution for mental diseases or who becomes eligible to enroll for such medical assistance while such a patient, the exclusion from the definition of medical assistance set forth in the subdivision (B) following paragraph (30) of the first sentence of this subsection shall not be construed as prohibiting Federal financial participation for medical assistance for items or services that are provided to the woman outside of the institution. . (b) Effective date (1) In general Except as provided in paragraph (2), the amendment made by subsection (a) shall take effect on the date of enactment of this Act. (2) Rule for changes requiring state legislation In the case of a State plan under title XIX of the Social Security Act which the Secretary of Health and Human Services determines requires State legislation (other than legislation appropriating funds) in order for the plan to meet the additional requirements imposed by the amendment made by