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

Adding Gegen Qinlian Decoction to Metformin and 12-Week Change in Glycated Hemoglobin in Adults With Type 2 Diabetes: A Target Trial Emulation Protocol

Protocol version 1.0 • 2 December 2026

Dongfei LinTCM Discovery · 页码 261–270
文内目录
Abstract Introduction Target trial and observational emulation Measuring herbal exposure Feasibility of constructing a longitudinal cohort HbA1c capture and endpoint construction Causal estimand and statistical analysis Diagnostics, uncertainty and precision Sensitivity analyses and interpretation Discussion References Appendix 1. Feasibility analysis specification

Abstract

Objective. To estimate, in a future linked outpatient cohort, the difference in 12-week glycated hemoglobin (HbA1c) change between adults who start Gegen Qinlian decoction (GQD) at a metformin renewal visit and comparable adults who renew metformin alone. A completed feasibility analysis examined whether an existing archive could support this comparison.

Design. A new-user design for the add-on therapy, with a common treatment decision at time zero. The protocol specifies a 180-day look-back, a baseline HbA1c in the preceding 30 days and a follow-up measurement closest to day 84 within days 70–98. The primary contrast is the difference in mean HbA1c change among those surviving through the measurement window under each strategy. Analyses will account for baseline confounding and differential retesting.

Feasibility findings. The outpatient archive contained 3,854,024 order rows. None carried a screened GQD name. All four constituent herb names occurred within 336 encounter keys, including two with a single-agent metformin order. Of 234 HbA1c-labeled rows, 194 (82.9%) had an accepted value, unit, date and registration key. Of 196 registration keys with single-agent metformin, seven met the dated diabetes and prior-order screen. One had a qualifying baseline measurement, and none had a qualifying follow-up result at the selected index.

Interpretation. The archive identifies two distinct obstacles to estimation: verification of the herbal prescription and ascertainment of the endpoint. Linking original prescriptions and laboratory histories, with prospectively scheduled retesting where needed, would allow this protocol to address the add-on question. The audit yields no estimate of glycemic benefit or harm.

Keywords Gegen Qinlian decoction · metformin · type 2 diabetes · glycated hemoglobin · target trial emulation · pharmacoepidemiology

Introduction

For a person already taking metformin, the decision to start an herbal formula concerns the additional improvement achievable over the next three months. Trials in untreated diabetes address a different decision. Xu and colleagues reported greater HbA1c reductions with higher and moderate doses of GQD than with placebo in a 12-week dose-ranging trial. Gao and colleagues subsequently studied 120 untreated participants and reported differences in glycemic measures and gut microbiota. Neither finding quantifies the incremental response at a routine metformin renewal visit.1,2

The direct add-on evidence is closer to this question. A published synthesis identified eight trials comparing GQD plus metformin with metformin alone. Its primary HbA1c change analysis was imprecise, and treatment duration varied from two weeks to six months. Pooling observations from such different intervals makes the time course of the response hard to interpret.3 A comparison anchored to one prescribing decision and one measurement window can address that specific limitation, provided the two strategies and their outcomes can be observed.

Study objectives

The clinical objective is to estimate a treatment-policy effect of initiating GQD at metformin renewal. The feasibility objective is to quantify how often routine records support each step from diagnosis to paired HbA1c measurements. The audit was completed before this protocol version was finalized. Effect estimation remains prospective to a future data linkage and protocol lock. The design follows the target trial framework and uses TARGET and RECORD-PE to specify the correspondence between clinical decisions and recorded events.4–6

Table 1. Data sources and their roles in the feasibility analysis

Source

Material examined

Contribution

Outpatient visit archive

441,789 encounter rows dated 29 Aug 2019 to 31 Oct 2025

Defines the available encounter period. Encounter rows can repeat.

Diagnoses and orders

627,545 diagnosis rows and 3,854,024 order rows

Detect T2D labels, metformin products, formula names and ingredient-level candidates.

