liu juanzi guiyi fang liu juanzi guiyi fang liu juanzi guiyi fang (traditional chinese: 劉涓子鬼遺方; simplified chinese: 刘涓子鬼遗方; pinyin: liú juānzi guǐyí fāng), also known as shenxian yi lun (chinese: 神仙遺論; pinyin: shénxiān yí lùn), is a chinese medical text allegedly written by the titular liu juanzi and published during the northern and southern dynasties in 499. the original text comprised ten volumes and is no longer extant; an abridged version by gong qingxuan was published sometime in the song dynasty. publication history according to tradition, liu juanzi guiyi fang was written in the early 5th century by military physician liu juanzi (劉涓子), who had received a yong ju fang (癰疽方; "recipes for obstruction- and impediment-illnesses") from a ghost named huangfu (黄父). first published during the northern and southern dynasties in 499, it is the earliest known chinese medical text about surgery. the original text comprised ten juan or volumes but is no longer extant, although fragments were unearthed in xinjiang in 1902. much of the original text was reproduced in later publications such as the wai tai mi yao fang (外臺秘要方) and the zheng lei ben cao (證類本草). moreover, a surviving abridged version containing five of the original ten volumes was compiled by gong qingxuan (龔慶宣; fl. 550–577) and published sometime in the song dynasty (960–1279). almost all of the formulae in the five-volume edition were copied into sun simiao's qianjin yifang (千金翼方). contents the five volumes collected in gong qingxuan's revision pertain to the causes and treatment of ulcers and carbuncles as well as the treatment of other maladies such as blood stasis, burns, insomnia, mastitis, rectal prolapse, and scabies. notes translated into english as liu juan-zi's ghost-bequeathed formulae, master liu juan's ghost-left formulas, or recipes of liu juanzi, handed down by ghosts.