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.
典薬寮（てんやくりょう）は、律令制により制定された機関で、宮内省律令制度下に属する医療・調薬を担当する部署。