; and (2) for the remaining 36-month period of such project, provide to each State selected under subsection (d) payments in accordance with subsection (e). (b) Purpose The purpose described in this subsection is for each State that receives a planning grant under subsection (c) to ensure that every Medicaid-enrolled child in the State has access to integrated mental health and substance use disorder care services, including prevention and early intervention services, so as to allow for the prevention, identification, and treatment of mental health and substance use conditions in primary care, children's hospitals, early care and education, schools, or other settings as appropriate (such as home visiting and early intervention programs for young children, foster care or other child welfare care settings, or workforce development programs and community centers for youth) (in this section collectively referred to as care settings ), through the following activities: (1) Activities that support an ongoing assessment of the accessibility of integrated mental health and substance use disorder care services, including prevention and early intervention services, for Medicaid-enrolled children in the State that tracks progress toward the goal of all Medicaid-enrolled children (including infants and toddlers as well as transition-aged youth) having access to appropriate levels of services in care settings in which the children regularly engage, and that is conducted in partnership with such children and families, to ensure that the assessment reflects their perspective, experiences, and solutions. (2) Activities that, taking into account the results of the assessment described in paragraph (1), support the development, implementation, and maintenance of State infrastructure, such as technology and the physical structures necessary to physically co-locate integrated mental health and substance use disorder care services, including prevention and early intervention services, and a workforce to provide the types of support,