History of science and technology

A physician recommends changing a patient's diet to restore balance among bodily fluids. Which historical medical framework best explains this reasoning?