国际学术期刊
出版地 · 香港 English
TCM Discovery 检索
本期目录/第 1 卷 · 第 1 期
原创研究

Symptom descriptions of disturbed sleep in Ming and Qing diaries and medical case records: a comparison of patient self-reports and physicians’ accounts

Dongfei Lin (林东飞)TCM Discovery · 页码 123–135
文内目录
Abstract 1 Introduction 2 Materials and methods 3 Results 4 Discussion 5 Conclusion References Appendix A Source boundaries and replication

Abstract

Objective. To examine how diarists and physicians in late imperial China put disrupted sleep into words, and to identify occasions when a patient’s own account remains discernible within a medical case.

Materials and methods. A purposive corpus comprised diary selections by eight writers and four physicians’ casebooks. A search for sleep expressions and their variants covered 794,046 Chinese characters. Contextual reading distinguished the person experiencing the disturbance, the speaker, and the person recording it. Analyses compared wording across retained text segments and tested sensitivity to source concentration, dynasty, and segment length.

Results. Of 683 candidate segments, 80 diary self-reports and 89 casebook segments met the criteria. Absent or delayed sleep was the most frequent description in both groups (49/80 and 45/89). A clock time, watch, or other division of the night occurred in 26/80 diary segments (32.5%) and 6/89 casebook segments (6.7%). Pain or cough wording occurred in 2/80 (2.5%) and 47/89 (52.8%), respectively. Both contrasts retained their direction after length standardization and after each source was omitted in turn. Six casebook segments explicitly conveyed a patient’s answer or attributed account. One patient placed months of sleeplessness alongside the loss of his ability to write.

Conclusions. The strongest difference concerned what accompanied the complaint. Diarists often situated wakefulness within a particular night. Casebooks more often situated it among other bodily changes. Preserving both the speaker and the words surrounding a complaint makes experiences recoverable that a search under a single disease name would miss.

Keywords medical case histories, diaries, sleep disturbance, patient testimony, Ming dynasty, Qing dynasty, medical humanities

1 Introduction

Liu E recorded waking at one o’clock, being unable to sleep again, and thinking of watching the sunrise. Earlier, the Ming traveller Xu Xiake had located his wakefulness in the fifth watch, when the prospect of clear skies on the mountain filled him with delight. Both wrote 不成寐, an inability to get to sleep. In the first entry, waking comes before the phrase. In the second, anticipation gives it meaning. Translating either entry simply as “insomnia” would erase part of what its author recorded.1,2

Historical studies of Chinese medicine have traced the names, causes, and treatment of sleeplessness through Ming and Qing medical texts.3 The case history served an additional purpose. It allowed a practitioner or compiler to show why a particular observation mattered to a judgment, often after the course of illness was already known.4 A cough that prevented sleep could therefore enter a case through the diagnostic problem it posed. The text may preserve what the patient said, what an attendant noticed, or what the practitioner inferred. These are distinct historical claims.

Diaries offer a different set of reasons for writing about a night. Moral diaries could sustain a discipline of self-examination, while travel and household diaries could register noise, illness, obligations, and interruptions.5,6 Diary research also places literati within local networks of treatment and advice.7 A diarist who treated others might employ medical reasoning when describing his own body. Equating every diary sentence with a lay voice and every casebook sentence with a physician’s observation would conceal precisely this overlap.

This study asks which expressions the two genres share, which details accompany them, and where changes of speaker qualify a genre-level comparison. Its object is the representation of sleep disturbance. The texts rarely establish the frequency, duration, opportunity for sleep, or daytime impairment required to reconstruct a clinical history. A sleepless night can still furnish strong evidence about the experience its writer considered worth recording.

2 Materials and methods

2.1 Selection of historical witnesses

Selection sought variation in purpose within each genre and representation of both dynasties. The diary group includes moral reflection, travel, official business, and household life. The medical group comprises two Ming and two Qing collections with identifiable historical practitioners and separable case material. Each writer or named case collection forms one source group. Liu E’s two diary years form a single group. The comparison concerns independent texts with no linkage between diarists and the patients in the selected cases.

2.2 Corpus boundaries and textual exposure

