Jugon hakase and Jugonshi in Tenyaku no ryo was established as an agency in charge of Shini (prediction), Taoism, and Buddhism, particularly Jugondo with its element of esoteric Buddhist prayers as a healing art were eliminated or consolidated into Onmyoryo during FUJIWARA no Kamatari's generation, who was Inyoka.
讖緯思想・道教・仏教特に密教的な要素を併せ持った呪禁道を管掌し医術としての祈祷などを行う機関として設けられていた典薬寮の呪禁博士や呪禁師らが、陰陽家であった藤原鎌足の代に廃止され陰陽寮に機構統合された。