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

Diachronic Evolution of the Banxia Xiexin Tang Formula Pattern and Its Correspondence with Contemporary Outpatient Prescriptions

Dongfei LinTCM Discovery · 页码 23–37
文内目录
Abstract Introduction Materials and methods Coverage of the historical and outpatient sources Text extraction and prescription reconstruction Statistical analysis Historical results Transmission of the formula pattern Historical witnesses and symptom combinations Correspondence at the ingredient level Ingredient combinations within reconstructed sessions Correspondence at the encounter level Sensitivity analyses and competing formulas Diagnostic overlap and repeat encounters Discussion Limitations and conclusions References Appendix Retrieval and coding specification

Abstract

Objective. Which features of the Banxia Xiexin Tang formula pattern survived textual transmission, and how specifically can those features identify a contemporary outpatient prescription?

Methods. A historical corpus study was paired with a retrospective analysis of verified oral herbal orders from rheumatology clinics. Formula entries were counted by book, with close reading across seven periods. Outpatient ingredients were grouped by encounter, prescriber, department, route, date and time. Seven-ingredient matches containing ginseng were distinguished from matches containing Codonopsis in its place. Diagnoses were linked within encounters.

Results. Among 397 entries in 178 works, 162 works supplied indication text. Epigastric or other “pi” (focal blockage or fullness) terminology appeared in 133/162 (82.1%). Sources preserved the distinction between painless fullness and painful hardness while documenting other settings, including bowel disturbance and summerheat illness. From July 2024 to October 2025, 27,032 outpatient encounters yielded three matches containing ginseng and 69 additional matches containing Codonopsis. All 72 included other ingredients. A mixed cold–heat diagnosis occurred in 9/72 (12.5%) versus 39/593 (6.6%) encounters with the Pinellia–Scutellaria–Coptis triad but an incomplete core. The difference was 5.9 percentage points (95% patient-cluster bootstrap interval, −2.8 to 17.1). Forty-four of the 72 encounters carried a Huhuo or Behçet-related diagnosis. The received Jin Gui Yao Lue assigns the same seven ingredient identities to Gancao Xiexin Tang in a Huhuo passage.

Conclusions. The textual record preserves a recognizable diagnostic distinction while showing considerable flexibility in composition. In specialty practice, even seven matching ingredients leave the intended formula unresolved. Formula attribution requires the clinician’s stated indication, the competing Xiexin formulas and the quantities ordered.

Keywords Banxia Xiexin Tang · formula pattern · historical corpus · herbal prescriptions · rheumatology · routinely collected health data

Introduction

In the received Shang Han Lun, an initially plausible prescription changes after purgation. The decisive observation is the character of the epigastric finding. Hardness with pain directs the reader to a different formula, whereas fullness without pain points to Banxia Xiexin Tang. In the Jin Gui Yao Lue, vomiting and audible bowel sounds accompany the same focal fullness. These two passages offer distinct ways of recognizing a patient for whom the formula might be considered.1,2

A previous historical survey identified 399 records across 238 works and classified 341 of 352 records with indications under pi. Its results establish the breadth of the textual tradition.3 A different problem arises when a contemporary database contains herb orders and disease labels but omits the physician’s chosen formula name. Functional dyspepsia provides a modern vocabulary for meal-related fullness and early satiation.4 Trials of Banxia Xiexin Tang and its modifications have selected patients by dyspepsia, mixed cold–heat, or excess-pattern criteria.5–7 These choices define different populations.

This study asks which diagnostic features recur across transmitted works, how often outpatient orders reproduce the reference ingredients, and which recorded syndromes accompany those combinations. Rheumatology offers a particularly demanding setting for this comparison. Overlap with another Xiexin formula could produce a convincing ingredient match even where the clinical rationale differs.

Materials and methods

Sources and units of analysis

The historical source was the GJSY structured Chinese medical formula archive. The clinical source was the raw outpatient SQLite archive of a case-management platform. Only outpatient order, diagnosis, complaint and demographic tables were linked. Each source was analysed at its own level (Table 1). Selection and linkage rules follow the reporting principles for routinely collected health data.8

Table 1. Source populations and analytic denominators

Source

Selection

Unit carried into analysis

GJSY formula archive

841,956 indexed entries → 397 exact-name entries

178 work titles, including 162 with usable indications and 132 with composition text

Outpatient herbal orders

2,216,871 decoction-piece lines → 1,053,813 verified → 1,046,614 eligible oral lines

