(1) Judicial proceedings under this title to commit a person with mental illness, serious emotional disturbance, or developmental disability to treatment if the qualified mental health professional decides that the service recipient is in need of compulsory care and treatment;
(2) In proceedings for which the qualified mental health professional was ordered by the court to examine the service recipient if the service recipient was advised that communications to the qualified mental health professional would not be privileged;
(3) Judicial proceedings under chapter 8, part 3 of this title; and
(4) Guardianship, conservatorship, and veterans' guardianship proceedings under title 34.