Lin Yue, a 22-year-old medical prodigy, touches a mysterious ancient book in the library's rare-books section and transmigrates to the Tang dynasty during the Zhenguan era. At first, she is panicked in her unfamiliar surroundings, but she keeps her cool and uses her wits to save an elderly man suffering a sudden epileptic seizure on the street. This brings her into contact with Li Yi, a Tang nobleman known for his chivalry. Li Yi takes her to his home, where his mother is gravely ill. Lin Yue draws on her modern medical knowledge, acupuncture, and herbal treatments to improve her condition, and word of her skills spreads through the Li household. Su Yao, a wealthy young woman, is impressed by Lin Yue's medical abilities and befriends her. The two soon become close friends. But Lin Yue's skills arouse jealousy. Led down a particular path, she learns of the Shadow Alliance, only to discover that it conceals a tremendous secret. After completing her mission, Lin Yue earns the emperor's trust with her medical skills and kindness as she navigates courtly intrigue and difficult cases. She establishes a medical association, and her relationship with Li Yi grows closer through a series of events. When war breaks out on the Tang frontier, Lin Yue joins the army to treat the wounded, gaining a deep appreciation of the cruelty of war and the preciousness of peace. After the war ends, she and Li Yi finally become a couple and live happily ever after.