27,338 reconstructed ordering sessions in 27,032 encounters, 11,402 registration identifiers

Clinical documentation

Exact registration and encounter pair, restricted to eligible encounters

27,028 encounters with a diagnosis and 7,151 with a usable chief complaint

Counts are from the source tables. A line is one archived order row. An ordering session is an analytic reconstruction of related rows.

Coverage of the historical and outpatient sources

Indications and compositions were recorded unevenly across works (Figure 1). In the outpatient archive, the largest exclusion concerned orders with missing status. The smaller route restriction applied only after verification (Figure 2).

Figure 1. Joint availability of indication and composition fields in the 178 works

Figure 1. Joint availability of indication and composition fields in the 178 works

Rectangle area represents the number of works in each category. A work qualifies if at least one exact-name entry supplies the field. In the 118 works with both fields, the two fields could come from different entries. Sixteen works lack usable indication text, including 14 that still supply composition text.

Figure 2. Outpatient herbal order lines retained after status and route selection

Figure 2. Outpatient herbal order lines retained after status and route selection

The Sankey diagram follows order lines throughout. Of 2,216,871 lines, 47.5% were verified. The five oral routes retained 99.3% of verified lines. Grouping these retained lines by encounter and ordering time produced the sessions used in subsequent analyses (Table 1).

Text extraction and prescription reconstruction

Historical sampling and interpretation

Formula names were matched in full after trimming spaces. The query allowed traditional characters, the xie spelling variant, the attribution Zhongjing and the terminal word fang. Modified and combined names were counted separately. Within each book, punctuation and spacing were removed and identical indication strings were counted once. Empty strings and the standalone marker wu (“none”) were treated as missing. Each book contributed at most one observation per motif. The lexicon is given in the Appendix. A hit describes language in a field, including quotations and differential diagnoses.

Twenty-four works were selected purposively across seven historical strata to include received classics, formularies, commentaries and case writing. Broad periods refer to the works represented in the archive. They do not date the surviving digital witnesses. The archive assigns Shang Han Lun Yi, a later commentary, to 206 CE. Such discrepancies precluded treating its dates as a continuous timeline. The full-corpus counts include all eligible titles regardless of their dates. Distinct titles can transmit the same passage.

Clinical reconstruction

The extract retained verified orders in the decoction-piece category with an eligible oral route. Orders marked stopped (105,570), orders with no status (1,057,488), and verified orders outside the five included routes (7,199) were excluded. The eligible order dates covered 1 July 2024 to 31 October 2025. All departmental labels designated rheumatology outpatient services. Packaging, dose suffixes and granule markers were removed before name matching. Fresh ginger and dried ginger remained distinct.

Orders sharing an encounter, prescriber, department, route and calendar day formed a session until the gap between successive timestamps exceeded 30 minutes. Repeated ingredient labels were collapsed within sessions. Encounters were assigned their highest observed category in Table 2. Clinical evidence was assessed independently of the ingredient classification.

Table 2. Mutually exclusive categories of ingredient correspondence

Category

Requirement in a single ordering session

Ginseng complete

Pinellia, Scutellaria, Coptis, dried ginger, licorice, jujube and ginseng. Additional ingredients allowed.

Codonopsis complete

The same six non-ginseng ingredients plus Codonopsis, with ginseng absent.

Triad incomplete

All three of Pinellia, Scutellaria and Coptis, with neither complete set present.

No triad

At least one of the three triad ingredients absent. This category can include other reference ingredients.

“Complete” pools the first two categories only where explicitly indicated. Codonopsis was analysed as a separate compositional hypothesis. Its clinical interchangeability with ginseng was not assumed.

For prescriber standardization, the highest-category session determined the prescriber, with larger session size and later time breaking ties. The first-encounter analysis used the earliest eligible timestamp and encounter identifier as tie-breaker. Ratio analysis required water decoction, one unique product–quantity–unit tuple per ingredient and positive quantities in grams. No conversions from packet counts or extract strengths were made.

Statistical analysis

Historical proportions used the number of works with usable text in the relevant field. Historical strata were treated descriptively because the books were selected and passages were often copied. Differences between period percentages were not used to infer a rate of historical change. Selected passages were read in context to distinguish repetition, reinterpretation and explicit ingredient modification.