Laboratory and note files

1,853,075 laboratory rows and 23,451 outpatient note rows

Measure HbA1c availability and search selected note fields for a formula alias.

Formula dictionary

84,578 named-entry rows in the Fangji Da Cidian workbook

A canonical-title match and a modified-title match inform the local search vocabulary.

The unit of each count is stated explicitly. Historical dictionary entries, inpatient records and derivative summary tables did not contribute observations to the outpatient comparison. The archive’s institutional provenance and completeness of external dispensing and testing require verification before clinical inference.

Target trial and observational emulation

Table 2. Protocol components and mapping to clinical records

Component

Hypothetical pragmatic trial

Observational implementation

Eligibility

Age ≥18 years, established T2D, metformin monotherapy and clinical eligibility for either strategy.

Require a verified T2D diagnosis by index, 180 days of observable history, a single-agent metformin order 30–90 days earlier and a renewal at index.

Exclusions

Pregnancy, other diabetes types, recent glucose-lowering co-therapy, previous GQD use or unreliable baseline HbA1c.

Exclude other glucose-lowering drugs and any GQD in the look-back. Review transfusion, hemoglobinopathy and altered red-cell turnover. Require valid baseline HbA1c at days −30 to −1.

Strategies

Renew metformin and initiate oral four-herb GQD, or renew metformin alone. Later care is unrestricted.

Verify a new, same-day prescription for the named four-herb formula. Confirm no new glucose-lowering co-therapy or other herbal glycemic treatment on day 0 in either arm.

Assignment and time zero

Random assignment at the qualifying renewal visit.

Verify pharmacy and laboratory coverage for the look-back using enrollment or a documented closed-care system. Use the first eligible renewal per person. Assign using information available at that visit. No initiation grace period. Adjust for baseline differences.

Follow-up

Assess HbA1c at week 12 and ascertain vital status through day 98.

Allow days 70–98 inclusive for HbA1c. Require administrative data availability through day 98 at entry. Retain eligible persons with missing retests.

Primary contrast

Difference between the strategy-specific survivor means of HbA1c change.

Estimate weighted means under each initiation strategy, report survival and follow-up completeness, then subtract metformin alone from add-on.

Figure 1. Timing of eligibility, assignment and outcome measurement

Figure 1. Timing of eligibility, assignment and outcome measurement. All windows are relative to an eligible renewal. Day 84 is the outcome target. The look-back assesses observability and prior use before treatment assignment.

One renewal serves as the decision point for both groups. Requiring future persistence, a later herbal prescription or a completed retest at entry would select participants using information accrued after treatment assignment.7 The audit used a deliberately less restrictive screen to locate potential records before applying full eligibility.

Measuring herbal exposure

The primary exposure is a clinician’s decision to prescribe the original four-herb formula at the index visit. The components are Gegen (kudzu root), Huangqin (Scutellaria root), Huanglian (Coptis rhizome) and Gancao (licorice root). Prepared decoctions and equivalent oral granules are eligible if the original four components and processing are confirmed. Prescriptions with added or substituted herbs form a separate treatment version. Prescription-level adjudication will capture botanical identity, processing, component amounts, daily dose, route, formulation, planned duration, manufacturer or dispensary, and additions or substitutions where recorded. These details permit examination of treatment versions and follow herbal-formula reporting guidance.8

The local formula dictionary returned two matching titles, Gegen Huangqin Huanglian Tang and Jiawei Gegen Qinlian Tang. The latter denotes a modified formula. The audit searched normalized name stems in the order description, generic drug name and pharmacy name, and in six outpatient narrative fields. No order or note row matched a screened name. Exposure could still be documented on a prescription sheet outside those fields.

Figure 2. Exact intersections of four herb-name signals in outpatient orders