The diary texts came from the local Chinese classics archive (中文古籍数据库.sqlite, texts.body). The medical texts came from its separately indexed medical collection (gjsy.index.db, docs.content). Titles, textual openings, and section labels were checked against the database assignments. One catalogue key for Wu Yubi also retrieved an unrelated work by Cao Duan. Only the text beginning with Wu’s diary was used. A separate outpatient and inpatient archive contained modern clinical records and contributed no historical observations.

Table 1. Source register, retrieval yield, and text coverage

Writer

Source title

Period

Characters

Hits

Included

Rate³

Wu Yubi

日录

Ming

10,348

26

8

7.73

Xu Xiake

徐霞客游记

Ming

153,839

24

3

0.20

Yang Yiqing

西征日录

Ming

7,542

3

0

0.00

Fang Xiangying

使蜀日记

Qing

8,872

0

0

0.00

Jiang Shizhe

臺游日記

Qing

65,692

18

3

0.46

Liu E

抱残守缺斋日记¹

Qing

46,155

42

19

4.12

Xu Zhaowei

棣秋馆戊戌日记

Qing

15,670

11

1

0.64

Yun Yuding

澄斋日记²

Qing

292,789

276

46

1.57

Wang Ji

石山医案

Ming

32,930

42

17

5.16

Sun Yikui

孙文垣医案

Ming

100,036

182

50

5.00

Xu Dachun

洄溪医案

Qing

17,582

20

9

5.12

Cheng Wenyou

程杏轩医案

Qing

42,591

39

13

3.05

First eight rows are diaries. ¹ Renyin and Yisi diaries (1902 and 1905). ² Four consecutive late-Qing text blocks beginning with Guangxu 16 (1890). ³ Included segments per 10,000 Chinese characters. Hits are distinct candidate segments. The two sources with no retained segments contribute to textual exposure.

The register fixes the denominator at the selected electronic witness. Editorial material identified by boundaries was removed, including Xu Xiake’s bracketed glosses, prefaces external to the selected medical sections, and text following the first 雄按 (“Xiong comments”) in each selected Huixi chapter. The last cut is conservative and may omit original material resumed after a comment. Textual exposure includes any remaining headings, quoted matter, and annotations within selected blocks. Those elements could contribute characters but could not qualify as reports in their own right.

The resulting diary exposure was 600,907 characters and the casebook exposure 193,139. The corresponding densities were 1.33 and 4.61 retained segments per 10,000 characters. These denominators describe space in the archive. They cannot establish how many nights a writer slept poorly or how many people sought care.

2.3 Retrieval, classification, and attribution

Texts were split at Chinese sentence-final punctuation, ASCII question or exclamation marks, and line breaks. Commas and semicolons remained inside a segment. A union of search rules captured sleep verbs, waking, disturbed dreams, eye closure, tossing and turning, and selected postural expressions in simplified and traditional script. The vocabulary was expanded during inspection, including 夜卧少宁 and the awakening described as 惊悟. Repeated rule matches within one segment counted once. All 683 candidates in the final text boundaries received contextual review.

A segment qualified if it described a particular person’s actual disrupted sleep, troublesome dreaming, or marked propensity to sleep or lie down. A diary passage had to concern the diarist, identified from grammar and adjoining narration. Purely positional difficulty, ordinary napping, recovery alone, literary quotation, hypothetical prognosis, and an unexplained late bedtime were excluded. A subsequent observation from the same night or case could qualify. A causal restatement alone did not add an observation. Table 2 gives the primary reading assigned to each retained segment.

Table 2. How expressions were read in context

Primary description

Inclusion rule

Boundary or example

Absent or delayed sleep

Sleep fails, or comes only after a narrated delay.

鸡鸣方寐, sleep came only at cockcrow.

Short or unsettled sleep

Sleep is brief, shallow, uneasy, or explicitly reduced.

少寐, little sleep. Voluntary short naps were excluded.

Broken sleep

Sleep is interrupted or cannot be resumed after an awakening.

一钟醒,不成寐, woke at one and could not sleep again.

Disturbed dreaming

Dream experience is frightening, sorrowful, or persistently troubling.

An auspicious or untroubling dream alone was excluded.

