Tenyakuryo (典薬寮)

The Tenyakuryo (Bureau of Medicine) was an institution established under Japan's Ritsuryo system (a system of centralized government based on the ritsuryo code); specifically, it was under the purview of the Kunaisho (Imperial Household Agency) of the Ritsuryo system, and was the bureau responsible for giving medical care and providing doses of medicine.

Official duties at the Tenyakuryo

Those working at the Tenyakuryo provided medical care--and trained those who offered such care--for the officials at court, as well as overseeing gardens of medicinal herbs and other such projects. The Tenyakuryo formed a counterpart with the Naiyakushi, who were responsible for providing medical care to the Emperor himself. In 896, the Tenyakuryo absorbed the Naiyakushi, seizing a monopoly over all the court's medical needs. The bureau's head was called the Tenyaku no kami, and the rest of the bureau's personnel was organized into teni (doctors), harishi (acupuncturists), anmashi (masseurs), and jugonshi (sorcerer-physicians). There were also ihakase (Masters of medicine), harihakase (Masters of acupuncture), anmahakase (Masters of massage), jugonhakase (Masters of healing magic), and yakuenshi (an official in charge of managing medicinal-herb garden), under whom the bureau's students, called Itokugyosho (distinguished scholars of medicine), learned. At the time of the bureau's absorption of the Naiyakushi, control over the jii (the physicians for the Emperor and Imperial Family), Yakusei (students of medicine), and Joihakase (female Masters of medicine) was also transferred to the Tenyakuryo.

Starting in the late Heian period, appointment to the bureau became a hereditary privilege of the Wake and Tanba clans, and the Komori family of the Tanba clan achieved a complete monopoly over the position of Tenyaku no kami. But because the Komori family at that time were only Rokui no Kurodo (Chamberlain of Sixth Rank), even as the Tenyaku no kami (the head of Tenyakuryo) they were too low-ranked to take part in the actual medical examinations given to the Emperor, meaning their job was limited to more clerical and administrative duties. The position of Tenyaku gon no suke (assistant chief of Tenyakuryo) was also hereditary, resting with the Fujiki family, a family of Shinto priests who oversaw Kamo Wakeikazuchi Jinja Shrine, but those holding this position actually performed acupuncture, and were one of the family lineages permitted to perform medical examinations of the Emperor.

Leading up into the Edo period, there were many cases where the most outstanding private civilian doctors in Kyoto and the other provinces were given office and rank and appointed as Tenyakuryo physicians (goteni); candidates--both young and old--for official posts of Tenyaku Taijo (Senior Secretary of the Bureau of Medicine) rank or lower were chosen from among the teni (doctors) either due to their superior skills or due to a long record of distinguished service. Towards the end of the Edo period, a new type of doctor was added to those practicing traditional Chinese medicine, and its practitioners began to be appointed to the Tenyakuryo: this type comprised doctors, for example Mitsuaki IRAKO, who followed the trends in Western (specifically, Dutch) medicine.

In 1869, the Tenyakuryo was abolished during the reform of government institutions that followed the Meiji Restoration, but among all the institutions based on the ritsuryo system, the Tenyakuryo had the rare distinction of having managed to maintain, both in word and in deed, its official functions from when it was founded right up until the moment it was dissolved.

Nyugyuin

The Nyugyuin (the Cowsmilk Office, in charge of raising milkcows and providing their milk to the Imperial Family) was one of the offices under the purview of the Tenyakuryo. It was founded during the Heian period. The office's Betto (head) managed the office overall, while the Nyuko (dairy farmer) of the Shinabe (technicians) under the supervision of the Nyushichojo reared cattle, and cowsmilk was then selected and presented to the Imperial Family for their meals. Cowsmilk, along with so and daigo (both dairy products somewhat similar to cheese), were also used for medicinal purposes.

Office personnel

The Kashira (head), of Jugoinoge (Junior Fifth Rank, Lower Grade)
Suke (deputy chief), of Jurokuinojo (Junior Sixth Rank, Upper Grade), and the Gon no suke (deputy to the deputy chief)
Daijo (senior secretaries), of Jurokuinoge (Junior Sixth Rank, Lower Grade), and Shojo (junior secretaries), of Jushichiinojo (Junior Seventh Rank, Upper Grade)
Daizoku (senior clerks), of Juhachiinoge (Junior Eighth Rank, Lower Grade), and the Shozoku (junior clerks), of Daishoijo (Grater Initial Rank, Upper Grade)
Shisho (manager of documents), newly established
Ryosho (bureau administrator), newly established
Shibe (low-ranking bureaucrats)
Jikicho (factotums)

Ishi (physicians), of Jushichiinoge (Junior Seventh Rank, Lower Grade), responsible for providing medical treatment
Harishi, of Shohachiinojo (Senior Eighth Rank, Upper Grade), responsible for providing medical treatment by acupuncture and moxibustion
Anmashi, of Juhachiinojo (Junior Eighth Rank, Upper Grade), responsible for providing medical treatment through massage
Jugonshi, of Shohachiinojo (Senior Eighth Rank, Upper Grade), who attempted to heal patients using incantations; jugonshi disappeared from the Tenyakuryo after their official duties were usurped by the Onmyoryo (Bureau of Divination).
Yakuenshi, of Shohachiinojo (Senior Eighth Rank, Upper Grade), responsible for managing the medicinal herb gardens

Ihakase, of Shoshichiinoge (Senior Seventh Rank, Lower Grade), responsible for training new physicians
Isei (medical students), students of ordinary status
Itokugosho, upper-level students
Harihakase, of Jushichiinoge (Junior Seventh Rank, Lower Grade), responsible for training new acupuncturists
Harisei (students of acupuncture)
Anmahakase, of Shohachiinoge (Lower Grade Senior Eighth Rank), responsible for training students of massage
Anmasei (students of massage)
Jugonhakase, of Jushichiinojo (Junior Seventh Rank, Upper Grade); this position disappeared after the Onmyoryo usurped their official duties
Jugonsei (students of healing sorcery); they also disappeared after their official duties were usurped by the Onmyoryo

Joi hakase, of Shoshichiinoge (Senior Seventh Rank, Lower Grade), responsible for training midwives; control over this position was transferred from the Naiyakushi. Jii, of Shorokuinoge (Senior Sixth Rank, Lower Grade), who worked as personal physicians to the Emperor; control over this position was transferred to the Tenyakuryo from the Naiyakushi. Yakusei, in charge of preparing medicine; control over this position was transferred to the Tenyakuryo from the Naiyakushi.

Yakuto, in charge of cultivating Shinabe as well as medicinal herbs

Nyugyuin
Betto
Nyushichojo
Nyuko