Figure 2. Exact intersections of four herb-name signals in outpatient orders. Each column is an exclusive configuration among 54,381 registration–encounter keys with at least one herb-name match. Filled dots indicate presence. The logarithmic bars give encounter counts. The amber column contains all four signals.

The all-four signal occurred at 336 of 54,381 herb-positive encounter keys (0.62%), representing 249 registration keys. Two of the 336 encounter keys also carried single-agent metformin (0.60%). Components may belong to separate prescriptions or to a larger formula. Collapsing all four into a single exposure label would assign the same treatment to clinically distinct prescriptions.

Validation before assignment

Two reviewers, masked to follow-up HbA1c, will compare candidates against original prescription images or item groups keyed to a single dispensing order. They will review all positive candidates if sparse and a stratified random sample of screen-negative visits, including visits with three herb signals. Record unresolved cases, reasons for disagreement, stratum-specific sampling fractions and adjudicated counts. Estimate verification-weighted sensitivity and positive predictive value with 95% intervals. Review same-day medication reconciliation and external purchases before assigning controls.

Feasibility of constructing a longitudinal cohort

Among 587 metformin-labeled order rows, 33 had fixed-dose combination names and 554 had single-agent names. These 554 rows mapped to 196 nonblank registration keys, 188 of which had a parseable order or start date. The T2D screen identified 690 diagnosis rows across 189 keys. At any time, 31 keys appeared in both the single-agent metformin and T2D sets, 17 in the metformin and accepted HbA1c sets, and five in all three sets. Chronology further restricted the available comparison (Figure 3).

Figure 3. Loss of candidate registration keys when dates are aligned

Figure 3. Loss of candidate registration keys when dates are aligned. Each row applies its condition to the preceding row. After diagnosis and renewal history were established, the earliest anchor with a valid pre-index HbA1c was selected. Repeat testing was assessed after selection. Age, washout, treatment identity and complete capture were not required by this feasibility screen.

Table 3. Observed yield under alternative temporal definitions

Prior order 30–90 days earlier

Baseline look-back (days)

Follow-up interval (days)

Keys with baseline

Keys with pair

Required

1–30

70–98

1

0

Required

1–60

56–112

1

0

Optional

1–30

70–98

1

0

Optional

1–60

56–112

1

0

Optional

1–90

42–126

1

1

Each row selects its own first qualifying index after a dated T2D diagnosis. This independent window check used metformin order descriptions. Only the broadest specification recovered a pair. An interval spanning 6 to 18 weeks and an optional prior metformin order change both the timing and the treatment history of interest. That pair cannot support the proposed comparison.

Linkage uncertainty

Registration numbers were used as provisional longitudinal keys. Among 314 keys with an accepted HbA1c or an order description containing the Chinese generic name for metformin (including combination products), 258 linked to a demographics record. Four of those 258 had discordant dates of birth. Forty-five of 314 appeared under multiple hospital labels. A site-qualified master person index and verified encounter crosswalk are prerequisites for interpreting these counts as counts of people.

HbA1c capture and endpoint construction

Of 234 outpatient rows labeled HbA1c, 211 carried percent units. Six lacked a unit and 17 had incompatible units. Five of the percent-unit results were nonnumeric and four fell outside the prespecified review range of 3–20%. Another eight lacked a usable collection date or registration key. The 194 accepted rows comprised 177 distinct key–date combinations across 121 keys. No combination contained conflicting accepted values.

Figure 4. Distribution and calendar coverage of accepted HbA1c measurements

Figure 4. Distribution and calendar coverage of accepted HbA1c measurements. Panel A uses one-percentage-point bins among 194 accepted rows across outpatient indications. Median 6.4%, interquartile range 5.7–7.3%, range 3.4–17.2%. Panel B partitions all 234 labeled rows by collection year and quality status. NA indicates an unavailable collection year. The archive ends in October 2025.