Propensity to sleep or lie down

Sleepiness or an urge to lie down is presented as part of illness or disabling fatigue.

嗜卧 retains its postural ambiguity. Unconsciousness was excluded.

Sleep and food jointly impaired

A single predicate governs sleeping and eating, leaving the sleep change unspecified.

寝食俱废, both sleep and eating had broken down.

Each segment received one primary description according to the event that organized it. An explicit disruptive awakening took precedence over subsequent wakefulness when both appeared in the same sentence. Source voice was assessed independently. A named or grammatically identified patient answer, an account introduced by 自述 or a written report, a third-party report, and a practitioner’s own illness each received a separate code. A case narrative with no attributed speaker remained in the clinical-narration category.

2.4 Statistical analysis and checks on retrieval

The principal comparison used all retained segments within each genre. A Chinese character was counted if its Unicode value lay between U+3400 and U+9FFF. For each of six contextual vocabularies, a segment contributed at most one match. A printed “night” alone did not qualify as a division of the night. Examples of eligible markers include the fifth watch, cockcrow, and a numbered clock hour. The time marker could refer to a nearby event in the same segment. The analysis therefore measures proximity in writing, without assuming every marker names the moment sleep failed.

The main effect measure was the diary percentage minus the casebook percentage, in percentage points (pp). Source-level sensitivity analyses gave each contributing source equal weight and removed each source in turn. Length standardization weighted the within-stratum differences for segments of <20, 20–39, and ≥40 characters by their shares of the combined 169 segments. A separate calculation used the pooled Ming and Qing shares. The two adjustments were made separately because several joint strata were sparse.

A further check removed the two most ambiguous primary forms, the propensity to lie down and the combined sleep-and-food formula. Another confined the medical side to clinical narration without an attributed patient or intermediary. Source choice was purposive and individuals sometimes recur across segments. Inference rests on the size and stability of the observed contrasts. The selection design provides no probability basis for population confidence intervals or significance tests.

To check the search boundary, a deterministic hash sample selected 40 of 576 unmatched diary segments and 40 of 196 unmatched casebook segments containing a broader cue for dreams, lying down, waking, pillows, snoring, eyelids, dizziness, or fatigue. None of the 80 clearly met the inclusion rule. One diarist wrote 醒甚早 (“woke very early”) and then read in bed, without reporting disruption. Several case histories described breathlessness that prevented reclining. This small audit concerns only the cue-bearing remainder. Recall across all prose is unknown.

3 Results

3.1 An inability to sleep was shared across genres

Figure 1 traces the review that retained 80 of 400 diary candidates (20.0%) and 89 of 283 casebook candidates (31.4%). Absent or delayed sleep accounted for 49/80 (61.3%) and 45/89 (50.6%), respectively. Broken sleep accounted for 9/80 (11.3%) and 3/89 (3.4%). The formula coupling impaired sleep and eating was more prominent in the casebooks (13/89, 14.6%) than in the diaries (2/80, 2.5%). Figure 2 gives the contribution of each writer. A pooled count hides its concentration in Sun Yikui’s and Cheng Wenyou’s collections, as Figure 3 shows.

Figure 1. Selection of sleep-related segments in the two genres

Article illustration 1

Band width represents segment count on the same scale in both genres. Percentages use the number of candidates in each genre as the denominator.

Figure 2. Contribution of each source to the retained corpus

Article illustration 2

Rectangle area is proportional to the number of retained segments. Yang Yiqing and Fang Xiangying each contributed zero eligible segments. Their textual exposure is included in Table 1.

The two largest sources together account for 96 of the 169 retained segments (56.8%). This concentration motivated the source-weighting and omission analyses in Section 3.4.

Figure 3. Primary descriptions of sleep disturbance by source

Article illustration 3

Numbers are retained segments. Shading gives the fraction within each row, separately colored for diaries (teal) and casebooks (rust). A dash denotes a source with no eligible segment. The six columns are mutually exclusive.

3.2 Similar complaints could take different verbal forms

