Sun wrote two books - Beiji Qian Jin Yao Fang ("Essential Formulas for Emergencies [Worth] a Thousand Pieces of Gold") and Qian Jin Yi Fang ("Supplement to the Formulas of a Thousand Gold Worth") - that were both milestones in the history of Chinese medicine, summarizing pre-Tang dynasty medicine. The former listed about 5300 recipes for medicines, and the latter 2000. He also put forth the “Thirteen measures to keep health”, which claimed that actions like touching hair, rolling eyes, walking, and shaking heads improved health.
Apart from this, he is known for the text "On the Absolute Sincerity of Great Physicians," often called "the Chinese Hippocratic Oath," which comes from the first chapter of the first of the above mentioned two books. This portion of the book is still a required reading for Chinese physicians. The following is an excerpt of the text:
A Great Physician should not pay attention to status, wealth or age; neither should he question whether the particular person is attractive or unattractive, whether he is an enemy or friend, whether he is a Chinese or a foreigner, or finally, whether he is uneducated or educated. He should meet everyone on equal grounds. He should always act as if he were thinking of his close relatives.