Only 20 of the 121 keys had accepted values on more than one collection date. Four had two dates 70–98 days apart anywhere in the archive, independently of metformin use. These four keys describe laboratory capture. The treatment-anchored screen in Figure 3 additionally requires a preceding measurement and a dated renewal. The median in Figure 4 likewise describes records across indications and includes repeat observations.

Rules for the emulation

Use the last valid baseline result before index and the follow-up closest to day 84. Break an equal-distance tie in favor of the earlier sample. Collapse identical key–date duplicates. Resolve discordant same-day values against the final certified laboratory result and accession record, otherwise exclude that day. Confirm clinically extreme results at source. Verify point-of-care method comparability and report assay and sampling day by arm.

Express HbA1c in NGSP percent. Convert documented IFCC mmol/mol as 0.09148 × IFCC + 2.152. A label of mmol/L is incompatible with this conversion.9 Define change as follow-up minus baseline in percentage points (pp). A fall from 8.0% to 7.5% is a change of −0.5 pp. Prespecified secondary measures are the proportion alive at day 98 with a decline of at least 0.5 pp and the proportion alive with HbA1c below 7.0%. Both will use the original eligible population as denominator.

Causal estimand and statistical analysis

Let A denote initiation (1 for add-on, 0 for renewal alone), B baseline HbA1c, Y the week-12 result, and S survival through day 98. The primary estimand is E[Y¹ − B | S¹ = 1] − E[Y⁰ − B | S⁰ = 1], in pp, for the eligible population. A negative contrast favors add-on. Each mean pertains to those who would survive under its own strategy. If survival differs, composition can differ as well. Report arm-specific survival risks and the joint secondary outcomes alongside the continuous contrast.

Figure 5. Confounding and selective retesting

Figure 5. Confounding and selective retesting. L includes prior HbA1c, disease severity, access to care and prescribing context. The dashed arrow represents dependence of retesting on unobserved glycemic response. Such dependence can persist after measured adjustment. For clarity, survival and post-index treatment changes are omitted from this diagram.

Adjustment and estimation

Estimate the baseline probability of initiating GQD using a logistic model with age, sex, baseline HbA1c and prior trajectory, diabetes duration, body mass index, renal function, metformin dose and duration, comorbidities, prior visits and tests, calendar time, facility and prescriber context. Include baseline gastrointestinal symptoms, documented syndrome patterns, diet counseling and treatment preference when reliably recorded. Place knots at the 10th, 50th and 90th percentiles when fitting three-knot restricted cubic splines for continuous covariates where supported. A site or period with one prescribing strategy provides no within-stratum comparison.

With verified vital status, fit a separate model for the probability of a valid retest among survivors given A and baseline covariates. For each arm, compute the normalized mean change with weight 1/(p × q), where p is the probability of the observed strategy and q the modeled retest probability. Deaths do not contribute an HbA1c value. Estimate survival using treatment weights in the full eligible cohort. For binary joint outcomes, multiply the estimated survival probability by the weighted response probability among survivors. Subsequent rescue therapy, discontinuation and crossover remain part of the assigned strategy.

Identification requires consistent treatment definitions, conditional exchangeability, support for both strategies, valid linkage, ascertainment of vital status and conditional comparability of tested and untested survivors. Indication for GQD and access to an external laboratory are especially credible threats. The archive lacks an estimable exposed group and primary endpoint pair, so these models were not fitted.

Diagnostics, uncertainty and precision

Before estimating outcomes, display exposure propensity distributions, baseline descriptive statistics and absolute standardized mean differences before and after weighting. Report maximum and percentile weights, the fraction outside common support and the effective sample size (ESS) in each arm, calculated as (Σw)²/Σw². Use 0.10 as a flag for residual imbalance and inspect full distributions of baseline HbA1c and kidney function.10 Examine retest coverage by arm, baseline HbA1c, clinic and calendar period. An empty arm or a key covariate stratum with structural absence of testing precludes identification for that population.

