; or (iii) an alternative payment model, to the extent available. (F) The number and percentage of individuals enrolled under the State plan under this title or the State child health plan under title XXI (or under a waiver of such plans) who have a diagnosis described in subparagraph (A) and received services for a mental health condition or a substance use disorder in an outpatient or community-based or home-based setting after receiving mental health or substance use disorder services in an inpatient or residential setting, and the number of mental health or substance use disorder services received by such individuals in the outpatient or community-based or home-based setting. (G) The number and percentage of inpatient admissions in which services for a mental health condition or substance use disorder were provided to an individual enrolled under the State plan under this title or the State child health plan under title XXI (or under a waiver of such plans) that occurred within 30 days after discharge from a hospital or residential facility in which services for a mental health condition or substance use disorder previously were provided to such individual, disaggregated by each diagnosis described in subparagraph (A) and type of facility, to the extent such information is available. (H) The number of emergency department visits by an individual enrolled under the State plan under this title or the State child health plan under title XXI (or under a waiver of such plans) who has a diagnosis described in subparagraph (A) within 7 days of such individual being discharged from an inpatient stay at a hospital during which services for a mental health condition or substance use disorder were provided, or from a mental health facility, an independent psychiatric wing of an acute care hospital, an intermediate care facility for individuals with intellectual disabilities, or a residential treatment facility, disaggregated by each diagnosis described in subparagraph (A) and type of facility, to the extent such