The character 寐 occurred in 34 diary segments and 16 casebook segments. The longer construction 不成寐 (“sleep would not come”) appeared in 13 diary segments and no casebook segment. Yet the shorter 不寐 occurred in both genres and was more frequent in the casebooks. The modern search term 失眠 found only two eligible segments, both in Yun Yuding. An index built on that term alone would recover 2/169 (1.2%) of the material identified here.

Table 3. Sleep vocabulary in retained segments

Character

Diary

Casebook

Exact expression

Diary

Casebook

寐

34

16

不寐

6

11

眠

26

5

不成寐

13

0

睡

18

32

不能寐

5

0

寝 / 寢

4

20

不得眠

1

4

卧 / 臥

4

21

不能睡

0

11

梦 / 夢

9

5

失眠

2

0

Diary denominator 80, casebook denominator 89. Each cell counts segments containing the printed form at least once. Columns on the two sides overlap. A zero applies only to these selected passages.

3.3 The night as a sequence and the complaint as part of a history

Diarists localized events within the night in 26/80 segments, compared with 6/89 medical segments. Yun Yuding described waking repeatedly in the fifth watch, the affairs that crowded his thoughts, the effort of calming himself, and the eventual return of sleep (text 118579). A single sentence preserves the sequence. A label for waking would capture its beginning but lose the work involved in getting back to sleep.

Figure 4. Contextual wording within the symptom-bearing segment

Article illustration 4

Teal circles denote diary self-reports (n = 80), rust diamonds casebook segments (n = 89). Right columns show count (%). Each row is an independent lexical search. Categories may overlap.

Pain or cough wording occurred in 47 medical segments and two diary segments. Appetite or food terms occurred in 43 and three. This proximity sometimes gives the relation directly. Sun Yikui’s 咳嗽不能睡 states that a cough prevented sleep (record 114475). Elsewhere, sleep appears between signs whose causal relation must remain open. A list including poor sleep and limited food intake records their coexistence. It does not show which arose first.

The distinction is partly a matter of textual scale. The median retained diary segment was 13.5 Chinese characters (interquartile range 10–21), compared with 32 (24–42) in the casebooks. A long clinical sentence offers more room for a pulse, a cough, and a dietary observation. Even within the fixed length strata, the standardized difference for pain or cough was −44.3 pp, compared with −50.3 pp before adjustment. Figures 5 and 6 show the underlying lengths and the extent to which bodily terms appear together.

The zero in the medical column for the worry vocabulary requires particular care. In Sun’s account of Ding Yaochuan’s mother, the presenting description associates all-night wakefulness with bleeding, swelling, and anger. The practitioner later invokes worry and insufficient heart blood to explain it (114283). The latter sentence belongs to interpretation and falls outside the symptom denominator. A search that merged presentation with interpretation would ascribe the physician’s explanation to the patient.

Figure 5. Length of individual symptom-bearing segments

Article illustration 5

Each dot is one segment. Dots stack at the same character count. The bar spans the interquartile range (IQR) and the open diamond marks the median. Character counts follow Section 2.4.

Figure 6. Combinations of three bodily vocabularies within a segment

Article illustration 6

Filled dots identify the vocabularies present in each column. The leftmost column has none of the three. Each segment enters exactly one column. Bars show counts within the diary and casebook groups.

Of the 89 casebook segments, 22 contained pain or cough wording together with eating or appetite wording and no pulse or tongue term. A further five contained all three. Across all combinations, 36/89 medical segments and 0/80 diary segments carried at least two vocabularies. These counts locate terms close together in the text. The relationship between the reported symptoms still requires reading the passage.

3.4 Which differences survived changes to the comparison?

Two writers supplied over half the retained segments in their respective genres. Yun Yuding supplied 46/80 diary segments (57.5%) and Sun Yikui supplied 50/89 medical segments (56.2%). Across the twelve analyses omitting one source at a time, the diary excess for within-night timing ranged from 23.8 to 37.4 pp. The casebook excess for pain or cough ranged from 30.8 to 55.0 pp. Excluding attributed medical speech slightly widened the latter difference. Figure 7 compares weighting schemes and eligibility rules. Figure 8 gives the range of single-source omissions for each vocabulary.

Figure 7. Sensitivity of the genre difference to weighting and eligibility

Article illustration 7