Estimate two-sided 95% confidence intervals with 1,000 person-level bootstrap samples stratified by facility, refitting propensity and retest models in each sample. Inference will target participating facilities. Record failed fits and examine prescriber-level clustering in sensitivity analysis if enough clusters are available. Use 20 chained-equation imputations for partially observed baseline confounders under missing at random, with arm, outcome indicators, available outcomes and auxiliary history in the imputation model. Repeat imputation within each bootstrap sample and average the imputation-specific estimates before taking bootstrap percentiles.11 Resolve missing identity, exposure, eligibility-defining HbA1c and vital status through source linkage.

Figure 6. Expected precision by effective sample size

Figure 6. Expected precision by effective sample size. Planning scenarios assume independent, equally sized arms with a common change-score standard deviation (SD). The approximate 95% confidence interval half-width is 1.96 × SD × √(2/ESS). The dot marks 193 effective observations per arm for SD 1.0 pp and a half-width of 0.20 pp. These curves do not use an observed treatment contrast.

Table 4. Size of a potential linked cohort under explicit planning assumptions

Target half-width

Effective n per arm¹

Entered per arm²

Total entered

0.30 pp

86

172

344

0.25 pp

123

246

492

0.20 pp

193

386

772

0.15 pp

342

684

1,368

¹ Equal allocation and SD 1.0 pp, rounded up. ² Assumes 75% contribute an endpoint and weighting retains two thirds of those observations as effective information. Differential survival, clustering, outcome variability and unequal assignment can increase requirements. For unequal arms use 1.96 × √(SD₁²/ESS₁ + SD₀²/ESS₀).

Sensitivity analyses and interpretation

An observed return visit can depend on symptoms, perceived response and access to laboratory testing. Under a pattern-mixture analysis, let δₐ be the mean difference between missing outcomes and their predictions under the primary missing-at-random model in arm a. Let mₐ be the treatment-weighted missing fraction among survivors. The contrast shifts by m₁δ₁ − m₀δ₀. The missing fractions and plausible departures should be informed by linked laboratory records and a sample of participants who missed routine testing.

Figure 7. Sensitivity of the contrast to unobserved outcomes

Figure 7. Sensitivity of the contrast to unobserved outcomes. Illustrative missing fractions are 40% after add-on and 20% after renewal alone. Each cell gives the additive shift in the contrast (pp) from the primary model. For example, missing add-on outcomes 0.5 pp higher than predicted, with zero departure in controls, shift the estimate by +0.20 pp. Neither the missing fractions nor a treatment effect were estimated in the archive.

Table 5. Predefined analyses addressing distinct sources of bias

Threat

Analysis in a linked cohort

Interpretation

Exposure misclassification

Repeat with pharmacy-confirmed dispensing and an exact four-herb formulation. Analyze modified prescriptions separately.

A change can reflect both improved specificity and a different treatment version.

Treatment selection

Compare untruncated with 1st/99th percentile capped weights. Restrict to shared propensity support and report exclusions.

Restricted estimates apply to a narrower population. Characterize excluded patients.

Unmeasured indication

For an omitted binary factor, vary prevalence imbalance (0.10–0.30) and its outcome association (0.5–1.0 pp).

Approximate additive bias spans 0.05–0.30 pp under a constant additive association. Evaluate both directions.

Timing and monitoring

Compare days 77–91 with days 56–112. Repeat among clinics using scheduled retesting and certified assays.

Report selection counts, retest timing and confidence intervals for each definition.

Clinical heterogeneity

Explore one baseline HbA1c-by-treatment interaction on the continuous scale if support permits.

Present predictions with uncertainty. Secondary and interaction findings are exploratory.

For the main analysis, specify the population before examining any contrast. A wider interval, a proxy exposure or a trimmed population can answer a related question. Each change will be reported with its own denominator and estimand.

Discussion