The contemporary estimands were the proportion of eligible encounters with each ingredient set and the proportion carrying an exact mixed cold–heat diagnosis within each set. Differences in diagnosis frequency were expressed in percentage points. For exploratory 95% percentile intervals, registration identifiers were sampled with replacement 2,000 times, retaining all their eligible encounters with a diagnosis (NumPy, seed 20261201). The contrasts were descriptive, with no multiplicity adjustment. Sensitivity analyses varied the ordering interval, retained only the first eligible encounter per registration and standardized the incomplete-triad group to the prescriber distribution of the complete group.

Historical results

Of 397 exact-name entries, 334 supplied usable indication text. Deduplication within book yielded 327 book–text pairs and 270 distinct wordings across books. Pi appeared in 133 of 162 informative works, explicit absence of pain in 84 (51.9%), emesis in 74 (45.7%) and bowel sounds in 36 (22.2%). Loose-stool or dysentery vocabulary appeared in 19 (11.7%). The narrow mixed cold–heat lexicon matched one work. Later accounts could explain cold and heat at length using different words.

Figure 3. Indication vocabulary in the historical corpus

Figure 3. Indication vocabulary in the historical corpus

Each cell gives works with a motif / works with usable indications. Darker cells indicate larger within-row proportions. The first seven rows are the purposive series. The final row covers the entire eligible corpus, including the series. A zero records a lexical result.

Transmission of the formula pattern