Cells show diary minus casebook, in percentage points. Teal indicates a higher diary share and rust a higher casebook share. ¹ Direct standardization to the pooled length or dynasty distribution. ² Omits joint sleep-and-food and sleep/recumbency propensity codes. ³ Includes diarists and unmarked clinical narration only.

The whole-night comparison was sensitive to who received the most weight. It fell from +13.4 pp in the pooled analysis to +0.8 pp when each source with at least one eligible segment carried equal weight. In contrast, the within-night timing difference increased from +25.8 to +47.8 pp. Small diary groups contribute disproportionately under equal weighting, including one with a single eligible passage. The analysis supports a difference in locating events within a night more clearly than a difference in claiming to have lost an entire night.

The dynastic composition also differed. Of the diary segments, 11 were Ming and 69 Qing. Of the casebook segments, 67 were Ming and 22 Qing. Within-night timing appeared in 5/11 versus 6/67 Ming segments and in 21/69 versus 0/22 Qing segments. The direction therefore persists within each dynasty. The few Ming diary writers and Qing medical collections preclude separating period, region, occupation, and personal style into independent historical effects.

Figure 8. Effect of omitting individual sources on each genre difference

Article illustration 8

Small dots show the 12 estimates obtained by omitting one source at a time. Some estimates coincide. Each diamond gives the full-corpus value. Lines span the observed minimum and maximum and describe sensitivity to source selection.

3.5 Patient speech inside the clinical record

Of 89 medical segments, 78 had no separately identified speaker. Four segments contained a patient’s direct speech and two an attributed oral or written account. Three conveyed a third party’s report, one left the informant unidentified, and one concerned a practitioner’s own illness. The four direct-speech segments represent three exchanges, because two successive sentences record one answer in Sun Yikui. Table 4 shows what attribution changes in a reading of the Chinese. Figure 9 shows the relative frequency of each voice code.

Figure 9. Attribution of the symptom account in the casebooks

Article illustration 9

Each tile represents one retained casebook segment. Letters distinguish the five less frequent categories. The six tiles marked A or B carry an explicit patient answer or an attributed patient account.

Table 4. Who spoke, who wrote, and what the wording preserves

Source and locus

Historical wording and English rendering

Reading

Liu E, Renyin diary, fifth lunar month, day six¹ (118111)

一钟醒,不成寐,拟看日出。
“I woke at one, could not get back to sleep, and thought of watching the sunrise.”

The prospect of sunrise follows the failed return to sleep. The diarist supplies both the hour and the sequence.

Wang Ji, Shishan yi’an, middle juan, “Spitting blood” (118850)

夜卧不安,四肢无力而已。
“At night I get no ease in bed. My limbs have no strength. That is all.”

A reply to “What troubles you most?” sets the patient’s priorities beside the physician’s subsequent discussion of the pulse.

Sun Yikui, Sun Wenyuan yi’an, juan 2, eye complaint (114381)

迩来甚苦于睡,才合目即梦魇可畏。
“Lately sleep has been a torment. As soon as I close my eyes, the nightmares terrify me.”

The complaint emerges when the physician asks about sleep in an eye case. The next sentence records sudden waking, sweat, and weakness.

Cheng Wenyou, Cheng Xingxuan yi’an, first collection, case of Bao Juesheng (115087)

自述数月来通宵不寐 … 平时作文颇敏,今则只字难书。
“He related that for months he had lain awake all night … Usually quick at composition, he now struggled to write a single character.”

The writer identifies Bao as the source. A loss of literary capacity shows what the illness prevented this particular patient from doing.

Translations follow the local witnesses. Ellipsis marks a deliberate omission. Parentheses give database record identifiers. ¹ The corresponding diary day is printed as June 11 in the transcription. Parallel electronic texts are listed for Liu and Cheng.1,8

Bao Guixing later wrote a preface for Cheng’s collection. An independent study traces their relationship beyond this consultation.9 The attribution 自述 (“he himself related”) matters twice over. It identifies the reported experience, yet the passage also belongs to a book through which patient and physician helped establish one another’s public standing. Even explicitly introduced testimony has a history of selection and transmission.

4 Discussion

4.1 What the two forms of writing made visible