The audit localizes the information loss to two stages of care. An outpatient order system can identify the four herb names hundreds of times while recording neither which preparation they formed nor why it was prescribed. Separately, the laboratory archive contains plausible HbA1c values but rarely observes the same registration key on the required dates. Relaxing the timing rules yielded one pair only when both the baseline and follow-up windows were wide and prior metformin use was optional. No adjustment method can recover the intended add-on contrast from those observations.

A practical first step is to trace the two same-encounter metformin and four-herb signals to their original prescriptions, checking whether the herb lines share a prescription identifier, quantities, route and intended use. This targeted review could explain a coding pattern. A valid comparison would also require sampling apparent nonusers and verifying external dispensing. At clinics where an herbal consultation and metformin renewal routinely occur on different days, a same-day design would describe only a subset of prescribing decisions. Such clinics would require a separately specified decision point.

A second step is to reconcile laboratory accessions with a site-qualified person identifier. The discordant birth dates among provisional keys illustrate the hazard of assuming identity across facilities. In a prospective extension, clinics could record the reason for the renewal decision and arrange a day-84 HbA1c test for both strategies. Reviewing missed appointments alongside external test results would help distinguish absence of testing from absence of capture. With these data, adjusted comparisons would complement the heterogeneous direct trial evidence and inform the design of a pragmatic randomized study.

Scope and limitations

The feasibility analysis is a census of selected outpatient tables in a local archive. Its denominators describe recorded events and keys. The sampling frame, institutional lineage and mechanisms of missingness remain uncertain. Herb-name substrings can occur in unrelated products. Neither prescription nor dispensing proves ingestion. Early archival years had poorer laboratory capture, and external testing and nonprescription products may be absent. Generalization to other settings, long-term complications or safety outcomes would require additional data.

Ethics, transparency and dissemination

The manuscript reports aggregate feasibility counts. No institutional ethics approval or waiver was available for this audit. Institutional review of the use of these records for publication remains pending. The proposed clinical emulation requires documented governance, authorization for linkage and a protocol registered or otherwise time-stamped before effect estimation. Amendments will record their dates and rationale.

Funding and competing interests. No funding or competing interests were reported. Data availability. The manuscript contains aggregate results. The underlying records are locally held. No authorization for public release of individual records is documented. Writing assistance. AI-assisted drafting, coding and figure preparation were used. The named author is responsible for verifying the analysis and approving the final manuscript.

Conclusion

The proposed comparison depends on linking a verified herbal prescription to an eligible metformin renewal and a correctly timed HbA1c result. The current outpatient extract supports a quantitative feasibility assessment. Its exposure and follow-up gaps prevent a credible estimate of the 12-week treatment effect.

References

1. Xu J, Lian F, Zhao L, Zhao Y, Chen X, Zhang X, et al. Structural modulation of gut microbiota during alleviation of type 2 diabetes with a Chinese herbal formula. ISME J. 2015;9(3):552–562. doi:10.1038/ismej.2014.177

2. Gao Z, Zhang W, He L, Wang H, Li Y, Jiang X, et al. Double-blinded, randomized clinical trial of Gegen Qinlian decoction pinpoints Faecalibacterium as key gut bacteria in alleviating hyperglycemia. Precis Clin Med. 2024;7(1):pbae003. doi:10.1093/pcmedi/pbae003

3. He H, Gai X, Qiao Z, Ji G, Liu S. Efficacy of Gegen Qinlian decoction plus metformin for type 2 diabetes mellitus: a systematic review and meta-analysis of randomized controlled trials. Front Endocrinol (Lausanne). 2026;17:1837588. doi:10.3389/fendo.2026.1837588

4. Hernán MA, Robins JM. Using big data to emulate a target trial when a randomized trial is not available. Am J Epidemiol. 2016;183(8):758–764. doi:10.1093/aje/kwv254

