The humor theory describes four bodily fluids ( black , yellow bile , blood , and phlegm ) . Treatment was based on the humor theory of four bodily fluids ( black and yellow bile , blood , and phlegm ) .