Abstract
Objective To quantify how much additional aminotransferase elevation becomes visible when patients have more than one follow-up test after a new Chinese herbal formula prescription.
Methods This retrospective study linked outpatient and inpatient records for adults with a verified, oral, multi-ingredient prescription from January through July 2025 and a 180-day washout. The outcome was a paired alanine and aspartate aminotransferase panel with either result above its laboratory upper limit of normal during days 1–90. Analyses compared monitoring groups and, separately, compared first-day with all-day detection in the same patients. A day-30 landmark analysis examined subsequent testing and positivity.
Results Of 6,184 initiators, 1,410 (22.8%) had a follow-up panel. An elevation was detected in 198 (3.2% of all initiators, 14.0% of those tested). Detection increased from 109/1,085 (10.0%) with one test day to 49/219 (22.4%) with two and 40/106 (37.7%) with three or more. The adjusted detection ratio for multiple versus single test days was 2.49 (95% CI 1.93–3.22). Among 325 repeatedly tested patients, 59 had an elevation on their first test day and 89 across all days, an increment of 9.2 percentage points (95% CI 6.5–12.9). Among patients without an early detected elevation, later testing ranged from 5.1% to 37.3% across early monitoring groups.
Conclusions Both the opportunity to detect an elevation and the selection of patients for further testing were evident in the observed gradient. Reporting coverage, positivity among tested patients, and repeat-only detections makes comparisons of formula safety more interpretable. These records cannot establish the incidence of herb-induced liver injury.
Keywords Chinese herbal medicine · aminotransferases · surveillance bias · pharmacoepidemiology · electronic health records · repeat testing
Introduction
A rise in alanine aminotransferase (ALT) after a herbal prescription can prompt review of the formula, concomitant medicines and competing causes of liver injury. In a Chinese multicentre study of hospitalized patients with adjudicated drug-induced liver injury, traditional medicines and herbal or dietary supplements accounted for a substantial share of implicated exposures.1 That case series addressed attribution among patients already identified as having injury. A prescribing service faces a different question: among everyone starting a formula, who has a laboratory result from which a safety signal could be recognized?
Routine testing makes that denominator difficult to interpret. A patient whose first abnormal panel prompts a second test will enter the high-frequency group because of the outcome itself. Another patient with a normal first panel may have a transient elevation that becomes visible only on a later test. Both mechanisms can raise the observed proportion with an elevation. Studies of electronic health records have shown that test timing carries clinical information and that symptom-driven visits can distort biomarker associations.2,3
This study estimated the 90-day frequency gradient, measured the additional detections obtained by retaining later panels in the same patients, and tested whether early monitoring predicted the availability of a later result. A separate analysis examined how a first elevated result related to subsequent retesting. Throughout, an elevation denotes a measured biochemical finding. Attribution of liver injury to an exposure requires clinical evaluation of chronology and alternative causes.4
Study population
Figure 1. Selection of the analytic cohort. Counts are distinct registration identifiers across the two prescribing settings. Each person contributed one index date. Prior orders were assessed across both settings before the index encounter was validated.
Methods
Data source and exposure definition
The clinical archive is a local SQLite migration of hospital outpatient and ward prescribing, encounter and laboratory records. The outpatient encounter file identifies the First Affiliated Hospital of Henan University of Chinese Medicine and its campuses. The analytical unit was the patient registration identifier. Reference books and published case collections in the separate Chinese medicine repository were excluded from the clinical denominator. The cohort specification follows the new-user framework and RECORD-PE reporting principles.5,6
Eligible index dates were 1 January through 31 July 2025. Starting on 1 July 2024, verified oral decoction-piece orders were grouped within setting, registration number, encounter number and calendar date. A formula required at least two distinct ingredient labels after removal of packaging and self-pay suffixes. Eligible routes covered decoction, water reconstitution, concentrated oral decoction, tea and melting into a decoction. Proprietary products and external preparations were outside this definition. Grouping may combine preparations issued at the same encounter. Orders establish prescribing intent, with dispensing and ingestion unobserved.
The index was the earliest candidate day in the entry period with no qualifying formula in the preceding 180 days. The outpatient encounter had to start on the order date. A ward order had to fall between the recorded admission and discharge dates. Patients had to have a single qualifying index setting and an unambiguous index age of 18–110 years. Discordant recorded sex or birth dates under one registration number triggered exclusion. Missing demographic fields contributed no positive identity check.
Figure 2. Exposure and observation windows. Day 0 is the index order. The main outcome window joins the two post-index intervals. The day-30 analysis separates prior test frequency from subsequent detection. Index-day panels contribute only to baseline classification.
Laboratory ascertainment
Venous ALT and aspartate aminotransferase (AST) required concordant names and item codes, numeric values in U/L and a numeric reference interval with an upper limit of normal (ULN) between 20 and 60 U/L. Repeated identical values and ULNs on a person-day counted once per analyte. The highest value-to-ULN ratio for each analyte on that date determined status. Both analytes had to be available on the same day. Either ratio >1 defined an elevation. Ratios >3 and >5 were examined separately. The most recent pair during days −90 to 0 determined baseline status. A measurement on day 0 could follow the order.
Statistical analysis
The three denominators answer different questions. Monitoring coverage is the proportion of all initiators with a valid panel. Detection per initiator is the proportion with at least one recorded elevation. Conditional positivity uses tested initiators as its denominator. The first quantity multiplied by the third equals the second. Untested patients contribute to coverage and recorded detection, while their biochemical status remains unknown. All index dates allowed 90 calendar days before the end of the laboratory extract on 31 October 2025. Capture of individual care throughout that period could not be verified.
Follow-up frequency counted distinct days with paired results. For one, two and three or more test days, we tabulated the first-day and any-day proportions. Among tested patients, modified Poisson regression with a patient-level robust sandwich variance estimated the detection ratio for at least two versus one test day.7 The case-mix model included age in years (linear), index setting, baseline category (within range, elevated or unmeasured) and index month (categorical). A timing model added the natural logarithm of days to first test. Sex was too incompletely captured for the main adjustment. These models describe associations conditional on eventual testing.
Within repeatedly tested patients, the paired difference between any-day and first-day detection equals the fraction first detected after day one of testing. A second comparison retained one observed test day per patient with equal probability. The expected positivity under this rule is the mean of each patient’s fraction of positive days. The paired difference from any-day detection used 5,000 patient-level bootstrap resamples and percentile limits. This standardizes the number of observed opportunities while retaining the observed test dates.
At the day-30 landmark we removed patients with an elevation already detected and classified the remainder by their number of panels on days 1–30. For days 31–90 we calculated coverage, positivity among those tested, and detection per landmark patient. To assess whether results predicted retesting, we restricted first tests to day 60 or earlier, providing a full 30-day calendar window for a second test. Wilson 95% confidence intervals (CIs) were used for proportions, including the nested first-to-any increment. Models used log-scale Wald intervals. No imputation was applied to unmeasured outcomes.
Sensitivity analyses
We examined patients with documented prior contact, normal baseline enzymes, an entirely pre-index normal baseline, and follow-up restricted to days 8–90. To examine capture by care setting, we retained only panels from the source of the index order. A broader washout screened additional oral orders with any status except voided or cancelled, including missing status. It used the start date when the order date was absent. We also examined January–February starts, whose 90-day follow-up preceded the summer decline in outpatient laboratory capture. These exploratory comparisons share patients and address different sources of uncertainty.
Results
Cohort composition and opportunity for observation
Of 8,011 candidate users, 6,184 met the washout, linkage and adult age criteria (Figure 1). Median age was 45 years (interquartile range [IQR] 35–57), and the median number of distinct ingredient labels was 16 (IQR 14–17). A prior encounter was recorded for 2,063 (33.4%). Baseline enzyme status was available for 1,077 (17.4%), including 118 with an elevation. Table 1 shows the concentration of inpatient starts and older patients in the most frequently monitored group.
Table 1. Baseline characteristics by number of follow-up test days
Characteristic | All | 0 days | 1 day | 2 days | ≥3 days |
|---|---|---|---|---|---|
Patients, n | 6,184 | 4,774 | 1,085 | 219 | 106 |
Age, median (IQR) | 45 (35–57) | 44 (35–56) | 49 (36–59) | 49 (37–58.5) | 55 (41–65) |
Inpatient index | 1,670 (27.0) | 646 (13.5) | 755 (69.6) | 177 (80.8) | 92 (86.8) |
Prior encounter | 2,063 (33.4) | 1,509 (31.6) | 433 (39.9) | 82 (37.4) | 39 (36.8) |
Female, recorded | 1,190 (19.2) | 854 (17.9) | 267 (24.6) | 47 (21.5) | 22 (20.8) |
Sex unavailable | 4,581 (74.1) | 3,625 (75.9) | 725 (66.8) | 153 (69.9) | 78 (73.6) |
Baseline elevated | 118 (1.9) | 80 (1.7) | 23 (2.1) | 7 (3.2) | 8 (7.5) |
Baseline unmeasured | 5,107 (82.6) | 3,947 (82.7) | 904 (83.3) | 178 (81.3) | 78 (73.6) |
Cells show n (% of column) unless indicated. Prior encounter means any recorded admission or outpatient encounter beginning during the 180-day lookback. Baseline uses the latest paired panel, including day 0.
Follow-up coverage was 386/4,514 (8.6%) after outpatient initiation and 1,024/1,670 (61.3%) after inpatient initiation. Differences persisted within calendar months (Figure 3). The outpatient source contained ALT entries for 488 distinct registration identifiers in May 2025, 43 in July and 548 in September. These counts describe archive coverage across all patients and cannot distinguish a change in service use from a change in data capture.
Figure 3. Monitoring and detection by index month and setting. Each cell uses all initiators in its setting and index month. January to July denominators were 393, 556, 636, 701, 739, 717 and 772 for outpatient starts and 155, 254, 260, 276, 247, 248 and 230 for inpatient starts. Each panel has its own color scale.
Timing and frequency of detection
Across 1,891 follow-up panel-days, 1,410/6,184 patients were tested (22.8%, 95% CI 21.8–23.9%). Among tested patients the median time to the first panel was 2 days (IQR 1–15). By day 7, 960 patients had been tested and 131 had a detected elevation. By day 30 those counts reached 1,155 and 158. Early ascertainment was concentrated among inpatient starts (Figure 4).
Figure 4. Cumulative observation of testing and enzyme elevation. Step curves show empirical cumulative proportions with a first observed event. Denominators are fixed at 1,670 inpatient and 4,514 outpatient index patients. Axis ranges differ across panels. These curves describe events recorded in the archive.
Table 2. First-day and any-day detection across 90 days
Test days | Patients | First day | Any day >1× ULN | Any day | Any day |
|---|---|---|---|---|---|
0 | 4,774 | — | Unmeasured | — | — |
1 | 1,085 | 109 (10.0) | 109 (10.0), 8.4–12.0 | 6 | 0 |
2 | 219 | 35 (16.0) | 49 (22.4), 17.4–28.3 | 11 | 6 |
≥3 | 106 | 24 (22.6) | 40 (37.7), 29.1–47.2 | 5 | 3 |
All tested | 1,410 | 168 (11.9) | 198 (14.0), 12.3–16.0 | 22 | 9 |
First-day results show n (% of row). Higher thresholds are nested patient counts. Either enzyme could exceed its own ULN. A single high result does not establish clinically significant liver injury.
Among 198 patients with a detected elevation, 154 had an ALT elevation and 131 had an AST elevation, including 87 with both at some point in follow-up. When all initiators were the denominator, recorded detection was 3.2% (95% CI 2.8–3.7%). Among tested patients it was 14.0%. Of the nine patients exceeding 5× ULN, all had multiple test days and an inpatient index. The direction of the testing decision is therefore especially important when interpreting this subgroup.
How much did additional test days reveal?
The crude detection ratio for two or more test days versus one was 2.73 (95% CI 2.12–3.50). Adjustment for age, setting, baseline status and index month attenuated it to 2.49 (1.93–3.22). Adding time to first panel yielded 2.45 (1.90–3.16). Associations within index settings pointed in the same direction, with wider intervals for outpatient starts (Figure 5).
Figure 5. Detection ratios among patients with follow-up testing. Diamonds denote the unadjusted and adjusted full-sample models. Circles denote crude subgroup ratios with log-scale 95% CIs. The reference in each row is one follow-up test day. Subgroup membership overlaps. Timing adds log time to the first test.
Among 325 repeatedly tested patients, the proportion with an elevation rose from 59/325 (18.2%) on the first day tested to 89/325 (27.4%) across all days. Thirty additional patients were detected (9.2 percentage points, 95% CI 6.5–12.9). The crude 17.3-point difference from singly tested patients thus comprised 8.1 points already present on the first test and 9.2 points arising on subsequent tests. Of the 30 later detections, 21 occurred on the second test day, six on the third, two on the fourth and one on the fifth.
Figure 6. Incremental yield within the same repeatedly tested patients. Each line connects first-day and any-day detection within the indicated group. Labels count patients first detected on a subsequent day over the number repeatedly tested. pp, percentage points. Baseline-elevated estimates are based on 15 patients.
Retesting after an early result
Retaining one randomly selected observed day per repeatedly tested patient gave an expected positivity of 17.1%. Retaining every day increased detection by 10.3 percentage points (bootstrap 95% CI 8.0–12.7). Retesting also depended on the first result. Among patients first tested by day 60, 43/159 (27.0%) with an elevated initial panel had another panel within 30 days, compared with 116/1,128 (10.3%) whose initial panel was within range (crude ratio 2.63, 95% CI 1.93–3.58).
At day 30, 158 patients had already had a detected elevation. Among the remaining 6,026, increasing early monitoring predicted a later panel more strongly than it predicted positivity among those with a later panel (Figure 7). Later detections per landmark patient were 22/5,029 (0.4%), 14/914 (1.5%) and 4/83 (4.8%). Only four later positives occurred in the most frequently monitored group, limiting precision.
Figure 7. Later testing and positivity after the day-30 landmark. Panel A uses all patients in each early-testing stratum. Panel B uses only patients with a panel on days 31–90. The bars and Wilson 95% intervals use different scales. Labels give numerators and denominators. Early untested patients had unknown early enzyme status.
Sensitivity to baseline, timing and record linkage
Table 3. Sensitivity of observed detection to ascertainment rules
Restriction | Eligible | Tested | First high | Ever high | Positive, % |
|---|---|---|---|---|---|
Primary definition | 6,184 | 1,410 | 168 | 198 | 14.0 |
Prior encounter in lookback | 2,063 | 554 | 73 | 84 | 15.2 |
Last pre-index panel normal | 436 | 100 | 8 | 13 | 13.0 |
Discard days 1–7 | 6,184 | 668 | 76 | 88 | 13.2 |
Index setting panels only | 6,184 | 1,260 | 157 | 179 | 14.2 |
Broader washout screen | 6,166 | 1,406 | 168 | 198 | 14.1 |
January–February starts | 1,358 | 371 | 45 | 57 | 15.4 |
Positivity is ever high divided by tested. First refers to the first retained day under the indicated rule. Pre-index baseline excludes day 0. The broader washout also counts non-voided oral orders with a recorded order or start date.
Discussion
Repeated testing identified 30 patients whose first post-prescription panel was within range. Those 30 account for 15.2% of all 198 detected elevations and one third of the 89 elevations in the repeatedly tested group. Yet even their first panel was more often elevated than the only panel of a singly tested patient. The excess therefore has two observable components. Those who went on to repeat testing already had higher first-panel positivity. The later panels then disclosed elevations in a further 30 patients.
Interpreting the surveillance gradient
The landmark results help distinguish a laboratory signal from the process that makes the signal visible. Across the lowest and highest early-testing strata, later testing increased from 5.1% to 37.3%, whereas positivity among those subsequently tested increased from 8.6% to 12.9%, with wide uncertainty. A patient with few early visits may receive no further panel in this archive. An inpatient monitored several times may have both clinical reasons for testing and easier access to phlebotomy. The result-dependent retesting analysis provides a second explanation: a high first result often preceded another measurement. These mechanisms can operate together.2,3
The paired analysis directly measures the detection gained by reading more of the existing record. It cannot establish what would have happened under a prescribed testing schedule. A newly visible elevation could reflect intervening illness, another drug, an evolving response to the formula, or ordinary biological variation near the ULN. The additional 9.2 percentage points should therefore be interpreted as an increment in ascertainment under observed care. No identifiable fraction can be assigned to erroneous tests or preventable liver injury.
Implications for pharmacovigilance
A service comparing formulas or clinics should publish three counts together: all eligible starters, starters tested within the same follow-up window, and starters with an elevated result. Separating first-panel positivity from new detections on later panels shows how much a ranking depends on repeat testing. In these data the outpatient and inpatient populations had markedly different testing coverage. Pooling them into one percentage would obscure an important difference in how a potential signal reaches the record.
A prospective validation study could collect a pretreatment panel and a common scheduled follow-up panel, record whether each additional panel was routine or symptom-triggered, and link external laboratory results. An adjudication sample could then reconstruct formula composition, start and stop dates, co-medication, bilirubin, alkaline phosphatase and competing diagnoses. That design would permit a more direct comparison of biological risk at a shared observation time. The present findings supply no basis for assigning a universal clinical retesting interval.4
Limitations
First, “new use” denotes a new recorded prescribing episode after a 180-day washout. Two thirds of the cohort had no recorded encounter starting in that interval. Even a documented prior visit cannot establish complete capture of treatment elsewhere. The strict index definition excludes orders with missing verification or unreliable timing, while the broader washout analysis addresses some prior-use misclassification. Same-day grouping may merge prescriptions, and the data do not establish adherence, dose, duration or a stable ingredient composition after index.
Second, the study counted panels observable within one hospital archive. Tests entered under another identifier, tests performed elsewhere, or isolated ALT measurements could be missed. Sex was unavailable for 4,581/6,184 patients (74.1%), restricting identity checks and covariate adjustment. Outpatient laboratory volume varied markedly by month. A common 90-day calendar window equalizes administrative opportunity only. Vital status, departure from the system and uninterrupted individual follow-up were unknown.
Third, most patients lacked a baseline pair. Day-0 panels could follow the first dose and baseline elevations could recur. Only 100 patients with a strictly pre-index normal panel also had a follow-up pair, with 13 subsequent elevations. Symptoms, chronic liver disease, alcohol use, metabolic disease, viral hepatitis, concurrent medicines and reasons for ordering tests were unavailable to the models. Post-index monitoring frequency also incorporates decisions made after an elevation. Robust intervals quantify sampling variability conditional on the analysis, with additional uncertainty from selection and measurement.
Finally, the outcome pooled elevations of different clinical importance. The high-threshold analysis identified only nine patients above 5× ULN. Eligibility also required a recorded discharge date for inpatient starts, potentially selecting admissions with more complete records. The analysis did not adjudicate persistence, alternative causes or dechallenge. The study estimates detection in this prescribing population and cannot establish injury incidence, comparative toxicity between formulas, or the safety of patients without follow-up testing.4
Conclusion
In this cohort, one additional elevation became visible for approximately every eleven repeatedly tested patients when all their recorded panels were examined instead of their first panel alone. A high first result itself predicted another test. Interpreting liver enzyme surveillance after a herbal prescription therefore requires both a biochemical numerator and an account of who had the opportunity to contribute to it.
Data provenance and declarations
The analysis used the raw outpatient and ward orders, encounters, demographic fields and laboratory item records in the local clinical archive. Derived dashboard totals, reference formularies and published case reports contributed no patients. Only aggregate results are presented. Individual-level clinical records are not included in this manuscript.
Ethics and consent Documentation of an ethics committee determination, consent requirement or waiver, and institutional authorization for publication was unavailable at the time of manuscript preparation. These details require confirmation by the author and data custodian before submission.
Funding and competing interests Funding information and the author’s competing-interest declaration were unavailable at manuscript preparation.
References
1. Shen T, Liu Y, Shang J, Xie Q, Li J, Yan M, et al. Incidence and etiology of drug-induced liver injury in mainland China. Gastroenterology. 2019;156(8):2230–2241.e11. doi:10.1053/j.gastro.2019.02.002
2. Agniel D, Kohane IS, Weber GM. Biases in electronic health record data due to processes within the healthcare system: retrospective observational study. BMJ. 2018;361:k1479. doi:10.1136/bmj.k1479
3. Goldstein BA, Phelan M, Pagidipati NJ, Peskoe SB. How and when informative visit processes can bias inference when using electronic health records data for clinical research. J Am Med Inform Assoc. 2019;26(12):1609–1617. doi:10.1093/jamia/ocz148
4. Fontana RJ, Liou I, Reuben A, Suzuki A, Fiel MI, Lee W, et al. AASLD practice guidance on drug, herbal, and dietary supplement–induced liver injury. Hepatology. 2023;77(3):1036–1065. doi:10.1002/hep.32689
5. Ray WA. Evaluating medication effects outside of clinical trials: new-user designs. Am J Epidemiol. 2003;158(9):915–920. doi:10.1093/aje/kwg231
6. Langan SM, Schmidt SAJ, Wing K, Ehrenstein V, Nicholls SG, Filion KB, et al. The reporting of studies conducted using observational routinely collected health data statement for pharmacoepidemiology (RECORD-PE). BMJ. 2018;363:k3532. doi:10.1136/bmj.k3532
7. Zou G. A modified Poisson regression approach to prospective studies with binary data. Am J Epidemiol. 2004;159(7):702–706. doi:10.1093/aje/kwh090
Supplementary methods
Reproducible record definitions
Source tables carry the prefixes menzhen (outpatient) and bingqu (ward). Orders, encounters, demographics and laboratory observations carry the suffixes yizhu, jiuzhenxinxi, jibenxinxi and jianyanxiang, respectively. Registration identifiers were converted to trimmed text without integer coercion. Encounter validation used setting, regno and admno together. Longitudinal outcome linkage used the same registration identifier across dates and settings.
Table S1. Field rules and denominator checks
Domain | Operational rule or aggregate check |
|---|---|
Oral formula | oe_ord_cate = 中药饮片 (decoction pieces), oe_ord_status = 核实 (verified). Five qualifying oe_ord_route labels are listed below. Group using the date of oe_ord_datetime. |
Index encounter | Validate dates from mr_adm_datetime and mr_dish_datetime. Require one recorded integer age in the eligible range. Exclude discordant available pa_sex or pa_birthday values. |
Aminotransferases | Match ALT to 谷丙转氨酶 and 00001_8, AST to 谷草转氨酶 and 00001_69. Use ls_collect_datetime, ls_item_value, ls_item_unit, ls_sample_name and ls_item_ranges. |
Reference and value | Keep venous blood, U/L and a numeric lower--upper interval with lower < upper. Divide each numeric result by the upper limit from its own record. |
Extract-level duplicates | 211,685 eligible analyte rows collapsed to 26,944 distinct patient/date/analyte/value/ULN records. There were 13,465 patient-days, of which 13,464 had a pair. Nine patient-days had multiple values or limits for an analyte. |
Internal consistency | All 211,685 eligible rows agreed with the source high flag on whether the value exceeded its ULN. The high flag was an audit field. Positivity was derived numerically. |
Within-person yield | For each repeatedly tested patient, subtract first-day positivity from any-day positivity. For the one-random-day analysis, subtract the fraction of positive days from any-day positivity, then average across patients. |
Extract-level quality counts span July 2024 through October 2025 and include patients outside the analytic cohort. Restricted cohort follow-up included 1,891 paired test days.
Qualifying routes were 水煎服, 水冲服, 浓煎口服, 代茶饮 and 烊化兑服. The broader washout accepted a recorded order date or, if missing, a start date, and excluded orders labelled voided or cancelled. The strict laboratory definition used the collection date. Across both sources, 3,177 ALT/AST rows lacked a collection date but had a report date in the extraction interval. They were excluded to avoid changing the time origin for an unknown subset.
Statistical analyses used Python, NumPy, pandas and statsmodels. Model estimation used one row per tested patient. Figures show observed counts, model estimates or transformations of the observed data. The single-day expectation was calculated analytically; bootstrap resampling (seed 20251202) was used only for its paired difference interval.






