The formula was created by Lǐ Dōng-yuán . It was published in "Treatise on the Spleen and Stomach" in 1249.
There are many variations of the formula proportions. Each maker of Chinese patent medicine changes the proportions of the herbs slightly. The proportions are in the kampo formula, however. Some herbs may be changed also. For example, may be replaced with .
The formula was also changed slightly when it was borrowed as a Japanese kampo formula. Some species of herbs were replaced with herbs found in Japan. For example, was replaced with .