Johann Franz von Hieber (1764–1843), Arzneikunde