The diary’s advantage for the historian of sleep lies in its ability to continue after a person wakes. Liu E’s note on a disturbance next door says that the noise broke his sleep and that he felt out of sorts the next day (118110). In another entry a telephone wakes him, after which sleep will not return. The first account carries the consequence across a date boundary. The second identifies a sound within the home. In both, a reader can recover a sequence even though no disease is named.

In a casebook, the words surrounding sleep may instead define the problem a physician needs to solve. In Sun Yikui’s account of a high official’s difficulty passing urine, repeated handling of a chamber pot keeps the man awake (114407). The physician subsequently reasons that the patient dares not sleep because he remains on guard against leakage. Summarizing the case as a conjunction of urinary symptoms and sleeplessness would lose the distinction between interrupted rest, vigilance, and the practitioner’s causal interpretation.

The boundary between genres is permeable. Yun Yuding attributed palpitations, noises in his ears, and all-night wakefulness to depletion of “heart blood” (118580). His diary preserved a medical explanation alongside a comparison of his heartbeat to pounding rice. Conversely, the eye patient in Sun’s book reported terrifying images in detail. These passages explain why the quantitative results concern relative emphasis. The genres give access to overlapping ways of knowing a body.

4.2 Implications for translation and historical case indexing

A translation should preserve the order of events before assigning a symptom label. In 一钟醒,不成寐, “could not get back to sleep” is justified because 醒 explicitly precedes the phrase. Where a record says only 不寐, “could not sleep” leaves onset and maintenance open. The distinction matters for comparative research. A translation that supplies “difficulty falling asleep” in both cases manufactures agreement that the Chinese does not establish.

A historical case index could link each Chinese phrase and its locator to the person experiencing the disturbance, the person reporting it, and the adjoining event or bodily change. For Bao, this would make loss of writing capacity retrievable alongside wakefulness and digestive complaints. For Wang Ji’s patient it would preserve the question that elicited the answer. A search interface could then return all accounts of troubled sleep while allowing readers to distinguish quoted answers, relayed reports, and the practitioner’s reasoning.

4.3 Limits of the comparison

The corpus is weighted toward literate men as writers. Women appear in medical cases, but their access to the written record often depends on a physician, relative, or messenger. A short segment with no speech marker may still convey information originally supplied by a patient. Consequently, the six explicitly attributed segments give a lower bound for visible attribution under this coding rule. They give no estimate of how often patients spoke in consultations.

Digitization introduces further asymmetries. Punctuation and line breaks govern where one segment ends and another begins. Character normalization cannot recover a missing passage, an unrecognized graph, or an unmarked change of speaker. The corpus register specifies digital witnesses and selected sections. It does not establish an edition genealogy or resolve all variants against facsimiles. Nor does the targeted audit of unmatched phrases test complaints expressed entirely without a sleep-related cue.

The categories serve a historical comparison. 嗜卧 may signify an urge to remain recumbent, and 寝食俱废 leaves the condition of sleep partly unspecified. The sensitivity analysis quantifies the effect of excluding both. Attributions and translations received a single AI-assisted reading without independent human double coding. Re-examining the discordant or ambiguous readings against manuscript or early printed witnesses would strengthen an editorial edition of this corpus.

5 Conclusion

Both diaries and case histories repeatedly describe an inability to sleep. They differ most clearly in the evidence they attach to it. The hour of waking, the attempt to resume sleep, and the next day’s fatigue can survive in a diary. A cough, a change in appetite, or a patient’s reply to a question can give the same complaint its place in a case history. Reading the speaker together with this surrounding evidence permits a more exact account of troubled sleep in late imperial China.

Research materials and disclosures

Data availability. Table 1 and Appendix A identify the source selections. The original Word file includes a structured supplement with candidate locators, inclusion decisions, symptom and voice codes, lexical rules, and audit observations. Its contents can be extracted without the source databases. Repeating the full-text search requires access to the specified local transcriptions.

Ethical scope. The research used historical writings. No living participants or modern clinical records were included. Use of AI. An AI assistant performed retrieval, initial contextual coding, statistical programming, translation, and manuscript drafting. Independent human validation of coding and translations has not been performed.

References

