"(c) For purposes of case management and community support services, a "person with serious and persistent mental illness" means an adult who has a mental illness and meets at least one of the following criteria:
(1) the adult has undergone two or more episodes of inpatient care for a mental illness within the preceding 24months;
(2) the adult has experienced a continuous psychiatric hospitalization or residential treatment exceeding six months'duration within the preceding 12 months;
(3) the adult:
(i) has a diagnosis of schizophrenia, bipolar disorder, major depression, or borderline personality disorder;
(ii) indicates a significant impairment in functioning; and
(iii) has a written opinion from a mental health professional, in the last three years, stating that the adult is reasonably likely to have future episodes requiring inpatient or residential treatment, of a frequency described in clause (1) or (2), unless ongoing case management or community support services are provided;
(4) the adult has, in the last three years, been committed by a court as a person who is mentally ill under chapter 253B, or the adult's commitment has been stayed or continued; or
(5) the adult (i) was eligible under clauses (1) to (4), but the specified time period has expired or the adult was eligible as a child under section 245.4871, subdivision 6; and (ii) has a written opinion from a mental health professional, in the last three years, stating that the adult is reasonably likely to have future episodes requiring inpatient or residential treatment, of a frequency described in clause (1) or (2), unless ongoing case management or community support services are provided."