Complex sentence: The bipolar type is determined based on whether the individual has ever had a manic, hypomanic, or a mixed episode; the depressive type on the existence of major depressive episodes exclusively.
Split into simpler sentences: The bipolar type is determined based on whether the individual has ever had a manic, hypomanic or a mixed episode. The depressive type is determined based on the existence of major depressive episodes exclusively.