Abstract: Tang-ye-jing-fa map in the Dunhuang ancient book Fuxingjue displays a set of syndrome differentiation and treatment methods,which is mainly based on the differentiation of deficiency and excess of the five viscera combined with the treatment of five flavors.Its core framework is balance between Yin-Yang and the five elements.Sharing the same framework,the middle movement of the Five-Yun and Six-Qi is also defined as the excessiveness and deficiency of the five elements.Based on the relationship,this article tried to analyze the ten heavenly stems,based on the previous research of the theoretical system of"Tang-ye-jing-fa map".We tried to determine the type of indications and the compatibility structure of the ten heavenly stems,and analyze their consistency of the formula.The consistency between the five elements in corresponding years of the ten heavenly stems and their composition ideas was also determined to elucidate their formulation and compatibility rules.