The whole phlegmatic/choleric/etc. nonsense was lifted entirely from Galen of Pergamon, who applied Hippocrates' notion of the four humors in medicine to variations of personality and behavior. So, if it looks like we're looking at educational advice from the kind of people who would prescribe bloodletting for the flu, that's because we are.