5. Cashin AG, Hansford HJ, Hernán MA, Swanson SA, Lee H, Jones MD, et al. Transparent reporting of observational studies emulating a target trial—the TARGET statement. JAMA. 2025;334(12):1084–1093. doi:10.1001/jama.2025.13350

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. Hernán MA, Sauer BC, Hernández-Díaz S, Platt R, Shrier I. Specifying a target trial prevents immortal time bias and other self-inflicted injuries in observational analyses. J Clin Epidemiol. 2016;79:70–75. doi:10.1016/j.jclinepi.2016.04.014

8. 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

9. NGSP. IFCC standardization of HbA1c: the IFCC and NGSP [Internet]. Accessed 2 December 2026. https://ngsp.org/ifccngsp.asp

10. Austin PC, Stuart EA. Moving towards best practice when using inverse probability of treatment weighting (IPTW) using the propensity score to estimate causal treatment effects in observational studies. Stat Med. 2015;34(28):3661–3679. doi:10.1002/sim.6607

11. White IR, Royston P, Wood AM. Multiple imputation using chained equations: issues and guidance for practice. Stat Med. 2011;30(4):377–399. doi:10.1002/sim.4067

Appendix 1. Feasibility analysis specification

The following definitions describe the completed audit. They permit local replication using the read-only clinical archive and a formula-name workbook. Counts use full table scans. All counts are descriptive. Sampling confidence intervals and between-arm hypothesis tests would have no meaningful interpretation for the observed zero-pair screen.

Table A1. Source fields, normalization and analytical units

Domain and source

Operational rule

Visit dates · menzhenjiuzhenxinxi

Use minimum and maximum recorded mr_adm_datetime for calendar coverage. Identify hospital labels with mr_adm_hospital.

Diagnosis · menzhenzhenduan

Match E11-prefixed da_diag_code or a normalized da_diag_name containing 2型糖尿病, II型糖尿病, 糖尿病2型 or 糖尿病II型. Use da_diag_date for temporal eligibility.

Medication · menzhenyizhu

Search oe_ord_name, oe_general_drugname and oe_phc_name for 二甲双胍, 格华止, metformin or glucophage. Flag co-product stems 格列, 胰岛素, 列酮, 列净 and 列汀. Use oe_ord_datetime then oe_ord_startdata. All statuses contribute to the inclusive screen.

Herbal names · orders and notes

Normalize Unicode width, case, spaces and selected traditional characters. Test stems 葛根芩连, 葛根黄芩黄连, 葛根黄连黄芩, 葛根黄芩连, 葛根芩莲, gegenqinlian and ge-gen-qin-lian. Search outpatient notes in complaint, current illness, history, treatment, diagnosis and auxiliary examination.

Component intersections

Search the same three order fields for 葛根, 黄芩, 黄连 and 甘草. For each nonblank (regno, admno) pair, take the union of signals across all its rows. Count exact combinations. Count metformin co-occurrence only within the same pair.

Laboratory · menzhenjianyanxiang

Screen ls_item_name for 糖化 or A1c, then retain normalized exact HbA1c labels (糖化血红蛋白, HbA1c, A1c, 糖化血红蛋白A1c). Use ls_item_value, ls_item_unit, ls_collect_datetime and nonblank regno. Accept numeric values from 3 to 20 inclusive with percent units.

Renewal and outcome sequence

Within a trimmed nonblank regno, identify dated single-agent orders with a qualifying diagnosis on or before that date. Require a previous order 30–90 days earlier. Find anchors with a prior valid baseline on days −30 to −1 and select the earliest. Count any valid day +70 to +98 at that index.

Identity audit

Combine accepted laboratory keys with keys from order descriptions containing 二甲双胍. Check distinct nonblank recorded sex and birth dates in menzhenjibenxinxi and hospital labels in the visit archive.

Identifiers retained their source formatting apart from outer whitespace. Blank keys were excluded from entity counts. Dates used the first ten characters of the source timestamp and required a valid ISO calendar date. The feasibility screen did not establish uninterrupted pharmacy coverage, actual dispensing, or the adjudicated identity of any patient.