question: How were the men who did tasks like those of today's pharmacists viewed in Japan in the Asuka and Nara periods?
sentence: In Japan, at the end of the Asuka period (538–710) and the early Nara period (710–794), the men who fulfilled roles similar to those of modern pharmacists were highly respected.