1. Liu E. Baocan shouque zhai renyin riji [Diary of the Renyin year]. 1902. Chinese Text Project, electronic transcription. Source

2. Xu Hongzu. Xu Xiake youji [Travel diaries of Xu Xiake]. You Tiantai shan riji [Diary of a journey to Mount Tiantai]. Ming dynasty. Chinese Text Project, electronic transcription. Source

3. Liu YX, Liu XY. Investigation on differentiation and treatment of insomnia syndrome in Ming and Qing Dynasties. Shanghai Journal of Traditional Chinese Medicine. 2017;51(8):43–46. Source

4. Furth C, Zeitlin JT, Hsiung PC, editors. Thinking with Cases: Specialist Knowledge in Chinese Cultural History. Honolulu: University of Hawaiʻi Press; 2007. Source

5. Wang FS. Moral diaries and late Ming and early Ch’ing intellectuals. Bulletin of the Institute of History and Philology, Academia Sinica. 1998;69(2):245–294. Source

6. Goossaert V. Diaries as a window on the private religious lives of late imperial Chinese literati: two nineteenth-century case studies. Quotidiana. 2025;1. doi:10.30687/QU/0122-2244/2025/01/003. Source

7. Zhang B. Regional difference of scholars’ health-seeking behavior of the Qing dynasty as seen in diary. Zhonghua Yi Shi Za Zhi. 2014;44(1):23–27. PMID:24774891. Source

8. Cheng Wenyou. Cheng Xingxuan yi’an [Medical cases of Cheng Xingxuan]. Chuji [First collection]. Qing dynasty. Chinese Text Project, electronic transcription. Source

9. Zhang H. Renowned scholar versus famous doctor: research on communications between Bao Guixing and Cheng Wenyou. Chinese Medical Culture. 2023;18(4):355–362. doi:10.16307/j.1673-6281.2023.04.007. Source

Electronic primary texts in the references are comparison witnesses. All quantitative results use the archived texts specified in Table 1 and Appendix A.

Appendix A Source boundaries and replication

Table A1. Primary digital witnesses and section limits

Source group

Table and column

Identifier or text boundary

Wu Yubi

texts.body

163654 after the heading 日 录

Xu Xiake

texts.body

133775–133795, with material enclosed by triple brackets removed

Yang Yiqing

texts.body

118854

Fang Xiangying

texts.body

117323

Jiang Shizhe

texts.body

229963–229966, diary volumes only

Liu E

texts.body

118110 and 118111

Xu Zhaowei

texts.body

118358

Yun Yuding

texts.body

118577–118580

Wang Ji

docs.content

118831–118888, restricted to the named book

Sun Yikui

docs.content

Chapters beginning 卷 in the named book

Xu Dachun

docs.content

119071–119135 in the named book, up to the first 雄按 per record

Cheng Wenyou

docs.content

Chapters beginning 初集_ or 续录_ in the named book

Structured supplement

The file customXml/sleepStudy.xml inside the original .docx package contains one row per candidate, its source ID, a zero-based character offset in the cleaned text, the Chinese segment, and the inclusion decision. Included rows also carry the primary symptom, voice, and matched contextual features. The manifest gives character counts and SHA-256 checksums for the cleaned source blocks. A separate section contains the 80 additional passages checked in the retrieval audit.

To inspect the supplement, open a copy of the Word file as a ZIP archive and extract the XML. To reproduce Figure 3, group included rows by source and primary description. For Figure 4, divide the number of included rows carrying each feature by 80 or 89. For the pooled column of Figure 7, subtract the clinical proportion from the diary proportion and multiply by 100. Exact lexical patterns are recorded in the supplement, including exclusions for figurative uses of 痛 such as 痛哭 (“weep bitterly”). Figures 1 and 2 use counts by inclusion and source. Figure 5 uses character counts for each retained segment. Figure 6 groups segments by their exact combination of three feature flags. Figure 8 repeats the genre difference after each source omission, and Figure 9 counts the voice codes in the medical group.

A source block is a storage unit. One chapter can contain several patients, and consecutive segments can belong to the same narrative. The audit retains segment identifiers so that future editors can link observations into episodes or revise a reading without changing the original text.