The two received classics collectively contain the painless-fullness distinction and the vomiting–bowel-sound cluster. In the Tang works, the phraseology of fullness persists while a named recipe admits a different seventh ingredient. The Yuan Wei Sheng Bao Jian retains painless fullness in its indication field while the term pi appears only in the chapter heading (#404326). The Qing sample contains emesis terms in all five works, but combines older quotations with newly narrated cases. The examples in Table 3 show how these differences arise.

Table 3. Changes in what a named formula entry conveys

Historical witness

Reading of the passage

Consequence for identification

Received classics
Shang Han Lun, §149
Jin Gui Yao Lue, ch. 17

Painless epigastric fullness separates pi from painful, hard binding. A second passage links pi with vomiting and bowel sounds.

A discriminating negative finding and a positive symptom cluster offer two distinct clinical descriptions.

Tang formulary
Wai Tai Mi Yao
#497648

An entry on upper-burner deficiency-cold, bowel sounds, loose stools and epigastric hardness lists gui xin (cinnamon) and omits jujube.

An unchanged name can accompany a different prescription. A seven-slot rule requiring jujube misses this witness.

Medieval commentary
Shang Han Ming Li Lun
#174887

Cheng Wuji explains the role of bitter and acrid tastes and the restoration of communication between upper and lower regions.

A theory of how ingredients address pi supplements the bedside description.

Ming formulary
Zheng Zhi Zhun Sheng, Lei Fang
#66672

In the chapter on pi, the entry again sets fullness without pain against painful binding.

Continuity is demonstrable at the level of wording. Repetition gives no count of treated patients.

Qing case writing
Lin Zheng Zhi Nan Yi An
#725645

A summerheat case explicitly removes licorice and dried ginger and adds apricot kernel and immature bitter orange.

A prescription can depart from the seven ingredients while the writer explicitly retains its lineage.

Republican-era essays
Zhongguo Yiyao Lunwen Ji
#7743

The passage describes an obstructed sensation in the epigastrium and discusses possible early gastric cancer.

Disease terminology enters the argument. The historical author’s assertion provides no verified cancer diagnosis or outcome.

Numbers prefixed by # are local formula record identifiers. The interpretations are based on the indication, composition and adjacent source passage. Classical and later witnesses are identified in references 1, 2 and 9–12.

The late tradition did not simply discard the original distinction. Lei Zheng Zhi Cai reproduces the earlier vomiting, bowel-sound and pi cluster (#414975), yet also gives a context of anger, epigastric pain, hiccup and chest blockage (#418213).13 The two entries in one work show why a single date or disease label obscures the actual historical change. Authors kept an inherited description available while using the name in a broader differential diagnosis.

Across the full archive, 51 additional headings in 25 works explicitly signalled addition, omission, reduction or combination under the search rules. These figures describe indexed headings. The same change may recur in several texts, and a modification embedded in prose can escape a heading search.

Historical witnesses and symptom combinations

Individual witnesses show how a formula name could travel with a clinical distinction, an explanation or a modified recipe (Figure 4). Counting which motifs occur in the same indication text provides a separate test of how often two elements were recorded together (Figure 5).

Figure 4. Selected witnesses to changes in the meaning of the formula pattern

Figure 4. Selected witnesses to changes in the meaning of the formula pattern

Each stop identifies one work from the 24-work chronological series in Table A1. The Tang example is entry #497648, the Yuan example #404326 and the Qing example #725645. Intervals are schematic. Each description applies to the cited witness.

Figure 5. Co-occurrence of motifs within historical indications

Figure 5. Co-occurrence of motifs within historical indications

Nodes report the number of book–text pairs containing a motif. Line width scales with the count of pairs containing both motifs. The six links with at least 14 co-mentions are shown. Of 115 texts mentioning absence of pain, 104 (90.4%) also contained pi. ¹The loose-stool category includes dysentery terms.

Correspondence at the ingredient level

Composition fields were present in 166/397 entries, representing 132 books. Ninety-six of those books (72.7%) contained at least one composition field mentioning all seven reference ingredients. Individual ingredients were more widely attested (Figure 6). An omitted name could reflect an abbreviated recipe, an ingredient added during preparation, or an actual change. For example, the San Yin formulary directs the reader to use jujube in decoction after its main list (#405896).

Figure 6. Historical ingredient mentions and contemporary co-ordering

Figure 6. Historical ingredient mentions and contemporary co-ordering

Left, works mentioning an ingredient in any composition field. Right, sessions with each ingredient among the 667 containing the triad. The first three clinical bars are fixed by selection. Percentages describe different denominators and cannot estimate change over time. Counts retain the distinction between ginseng and Codonopsis.

The 27,338 eligible sessions included 667 (2.44%) with all three triad ingredients. Of these, 16 included ginseng and 420 included Codonopsis. Requiring the other reference ingredients yielded only three ginseng-complete and 69 Codonopsis-complete sessions. In the entire encounter cohort, the respective frequencies were 3/27,032 (0.011%) and 69/27,032 (0.255%). Complete sessions included a median of 16 distinct normalized order labels in each of the two categories. All 72 contained at least two additional non-core labels.

Figure 7. The most frequent accompanying ingredients

Figure 7. The most frequent accompanying ingredients

Bars show counts of complete sessions with each additional normalized ingredient name. A session can contribute to several bars. Dang gui (Chinese angelica root) occurred in half of the sessions. The occurrence of these companions cannot identify a clinician’s intended modification.

Ingredient combinations within reconstructed sessions

The most frequent triad-containing combination included dried ginger, licorice and Codonopsis but lacked both jujube and ginseng (270/667, 40.5%). The intersection matrix locates this combination alongside the two complete sets (Figure 8). Even when a core was complete, several additional ingredients were usually ordered (Figure 9).

Figure 8. Exact combinations of five further ingredients in 667 triad-containing sessions

Figure 8. Exact combinations of five further ingredients in 667 triad-containing sessions

Each column is one mutually exclusive combination. A filled dot marks an ingredient present and a pale dot marks its absence. All sessions already contained Pinellia, Scutellaria and Coptis. Counts above the columns sum to 667. Other herbs could be present in any column. The two complete columns account for 69 Codonopsis and three ginseng sessions.

Figure 9. Number of additional ingredients accompanying a complete core

Figure 9. Number of additional ingredients accompanying a complete core

At each threshold, the curve gives the fraction of the 72 complete sessions with at most that many distinct additional normalized labels. Thirty-eight sessions had eight or fewer and 57 had nine or fewer. The median was eight, and the observed range was two to sixteen. The eight reference and candidate ingredient families were excluded from the additional-label count.

Correspondence at the encounter level

Seventy-two complete encounters belonged to 39 registration identifiers. Eleven of 22 prescribers contributed complete encounters, with 30/72 attributed to one prescriber. Among 72 complete encounters, a diagnosis of Huhuo appeared in 40 and a Behçet-related disease label in 38. The labels overlapped in 34 encounters. Three complete encounters had a pi or gastric-fullness diagnosis. A chief complaint was interpretable in 26, only one of which mentioned pi or upper abdominal fullness.

Table 4. Encounter characteristics by highest ingredient correspondence

Characteristic

No triad

Triad incomplete

Complete

Eligible encounters

26,367

593

72

Age in years, median (IQR)

44 (34–56)

43 (34–53)

35 (27.8–46)

Usable diagnosis

26,363

593

72

Mixed cold–heat diagnosis

896 (3.4%)

39 (6.6%)

9 (12.5%)

Huhuo diagnosis

275 (1.0%)

184 (31.0%)

40 (55.6%)

Behçet-related diagnosis

256 (1.0%)

207 (34.9%)

38 (52.8%)

Either Huhuo or Behçet-related

306 (1.2%)

230 (38.8%)

44 (61.1%)

Rheumatoid arthritis

5,850 (22.2%)

45 (7.6%)

0 (0.0%)

Gastritis or dyspepsia

119 (0.5%)

12 (2.0%)

1 (1.4%)

Pi or gastric-fullness diagnosis

110 (0.4%)

12 (2.0%)

3 (4.2%)

Usable chief complaint

6,981 (26.5%)

144 (24.3%)

26 (36.1%)

Pi / fullness in chief complaint

4 (0.1%)

1 (0.7%)

1 (3.8%)

Diagnosis percentages use encounters with a diagnosis. Complaint mentions use encounters with usable complaints. Rheumatoid arthritis and mixed cold–heat required exact labels. The Huhuo/Behçet comparison was exploratory, prompted by the most frequent diagnoses in complete encounters. IQR, interquartile range.

Figure 10. Encounter-level contrasts in the mixed cold–heat diagnosis

Figure 10. Encounter-level contrasts in the mixed cold–heat diagnosis

Dots are unadjusted differences. Lines are percentile intervals from 2,000 resamples clustered on patient registration. The incomplete group contains the full triad but lacks a complete core. Comparisons share observations and are exploratory.

Searching six narrative fields yielded usable text in 8,836 encounters, including 28 complete encounters. None of the three Xiexin formula-name stems was found. Among the 28 complete encounters with a complaint or history of present illness, one mentioned fullness and none mentioned emesis, bowel sounds or loose stools under the specified lexicons. These counts measure what the record can corroborate. They leave the indication unresolved for most complete encounters.

Sensitivity analyses and competing formulas

Table 5. Effect of timing rules on reconstructed oral herbal orders

Maximum gap

Sessions

Any triad¹

Codonopsis complete¹

Ginseng complete¹

Identical second

198,028

366

1

1

1 minute

28,651

665

69

3

5 minutes

27,570

665

69

3

30 minutes

27,338

665

69

3

Same calendar day

27,252

665

69

3

¹ Counts of encounters among the same 27,032 eligible encounters at every window. All windows retain the same prescriber, department, route and date. A 30-minute rule produced multiple sessions in 297 encounters.

Requiring identical timestamps split many orders into small fragments. From one minute through the full day, all timing rules identified the same number of complete encounters. On the first eligible encounter per registration, the mixed cold–heat diagnosis occurred in 5/29 complete, 19/234 incomplete-triad and 310/11,136 diagnosis-bearing no-triad encounters. After weighting incomplete-triad rates within prescriber to the distribution of complete encounters, the expected frequency was 7.3% versus the observed 12.5% (difference 5.2 points). All 11 prescribers with complete encounters had an incomplete-triad comparator.

A direct check against Gancao Xiexin Tang

In the Jin Gui Yao Lue, the Gancao Xiexin Tang recipe attached to Huhuo (#205239) lists the same seven ingredients as Banxia Xiexin Tang (#205400). The former specifies four liang of licorice to three of dried ginger, the latter three to three.2 In the local Shang Han Lun entry for Gancao Xiexin Tang (#184285), ginseng is absent. The distinction thus depends partly on the textual witness. Shengjiang Xiexin Tang (#184286) adds fresh ginger, which appeared in five of the 72 complete sessions.1

Figure 11. Dose ratios in the two complete categories combined

Figure 11. Dose ratios in the two complete categories combined

The two lines mark the 1:1 and 4:3 classical licorice-to-dried-ginger ratios. Repeated values are stacked, with adjacent columns for taller stacks. Ratios use like units within each recipe and require no conversion from the historical liang to grams.

Fifty of the 72 sessions had a water-decoction route and one unambiguous positive gram quantity per ingredient for this pair. The median ratio was 2.00 (IQR 1.67–2.00). Three matched 1:1, none matched 4:3, and 44 exceeded 4:3. Two of the 50 contained ginseng. Quantities for one pair cannot assign formula identity, but they show how much information ingredient presence alone discards.

Diagnostic overlap and repeat encounters

The diagnostic labels overlap within individual encounters. Of the 44 complete encounters coded for Huhuo or Behçet-related disease, 34 carried both labels (Figure 12). The comparison by registration also shows how the recorded frequency of mixed cold–heat changes when each registration contributes only its first eligible encounter (Figure 13).

Figure 12. Joint diagnostic labels among 72 complete encounters

Figure 12. Joint diagnostic labels among 72 complete encounters

Squares are grouped by the four mutually exclusive label combinations. A ring identifies a concurrent mixed cold–heat diagnosis. One of the 34 encounters with both labels and eight of the 28 with neither label had that diagnosis. Encounters with neither label could have other diagnoses.

Figure 13. Frequency of mixed cold–heat coding under two encounter definitions

Figure 13. Frequency of mixed cold–heat coding under two encounter definitions

¹Change is the first-encounter proportion minus the all-encounter proportion, in percentage points (pp). ²Denominators require a usable diagnosis. In no-triad, incomplete-triad and complete groups respectively, counts were 896/26,363, 39/593 and 9/72 across all encounters, versus 310/11,136, 19/234 and 5/29 at first encounters. Differences are descriptive and the two samples overlap.

Discussion

The most durable feature of Banxia Xiexin Tang across the historical witnesses is a clinical question: when a patient describes obstruction below the heart, how does the practitioner distinguish pi from another form of binding? Later writers preserved the answer about pain and hardness while changing what could accompany the fullness and which ingredients could be removed. This explains two otherwise puzzling observations. A Tang recipe can retain the name despite replacing jujube with cinnamon. Conversely, the Jin Gui Yao Lue can give two names to recipes with the same seven ingredient identities.

What the specialty setting contributes

In rheumatology practice, 44 of the 72 complete encounters carried Huhuo or Behçet-related wording. Only one of those 44 also had an exact mixed cold–heat diagnosis. The Huhuo passage for Gancao Xiexin Tang supplies a concrete competing explanation for this concentration. It does not establish that any individual received that formula. Nor does coding both Huhuo and Behçet disease establish their equivalence. The observation narrows the question for chart review: did the clinician document mucosal disease, epigastric fullness, both, or a different reason for choosing the prescription?

The modern mixed cold–heat label was more frequent in complete than in no-triad encounters, yet the interval for the comparison with incomplete-triad encounters included zero. The choice of comparator changes the interpretation. The first contrast includes the decision to use the triad at all. The second asks whether completing the core adds information once the three shared ingredients are already present. At the current sample size the incremental evidence is imprecise.

Implications for clinical research

An archive-based validation study should retrieve signed prescriptions for all complete matches and a sample of incomplete-triad and no-triad encounters. Reviewers blinded to the ingredient rule could record the intended base formula, whether its name was explicit, and the indication given. Keeping “indeterminate” as an answer would permit estimation of the positive predictive value of each rule and show where adjudication fails. Sampling negative encounters would also capture named modifications that omit a core ingredient.

A prospective form could record where fullness was felt, whether pressure elicited pain, and whether emesis or bowel sounds accompanied it. It could separately capture mucosal symptoms, the working diagnosis, the chosen formula and the reason for each change in dose or ingredient. This would allow a later study to distinguish recurrence of the historical bedside criterion from recurrence of its vocabulary. Explicit reporting of the formulation and its modification is consistent with the CONSORT extension for Chinese herbal medicine formulas.14

Trials illustrate the cost of collapsing these distinctions. Zhao and colleagues found improved dyspepsia symptom scores with a modified formula in patients selected for mixed cold–heat.5 Park and colleagues reported an early-satiety signal in a two-centre study, while Kim and colleagues found no significant between-group difference on the primary dyspepsia index in an excess-pattern sample.6,7 Those findings concern defined interventions, patients and endpoints. They cannot resolve the name or effectiveness of the combinations observed here.

Limitations and conclusions

The historical archive contains indexed excerpts and occasionally inconsistent metadata. Its full holdings, editorial decisions and coverage of lost or undigitized texts cannot be reconstructed. Work-title counting reduces the influence of repeated extracts but retains dependencies between related works. The 24-work chronology is purposive, with small and unequal strata. The figures describe the distribution of wording within this corpus. They do not estimate how often practitioners in each era encountered a symptom. The earlier bibliometric survey’s 96.9% estimate for pi used indication-bearing records and a clinically interpreted category.3 The 82.1% here uses a literal marker at book level. The two estimates answer different questions.

Clinical ingredient clusters were reconstructed from timestamps without a signed prescription identifier. Stability across windows supports reproducibility, although contemporaneous orders can belong to different prescriptions. Excluding over a million status-missing lines selects the verified segment of the archive. The eligible departments were all rheumatology services, which limits inference about gastroenterology and general practice. The Codonopsis rule was an analytic relaxation and accounted for 69 of 72 complete matches. Dose, preparation, manufacturer and indication can still differ under a positive match.

Chief complaints were usable in 7,151/27,032 encounters (26.5%). A brief complaint can omit gastrointestinal findings that a practitioner actually elicited. Lexical matches can also capture a negation or an incidental mention. The encounter-pair demographic join assigned a unique male or female value in only 1,015 encounters, so sex-stratified estimates were not calculated. Recorded age was more complete. Residual confounding by prescriber, case mix, visit frequency and recording practice remains. The study measured neither dispensing nor ingestion, response or adverse events.

Conclusion

Across the historical texts, the distinction between painless fullness and painful hardness remained legible even as writers extended the indications and altered the ingredients. In contemporary rheumatology orders, the strongest ingredient matches were rare, usually involved Codonopsis, and frequently coincided with diagnoses that also invite consideration of Gancao Xiexin Tang. Validating correspondence therefore requires three observations in the same encounter: the findings the clinician acted on, the formula they intended, and the ingredients and quantities they actually ordered.

Declarations

Ethics and data governance. This retrospective analysis reports aggregate findings. The responsible institution’s research-use authorization, ethics-review determination and consent or waiver status require confirmation by the author before submission.

Data availability. The historical sources and record locators are specified in the Appendix. The clinical archive contains confidential records. Access conditions for independent verification are subject to the data custodian’s determination.

Funding and competing interests. Funding, competing interests, institutional affiliation and correspondence details await author confirmation.

References

1. Zhang Zhongjing, attributed author. Shang Han Lun [Treatise on Cold Damage]. Received text. Taiyang disease, lower section, clause 149. GJSY digital corpus, formula records 184280, 184285 and 184286. Chinese.

2. Zhang Zhongjing, attributed author. Jin Gui Yao Lue Fang Lun [Essential Prescriptions of the Golden Coffer]. Received text. Chapters 3 and 17. GJSY digital corpus, formula records 205239 and 205400. Chinese.

3. Li FP, Ge YQ, Zong YJ, Feng HL, Cai YF, Zhang XF. Analysis of Banxia Xiexintang based on ancient literatures. Chin J Exp Tradit Med Formulae. 2020;26(22):164–171. Chinese. doi:10.13422/j.cnki.syfjx.20202085

4. Stanghellini V, Chan FKL, Hasler WL, Malagelada JR, Suzuki H, Tack J, et al. Gastroduodenal disorders. Gastroenterology. 2016;150(6):1380–1392. doi:10.1053/j.gastro.2016.02.011

5. Zhao L, Zhang S, Wang Z, Wang C, Huang S, Shen H, et al. Efficacy of modified Ban Xia Xie Xin decoction on functional dyspepsia of cold and heat in complexity syndrome: a randomized controlled trial. Evid Based Complement Alternat Med. 2013;2013:812143. doi:10.1155/2013/812143

6. Park JW, Ko SJ, Han G, Yeo I, Ryu B, Kim J. The effects of Banha-sasim-tang on dyspeptic symptoms and gastric motility in cases of functional dyspepsia: a randomized, double-blind, placebo-controlled, and two-center trial. Evid Based Complement Alternat Med. 2013;2013:265035. doi:10.1155/2013/265035

7. Kim YH, Kim JY, Kwon OJ, Jung SY, Joung JY, Yang CS, et al. Efficacy of a traditional herbal formula, Banha-Sasim-Tang in functional dyspepsia classified as excess pattern. Front Pharmacol. 2021;12:698887. doi:10.3389/fphar.2021.698887

8. Benchimol EI, Smeeth L, Guttmann A, Harron K, Moher D, Petersen I, et al. The REporting of studies Conducted using Observational Routinely-collected health Data (RECORD) statement. PLoS Med. 2015;12(10):e1001885. doi:10.1371/journal.pmed.1001885

9. Wang Tao, compiler. Wai Tai Mi Yao [Arcane Essentials from the Imperial Library]. Tang period. Upper-burner disorders and bowel sounds. GJSY digital corpus, formula record 497648. Chinese.

10. Cheng Wuji. Shang Han Ming Li Lun [An Explanation of the Principles of Cold Damage]. Jin period. Banxia Xiexin Tang. GJSY digital corpus, formula record 174887. Chinese.

11. Wang Kentang. Zheng Zhi Zhun Sheng, Lei Fang [Standards of Diagnosis and Treatment, Classified Prescriptions]. Ming period. Pi. GJSY digital corpus, formula record 66672. Chinese.

12. Ye Tianshi. Lin Zheng Zhi Nan Yi An [Case Records as a Guide to Clinical Practice]. Qing period. Summerheat cases. GJSY digital corpus, formula record 725645. Chinese.

13. Lin Peiqin. Lei Zheng Zhi Cai [Treatment Decisions Classified by Presentation]. Qing period. Emesis and epigastric pain sections. GJSY digital corpus, formula records 414975 and 418213. Chinese.

14. Cheng CW, Wu TX, Shang HC, Li YP, Altman DG, Moher D, et al. CONSORT extension for Chinese herbal medicine formulas 2017: recommendations, explanation, and elaboration. Ann Intern Med. 2017;167(2):112–121. doi:10.7326/M16-2977

Appendix Retrieval and coding specification

Historical corpus

SQLite source: GJSY, gjsy.formulas.db, table formulas. Full-match expression: ^(?:仲景)?半夏[泻瀉泄]心[汤湯](?:方)?$. Observed labels contributed 385 plain-name records, ten with the suffix 方, one with the prefix 仲景 and one with both. The ancillary modification screen required the formula name as a substring plus 加, 减, 去 or 合 in a heading shorter than 65 characters. Dates were not used to filter the full corpus.

Table A1. Purposive chronological series of works

Stratum

Archive titles (original script for retrieval)

Received classics

伤寒论、金匮要略方论

Tang

千金翼方、外台秘要

Song / Jin

太平圣惠方、圣济总录、注解伤寒论、伤寒明理论、三因极一病证方论

Yuan

医垒元戎、卫生宝鉴

Ming

古今医统大全、医学入门、医方考、伤寒论条辨、证治准绳·类方

Qing

汤头歌诀、金匮要略心典、长沙药解、临证指南医案、类证治裁

Republican era

曹氏伤寒发微、伤寒新义、中国医药论文集

The historical indication lexicon matched the following strings after punctuation removal. Pi: 痞. Absence of pain: 不痛, 无痛. Emesis: 呕, 吐. Bowel sounds: 肠鸣, 腹鸣, 肠中雷鸣, 腹中雷鸣, 肠中鸣, 腹中鸣. Loose stool or dysentery: 下利, 泄泻, 泻利, 便溏, 痢. Mixed cold–heat: 寒热错杂, 冷热不调, 寒热互结, 寒热相杂, 寒热并用. Historical composition strings were searched for 半夏, 黄芩, 黄连, 干姜, 甘草 or 炙草, 大枣 and 人参. Mentions can occur in a comment or omission instruction.

Clinical archive

SQLite source: cases.sqlite3. Orders came from menzhenyizhu, restricted to oe_ord_cate = 中药饮片 and oe_ord_status = 核实. Eligible routes were 水煎服, 水冲服, 浓煎口服, 烊化兑服 and 代茶饮. The native pair (regno, admno) defined an encounter. Ordered items required a nonblank name, prescriber, department, pair and valid timestamp. No eligible oral lines failed these checks. No formula name containing 泻心 or 瀉心 occurred in the outpatient order-name field.

After Unicode NFKC normalization, product labels were truncated at the first parenthesis, digit, 配方颗粒 or 颗粒 marker. Exact roots were matched. Pinellia: 半夏, 姜半夏, 清半夏, 法半夏, 生半夏. Scutellaria: 黄芩, 黄芩片, 酒黄芩. Coptis: 黄连, 黄连片, 酒黄连. Dried ginger: 干姜. Licorice: 甘草, 炙甘草. Jujube: 大枣. Ginseng: 人参, 生晒参, 红参. Codonopsis: 党参, 党参片. Other processing forms were outside these definitions.

Diagnosis names came from menzhenzhenduan.da_diag_name. Exact matches were 寒热错杂证 and 类风湿性关节炎. Substrings were 胃炎 or 消化不良, 痞满 or 胃痞 or 胃脘痞, 狐惑, and 贝赫切特, 白塞, 白赛 or behcet (case insensitive). Huhuo and Behçet labels were also counted as a union. Usable opmr_complain in menzhenmenzhenbingli required at least one Chinese character, Latin letter or digit. Fullness terms were 痞, 胃胀, 胃脘胀, 上腹胀 or 脘胀. A secondary search of complaint, present illness, physical examination, diagnosis, treatment and past history fields allowed 泻, 瀉 or 泄 between each of 半夏, 甘草 or 生姜 (also 生薑) and 心. Narrative symptom patterns also included 恶心, 呕吐, 干呕 (emesis), 肠鸣, 腹鸣 (bowel sounds), and 腹泻, 泄泻, 便溏, 稀便 (loose stools). Frequency denominators excluded missing documentation.