Manuscript Offprint
arXiv:2610.07502Closing Ambient Clinical Documentation Gaps with Automated Provider Queries
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Joseph Paul Cohen
Amazon
Raj Shah
Amazon
Han-Chin Shing
Amazon
Fang Wang
Amazon
Susan Nguyen, RN
Amazon
Chaitanya Shivade
Amazon
Jack Moriarty
Amazon
Abstract
Provider queries are clarifying requests sent by clinical documentation specialists to physicians to close gaps in the clinical note and ensure accurate billing. Prior work automates note drafting, ICD-10 coding, and order extraction assuming a complete transcript, leaving these gaps unaddressed. We study whether an LLM can automate the query loop, termed DAU (Draft, Ask, Update), across those three tasks. An audit of 3,000 real visits identifies the sources of missing documentation, from which we build five transcript-degradation benchmarks on public data. Analyzing 21k clarification turns on real conversations, we find useful-question predictors are task-specific: oracle confidence dominates, but note completeness needs only simple recall questions while ICD-10 coding needs harder, multi-option ones. About 9% of turns hurt performance, driven by redundant questions and non-answers that still trigger a rewrite. Deployment depends on learning “when not” as much as “what to” ask.
1 Introduction
Clinical encounter transcripts are routinely incomplete: implicit reasoning, paraphrased jargon, and transcription errors leave gaps that propagate into the note, the ICD-10 codes, and the order list (Carandang et al., 2025). An incomplete note can lead to miscoded diagnoses, mis-billed visits, and errors in quality and safety reporting. Hospitals have clinical documentation integrity (CDI) programs to catch issues and route queries back to physicians (Reyes et al., 2017). Answering those queries takes physician time and is a known driver of documentation burden and burnout (Rouse et al., 2022). Automating part of this loop helps both record accuracy and physician time.
We study how to automate provider queries using a DAU loop (Draft, Ask, Update) (Figure 1) instantiated for three downstream tasks (note gen-
| Cause | % | Description |
|---|---|---|
| Chart Context | 32.9 | Lives only in the EHR (doses, history, demographics) |
| Visual/Physical | 32.0 | Exam findings and vitals never spoken aloud |
| Drafter Omission | 14.9 | In the transcript but dropped by the drafter |
| Implied Context | 11.2 | Defaulted negatives; vague back-references |
| Other | 5.6 | Residual |
| Patient-facing | 2.6 | Lay phrasing (“labs”) where the EHR is specific |
| ASR | 0.8 | Number, dose, or entity garbled |
Table 1: Causes of missing facts in baseline LLM-drafted notes on N=3,000 real ambient clinical conversations (LLM-assigned categories). Nearly half of the gap (Visual/Physical, Implied Context, Patient-facing, ASR) is answerable by a short clinician query.
eration, ICD-10 coding, and medical order extraction) and study what makes a good question.
What does the gap look like in practice? To motivate this work on real clinical data, we audited the missing facts in baseline LLM-drafted notes on a private, internal sample of 3,000 primary-care visits from US hospitals, ASR-transcribed from ambient audio with EHR-derived gold notes. All records were de-identified and anonymized in accordance with HIPAA standards. Draft notes were produced from audio transcripts with the Ben Abacha et al. (2023) SOAP prompt. Each fact missing from the draft was passed to an LLM auditor that read the ASR transcript and assigned a cause from the rubric in Table 1. These categories were determined by an LLM and curated by clinical experts.
The reason for these errors split into three categories: 1. requiring information from the clinician, 2. from the EHR, or 3. improved summarization process. The clinician is required for Visual/Physical (a one-word answer reports the exam finding), Implied Context (the unspoken default becomes explicit), Patient-facing (the lay term is replaced with the EHR-precise one), and ASR (the garbled token is re-stated) errors, together 47% of the gap. The other major slices, Chart Context (33%) and Drafter Omission (15%), are 48% combined, are likely addressed by improving the automatic summarization process.
• Demonstrate a DAU (Draft, Ask, Update) loop across three clinical tasks: note completeness, ICD-10 coding, and medical order extraction.
• Evaluate on public datasets (ACI-Bench, Pri-Mock57, MIMIC-IV, MEDIQA-OE).
• Create and share a proxy dataset with five targeted transcript degradations (ASR noise, dropped content, implied context, patient-facing paraphrase, visual/physical signals).
• Empirical analysis of question usefulness on real clinical conversations, we identify oracle answer confidence and question redundancy as the dominant predictors of per-turn metric change.
2 Related Work
Provider queries and clinical documentation improvement. The healthcare workflow that DAU automates is the provider query: when a clinical documentation integrity (CDI) specialist or coder finds a gap in a note, they send the provider a written question to clarify the diagnosis, severity, or other coding-relevant detail (AHIMA/ACDIS, 2013). These queries themselves are a known source of physician burden and workflow friction (Rouse et al., 2022). The closest non-LLM analogues to DAU are real-time EHR-rule tools such as AutoDx (Cerasale et al., 2024; Smith et al., 2025), which fire pre-authored prompts to providers and reduce CDI query volume by 50–60%; Our DAU approach differs in that it generates the question from the transcript and current draft rather than from a hand-coded rule set, and operates over notes, codes, and orders within one loop.
Clarifying questions. Asking clarifying questions has been studied in conversational search (Aliannejadi et al., 2019), community QA (Rao and Daumé III, 2018), and interactive clinical reasoning (Li et al., 2024, 2025). Closely related, Hu et al. (2024) use uncertainty-based rewards to drive LLM information-seeking in medical diagnosis, and Tu et al. (2025) optimizes a single LLM for diagnostic history-taking via simulated self-play.
Clinical note generation. Early neural approaches generated notes from dialogue with sequence-to-sequence models (Enarvi et al., 2020). ACI-Bench (Yim et al., 2023) and PriMock57 (Korfiatis et al., 2022) are the two widely-used public doctor–patient dialogue datasets; MEDIQA-Chat (Ben Abacha et al., 2023) established a SOAP prompt still used as the LLM zero-shot baseline. Van Veen et al. (2024) benchmark adapted LLMs across radiology, progress notes, and doctor–patient dialogue, finding LLM summaries match or exceed expert summaries on completeness and correctness. Recent work tunes open-source models for the same task (Wang et al., 2024) and documents reliability issues in LLM-generated notes (Carandang et al., 2025). All of these systems assume the transcript is complete.
Automated ICD coding. Supervised ICD coders are mostly trained on MIMIC-III/IV including CAML (Mullenbach et al., 2018), LAAT (Vu et al., 2020), MultiResCNN (Li and Yu, 2020), and PLM-ICD (Huang et al., 2022); Edin et al. (Edin et al., 2023) reproduce them under a uniform MIMIC-IV ICD-10 split. LLM Prompt based methods make it easier to utilize larger models however single-shot LLM coders have been found to hallucinate invalid codes (Soroush et al., 2024) motivating decompose-then-map pipelines (Boyle et al., 2023) and retrieval-augmented candidates (Yang et al., 2022). None of this work addresses underspecified dialogue inputs; workflow reviews (Gan et al., 2024; Bi et al., 2024) argue this gap matters clinically.
Medical order extraction. The MEDIQA-OE 2025 shared task (Corbeil et al., 2025) targets extraction of medications, labs, imaging, and follow-ups from encounter dialogues and supplies the zero-shot prompt we use as a baseline.
Controlled underspecification. BN et al. (2025) introduce Leave-N-Out for fact-controlled hallucination evaluation. We reuse that philosophy but target dialogue-level degradations ( ) so that the resulting notes, codes, and orders can all be scored against the same gold references.
Our contribution. Prior clarification systems either use hand-authored EHR rules (AutoDx) or drive patient-facing diagnostic dialogue (MediQ,
(A) The DAU (DRAFT, ASK, UPDATE) loop

(B) Worked example: one DAU turn
Transcript T (degraded, ACI-Bench)
DR: How long has the chest pain been going on?
Pt: [audio unintelligible]
DR: Any past cardiac history?
Pt: High blood pressure for ten years.
Draft SOAP Note (turn 0)
completeness 0.67
HPI: Pt presents with chest pain, duration unspecified.
PMH: HTN × 10 yrs.
(priority 1): How long has the patient had chest pain?
(oracle, conf. 0.95): three days
Updated SOAP Note (turn 1)
completeness 0.82↑
HPI: Pt presents with chest pain for three days.
PMH: HTN × 10 yrs.
Figure 1: Overview of DAU (Draft, Ask, Update). (A) A single iterative loop (Draft, Ask, Update) is shared across three clinical tasks (note generation, ICD-10 coding, order extraction). The system sees only the (possibly degraded) transcript T; the simulated-clinician oracle sees the original transcript and the gold reference. Questions are capped at 20 words and answers at 5. (B) A single DAU turn on a degraded ACI-Bench dialogue: the patient turn stating chest-pain duration is unintelligible, so the draft note has a gap. One clarifying question and a 5-word oracle answer recover the missing fact and raise note completeness from 67 to 82.
AMIE, UoT); we instead generate provider-facing questions grounded in the recorded transcript and current draft. Prior note-generation, ICD-coding, and order-extraction systems all assume the transcript is complete; we treat it as underspecified and recover missing facts at inference time without retraining, in a single loop that spans all three tasks. Unlike Leave-N-Out (BN et al., 2025), which perturbs isolated facts, our five ACI-Bench degradations act at the dialogue level so the same encounter is scored jointly on notes, codes, and orders.
3 Method
3.1 Transcript Degradations
Real clinical transcripts fail in distinct, characterizable ways: speech-recognition systems mishear drug names, patients leave information implicit, and visual cues never make it into the audio. To evaluate downstream tasks under these failure modes in a controlled way, we apply five 20% perturbation variants to transcripts from the ACI-Bench and PriMock57 datasets. These perturbation types were determined from our analysis of real errors as well as interviewing a clinical scribe. Table 2 summarizes each type with a before/after example. This transformation was done by prompting DeepSeek V3.2 in order to comply with corporate policies and allow us to release the data.
3.2 The DAU Loop
In order to identify realistic questions and to craft the question generation prompts we interviewed a clinical scribe and enumerated real clinical questions (see §B)
Given a transcript T that is used to generate some output y (note, code set, or order list) and a budget k of how many questions can be asked:
Turn 0. Generate from T with a task-specific zero-shot prompt.
Turns 1 ... k. Repeat up to the budget k:
-
Question generation. Given T, , and previous Q&A, produce one clarifying question targeting the most impactful missing or uncertain element, or abstain and end the loop. Questions are capped at 20 words in length
-
Oracle answer. A simulated clinician with access to the original transcript/summary as well as the ground truth facts; answers are capped at 5 words.
-
Output update. Regenerate by applying only the new information from the Q&A, preserving unaffected content.
| Degradation Type | What it simulates | Original | Degraded |
|---|---|---|---|
| ASR | Phonetic, sound-alike transcription errors in clinical terms. | lipid; Losartan | livid; Lorazepam |
| Dropped Content | Clinically-meaningful turns removed from the transcript entirely. | “I've been having chest pain for a week.” | (turn removed) |
| Implied Context | Explicit facts replaced with vague back-references to shared history. | Metformin 500 mg BID | same as last time |
| Patient-facing | Doctor turns reworded in lay language (drugs, labs, procedures). | order a lipid panel | run some bloodwork |
| Visual/Physical | Spatial / physical details replaced with deictic references. | 8 cm; left hand | about this much; this side |
Table 2: The five transcript degradation types applied at to every dialogue dataset. Non-drop types enforce a same-length-or-shorter substitution constraint; dropped turns disappear from the final transcript. Each sample retains an audit trail of changes for provenance.
4 Experiments
We report results per task on the test split of each dataset, running the full DAU loop at budgets . Budget=0 means zero clarification questions are asked, differing from the zero-shot baselines only in the prompt wording, not in the information available. DAU Budget= is an upper bound on what any clarification method can achieve under our pipeline. We feed the gold reference into the same drafter / coder / extractor and the same evaluator. The gap from 100 measures model generation and evaluator noise rather than missing information. Detailed dataset information is included in Appendix A.
Baselines are included to illustrate that our Budget=0 is not a straw-man that is easily improved. All baselines are run using the Claude Opus 4.6 backbone to isolate the prompt from the backbone.
4.1 Clinical Note Completeness
The model transforms a transcript into a SOAP note using the prompt of Ben Abacha et al. (2023). The notes are then scored by fact recall where an LLM auditor extracts a list of atomic individually-checkable facts from the gold note and a second LLM call checks each fact against the generated note (Moramarco et al., 2022). We evaluate two zero-shot SOAP prompts as baselines (Yim et al., 2023; Ben Abacha et al., 2023).
Table 3 reports fact-level completeness. Completeness increases monotonically with budget. The DAU Budget= upper bound sits at on every column.
4.2 ICD-10 Coding
The model emits a set of ICD-10 codes scored against the gold codes by micro-F1 following the literature. The DAU oracle is given the gold codes and their canonical long descriptions, with any ICD-10-shaped word redacted from its replies so it cannot leak codes directly.
As baselines we include two LLM coders (two-step (Boyle et al., 2023), a Retrieval-coder (Yang et al., 2022)), and three supervised MIMIC-IV models (CAML, LAAT, MultiResCNN) loaded from the Edin et al. (2023) checkpoints.
Table 4 reports F1. On ACI-Bench notes DAU improved Implied Context, exactly the degradations where the draft note is most likely to underspecify; the supervised MIMIC coders have low F1 here likely because the content distribution (single-encounter outpatient dialogue) differs from MIMIC-IV discharge summaries. On ICD-Synth, where the input already spells out diagnoses verbatim, Retrieval-coder wins because the coder only has to match explicit phrases. DAU produces consistent results across all four input distributions. DAU Budget= reaches only 44 on ICD-Synth-All. This is because the model was only given the descriptions of the codes and not the codes themselves. The gold codes are still emitted as strings by the LLM, which on the full 70k-code ICD-10 vocabulary loses substantial F1 to description→code-string mapping noise (it hallucinates close-but-wrong codes like M54.50 vs. gold M54.5); Retrieval-coder bypasses this step (looking codes up in a description index) and is therefore higher than Budget= .
4.3 Medical Order Extraction
The model emits a list of medical orders (medications, labs, imaging, follow-ups); outputs are scored against the MEDIQA-OE 2025 gold orders by Description Match-F1 (Corbeil et al., 2025). The DAU oracle is given the gold order list.
Clarification helps whenever transcript content has been stripped, paraphrased, or left implicit. Table 5 reports the MEDIQA-OE official Match-F1 metric. DAU improved performance on the degradations that strip explicit order specifics: Dropped Content, Implied Context, and Patient-facing.
5 Analysis
The analyses in this section are restricted to the real corpus so that question quality is measured on real visit dialogue rather than on degraded inputs in order to draw stronger conclusions from these results. After running DAU with budgets this yields 21,309 clarification turns (9,088 Notes, 12,221 ICD-10).
For every clarification turn we record , the change in the task metric caused by applying that turn's answer. Averaged across the turns the mean change is +1.6 on Notes and +5.5 on ICD-10. The asymmetry comes from the metric scales: a single ICD-10 code addition / removal moves F1 by 10, whereas one extra recovered fact is worth 1–5 of completeness.
5.1 What Makes a Good Question?
In order to build a system that asks the most informative questions we study which features predict the per-turn change in the task metric ( ). Every question is scored post-hoc by an LLM judge on five 0–5 rubrics; the rubrics were developed with clinical experts and evaluated with Claude Opus 4.6 (Appendix E). Figure 2 plots the mean inside each rubric bin, and Figure 3 aggregates by question category.
Table 6 reports the per-feature Pearson correlation with across the 21,309 Real data clarification turns. Oracle confidence is the strongest individual predictor ( , ): a confident oracle answer is associated with a larger metric improvement. Cognitive load is next ( , ): harder questions extract more useful information when they land. Redundancy follows ( , ): questions whose answer was already in the draft move the metric down on average, since any rewrite then risks overwriting correct content. Criticality ( , ) also correlates positively: higher-stakes questions are associated with larger gains. Turn index ( ) and answerability ( ) are weakly significant; specificity has no significant linear effect on this corpus.
5.2 Capping Question Complexity
If cognitive load is positively associated with ( ), how much of the gain actually depends on the hard questions? On real data we replay every budget-5 trajectory under a complexity cap: the loop keeps its questions in order but stops at the first question whose cognitive-load score exceeds the threshold. Figure 4 plots the resulting task metric against the cap.
Two regimes emerge. Notes saturate at 2: allowing only trivial yes/no and single-fact recall questions already captures essentially all of the budget-5 gain. ICD-10 keeps improving through 4, the fine-grained distinctions coding requires (laterality, acuity, structure-level anatomy) are exactly the multi-option questions the rubric scores as complex. The practical implication: for note completeness a system can restrict itself to low-burden questions at almost no cost, but for coding the high-burden questions are where the value is, consistent with the positive cognitive-load correlation in Table 6.
5.3 When Clarification Hurts
On real data 1,834 of the 21,309 clarification turns (9%) had : the update lowered the task metric. The negative- rate is task-specific: 9% on ICD-10 (1,145/12,221) versus 8% on Notes (689/9,088). To understand the mechanism we feed the real data negative- turns to an LLM that induces a question-side and an answer-side taxonomy independently and then cross-labels every turn with one mode from each.
Figure 5 cross-tabulates the two. The dominant question-side failure is redundant information request (39%): the question targets a fact already settled in the draft or transcript, so rewrites introduce errors. Followed by excessive specificity unsupported by documentation (23%) and coding non-clinical context as diagnosis (14%), questions that demand a degree of detail or a categorical commitment the encounter never makes.
The dominant answer-side failure is negative confirmation non-change (40%): the oracle answer says no new information, yet the artifact is still rewritten. Unsupported specificity injection (32%) is next: the oracle answer adds laterality, mechanism, dosage, or subtype that the source does not actually document. The single largest cell (22%)
| Method | Real— | ACI-Bench | PriMock57 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Original | ASR | Drop | Impl | PatF | Vis | Original | ASR | Drop | Impl | PatF | Vis | ||
| zero_shot_yim_opus46 | 44.2 | 85.7 | 79.6 | 58.3 | 65.4 | 66.2 | 74.9 | 80.6 | 75.9 | 71.6 | 73.3 | 76.4 | 77.5 |
| zero_shot_abacha_opus46 | 45.9 | 86.7 | 80.6 | 59.4 | 66.4 | 66.5 | 77.5 | 81.5 | 78.0 | 73.6 | 74.3 | 78.4 | 78.7 |
| DAU Budget=0 | 46.9 | 87.3 | 81.8 | 61.3 | 67.7 | 68.0 | 78.2 | 83.1 | 80.0 | 75.9 | 76.7 | 80.6 | 81.6 |
| DAU Budget=1 | 48.2 | 87.3 | 82.0 | 63.5 | 70.5 | 70.4 | 79.8 | 83.9 | 80.4 | 77.2 | 78.8 | 81.6 | 82.2 |
| DAU Budget=3 | 48.7 | 87.4 | 82.2 | 65.2 | 73.6 | 71.7 | 80.3 | 83.9 | 80.7 | 77.8 | 80.0 | 81.6 | 82.6 |
| DAU Budget=5 | |||||||||||||
| DAU Budget=∞ | 97.4 | 99.9 | 99.9 | 99.8 | 99.8 | 99.8 | 99.8 | 97.8 | 97.7 | 97.6 | 97.9 | 97.9 | 97.5 |
Table 3: Note completeness (fact-recall, higher is better). Completeness measures fact recall from the transcript against the reference note; it is upper-bounded by what was actually spoken, so scores well below 100% typically reflect missing chart context or unspoken findings rather than note-generation errors, as evidenced by the similar Yim and Abacha baseline scores. Real = real ASR transcripts, (N=3,000). Public-dataset columns: Original, ASR, Dropped Content, Implied Context, Patient-facing, Visual/Physical. Significance: per-encounter Wilcoxon signed-rank test of DAU Budget=5 vs. the stronger of the two zero-shot baselines. † p<0.05, ‡ p<0.01.
| Method | Real— | ACI-Bench (note) | ICD-Synth | MIMIC-IV | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Original | ASR | Drop | Impl | PatF | Vis | All | MIMIC | Discharge | ||
| two_step (Boyle et al., 2023) | 32.0 | 44.9 | 41.1 | 40.2 | 35.9 | 39.6 | 36.1 | 42.6 | 81.1 | 42.8 |
| Retrieval-coder (Yang et al., 2022) | 20.7 | 35.6 | 34.5 | 32.9 | 32.2 | 32.4 | 31.8 | 69.8 | 93.1 | 36.9 |
| CAML (Mullenbach et al., 2018) | — | 21.2 | 20.9 | 19.0 | 17.6 | 17.0 | 20.6 | 0.8 | 8.0 | 52.5 |
| LAAT (Vu et al., 2020) | — | 32.2 | 31.5 | 32.1 | 29.6 | 28.3 | 32.5 | 0.8 | 11.7 | 58.1 |
| MultiResCNN (Li and Yu, 2020) | — | 20.9 | 20.1 | 19.2 | 19.7 | 19.5 | 20.6 | 0.6 | 4.0 | 55.3 |
| DAU Budget=0 | 31.4 | 43.9 | 41.0 | 39.9 | 36.8 | 37.8 | 36.1 | 43.8 | 81.1 | 41.9 |
| DAU Budget=1 | 38.7 | 45.1 | 42.4 | 42.3 | 43.1 | 45.9 | 41.3 | 42.5 | 81.1 | 46.0 |
| DAU Budget=3 | 43.0 | 47.3 | 45.3 | 46.5 | 45.4 | 47.7 | 44.5 | 42.8 | 81.0 | 47.8 |
| DAU Budget=5 | 48.2 | 43.6 | 81.6 | 47.6 | ||||||
| DAU Budget=∞ | 88.2 | 82.6 | 81.2 | 82.3 | 82.1 | 82.6 | 80.5 | 44.0 | 82.0 | 87.1 |
Table 4: ICD-10 coding F1 on the test splits. Real = real ASR transcripts (N=3,000, no degradation applied; supervised MIMIC-trained coders not run). Significance: per-encounter Wilcoxon signed-rank tests of DAU Budget=5 vs. the strongest non-DAU baseline on each column. † p<0.05, ‡ p<0.01 (Original ACI-Bench not significant).
| Method | MEDIQA-OE (test, N=100) | |||||
|---|---|---|---|---|---|---|
| Original | ASR | Drop | Impl | PatF | Vis | |
| Published MEDIQA-OE 2025 baselines | ||||||
| WangLab (GPT-4) (Corbeil et al., 2025) | 81.8 | — | — | — | — | — |
| silver_shaw (Gemini 2.5) (Corbeil et al., 2025) | 76.4 | — | — | — | — | — |
| GPT-4o baseline (Corbeil et al., 2025) | 63.6 | — | — | — | — | — |
| zero_shot_corbeil_opus46 (Corbeil et al., 2025) | 70.1 | 67.4 | 51.3 | 54.0 | 52.2 | 71.1 |
| DAU Budget=0 | 70.5 | 67.4 | 51.7 | 54.9 | 52.9 | 70.6 |
| DAU Budget=1 | 69.5 | 68.0 | 59.8 | 60.7 | 60.9 | 69.1 |
| DAU Budget=3 | 69.1 | 68.1 | 65.5 | 67.6 | 64.9 | 69.8 |
| DAU Budget=5 | 69.1 | 68.1 | 69.7 | |||
| DAU Budget=∞ | 76.4 | 77.9 | 84.9 | 79.7 | 78.3 | 77.1 |
Table 5: Medical order extraction, MEDIQA-OE Description Match-F1. Clarification recovers most of the lost performance on degradations that strip or paraphrase order specifics: Dropped Content (+14.6), Implied Context (+15.1) and Patient-facing (+13.0). Budget=∞ is an upper bound on the information a clarification can carry. The gap from 100 reflects noise, not missing information. Significance (per-encounter Wilcoxon signed-rank, DAU Budget=5 vs. zero_shot_corbeil_opus46). † p<0.05, ‡ p<0.01.

Notes
N=9,088
Criticality (5=critical)
Cognitive load
Specificity
Answerability
ICD-10
N=12,221
Redundancy
Figure 2: Real data only: mean per-turn change in the task metric vs. each 0–5 rubric score; top row Notes (N=9,088), bottom row ICD-10 (N=12,221), with mean±s.e. error bars (bins with <10 turns dropped). Marker area is proportional to , so visibly small markers indicate sparse bins. The five rubrics: criticality, how clinically consequential it is to resolve the gap (5=critical); cognitive load, how hard the question is for the clinician to answer; specificity, how narrowly the question targets a single missing fact; answerability, how readily the question can be answered from the encounter; redundancy, how much the answer is already implied by the current draft (0=brand-new information).

Figure 3: Real data only: mean per-turn by question category, one panel per task (Notes left, ICD-10 right; bar = category mean, error bars = s.e., shown next to each label; categories with turns dropped). Categories with negative mean (where the rewrite hurts the artifact more than it helps) are colored red. The only negative bar on ICD-10 is overspecification (questions asking for external-cause / place / activity detail that results in overly specific codes). The encounter rarely documents these, so the answer doesn't add a new code that matches the gold, and the rewrite often perturbs an already-correct code, so F1 goes down.
| Feature | Pearson r |
|---|---|
| Oracle confidence | |
| Cognitive load | |
| Redundancy | |
| Criticality | |
| Turn index | |
| Answerability | |
| Specificity |
Table 6: Real data only: Pearson correlation of each feature with the per-turn . clarification turns. Significance is the Wald -test, , ; n.s. = not significant at .
of harm) is redundant questions answered with negative-confirmation non-change, the loop revisits a settled detail and rewrites the artifact even though the oracle confirmed nothing new.
The two avoidance rules this implies are: (i) do not edit the draft when the answer is a non-answer, and (ii) do not re-ask or adopt specificity for facts already settled in the current draft.
6 Conclusion
In this work we explore how to automate provider queries to improve performance on three clinical tasks and propose a straightforward iterative loop DAU (Draft, Ask, Update) that transfers across these domains. We explore real errors on a difficult-to-obtain real world dataset of transcribed conversations and final clinical notes. These insights are used to create a dataset of degraded transcripts to test five different degradation categories mimick-

Figure 4: Real data only: task performance when the DAU loop is stopped at the first question exceeding a cognitive-load cap (0=no clarification, 5=allow all), averaged over budget-5 trajectories, shaded bands are ±s.e. Notes saturate with only simple questions (cap 2); ICD-10 needs the harder, multi-option questions to reach full performance.
ing real life failure modes. On these degraded transcripts we can see DAU recovers most of the lost performance specifically on degradations that strip or paraphrase content (Dropped Content, Implied Context, and Patient-facing), while Original and ASR inputs barely move which is consistent with our real world evidence.
We analyze the questions and answers from the DAU loop on real world data to learn what makes good and bad questions. (i) When it helps: gains are concentrated on transcripts with missing content (Dropped Content, Implied Context). (ii) What predicts a metric-improving question: oracle answer confidence is by far the strongest positive signal and redundancy the strongest negative signal. (iii) How hard the questions need to be is task-specific: on real data, capping question complexity shows note completeness retains nearly all of its gain with only simple recall questions (cap 2), while ICD-10 coding needs the harder multi-option questions through cap 4 to reach full F1. (iv) Why it sometimes hurts: ~8–10% of turns drive the metric down, concentrated in ICD-10 and dominated by redundant questions whose answers introduce unsupported specificity, plus non-answers that nonetheless trigger a rewrite.
These findings suggest that the next gains in automated provider queries will come less from asking more questions and more from learning when not to ask and when not to rewrite, with oracle confidence, redundancy, and answer-mode signals serving as cheap gates on the loop.

Figure 5: Real data only: negative- clarification turns (N=1,834) broken down by question failure mode (rows) and answer failure mode (columns); cells show the share of all such turns and row/column percentages are appended to the labels. The dominant pattern is redundant questions answered with negative-confirmation non-change.
Limitations
The oracle is an upper bound. The simulated clinician sees the original transcript and the gold reference, so our results measure the ceiling of what clarification can recover, not performance with a real provider, who may be mistaken or unwilling to answer.
LLM-as-everything. One backbone (Claude Opus 4.6) serves as drafter, question generator, oracle, rubric judge, and evaluator, and the degradations are LLM-generated (DeepSeek V3.2); none of these judgments are human-validated, so self-preference effects could inflate results.
Clinician burden is not modeled directly. We approximate clinician burden by capping answer length at five words but do not measure the workflow cost of a provider answering questions (time, alert fatigue, willingness to respond), a known friction point for human CDI queries (Rouse et al., 2022).
Motivating-audit categories are LLM-assigned. The cause categories in Table 1 were assigned by the same LLM family used elsewhere in the paper, on a single real data sample with EHR-derived gold notes that contain chart-pulled history and PHI-randomized identifiers; the percentages should be read as a directional decomposition rather than a validated taxonomy. We did not have human coders re-label the missing facts.
Data availability
The Real corpus is internal and not redistributable. ACI-Bench (CC-BY-4.0), PriMock57 (CDLA-Permissive-2.0), and MEDIQA-OE 2025 (CC-BY-4.0) are publicly available. MIMIC-IV-Note is available to credentialed users via PhysioNet. The five degraded-transcript benchmark datasets generated in this work will be released at the address TO-BE-DETERMINED.
Code availability
The code used in this study is available at TO-BE-DETERMINED.
Acknowledgements
This work was funded by Amazon Inc. All authors performed this work while employed by Amazon Inc.
Author contributions
J.P.C., R.S., J.M., and H.C.S. conceived of the study. F.W., C.S., and S.N. advised.
Competing interests
All authors are or were employees of Amazon Inc during the course of this work. The authors declare no other financial or non-financial competing interests.
References
AHIMA/ACDIS. 2013. Guidelines for achieving a compliant query practice. Journal of AHIMA.
Mohammad Aliannejadi, Hamed Zamani, Fabio Crestani, and W. Bruce Croft. 2019. Asking clarifying questions in open-domain information-seeking conversations. In Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval.
Asma Ben Abacha, Wen-wai Yim, Yadan Fan, and Thomas Lin. 2023. An empirical study of clinical note generation from doctor-patient encounters. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics (EACL).
Bokang Bi, Leibo Liu, Sanja Lujic, Louisa Jorm, and Oscar Perez-Concha. 2024. Harmonising the clinical melody: Tuning large language models for hospital course summarisation in clinical coding. arXiv preprint arXiv:2409.14638.
Suhas BN, Han-Chin Shing, Lei Xu, Mitch Strong, Jon Burnsky, Jessica Ofor, Jordan R. Mason, Susan Chen, Sundararajan Srinivasan, Chaitanya Shivade, and 1 others. 2025. Fact-controlled diagnosis of hallucinations in medical text summarization. arXiv preprint arXiv:2506.00448.
Joseph S. Boyle, Antanas Kascenas, Pat Lok, Maria Liakata, and Alison Q. O'Neil. 2023. Automated clinical coding using off-the-shelf large language models. In Deep Generative Models for Health Workshop (NeurIPS).
Kristine Ann M. Carandang, Jasper Meynard P. Araña, Ethan Robert A. Casin, Christopher P. Monterola, Daniel Stanley Y. Tan, Jesus Felix B. Valenzuela, and Christian M. Alis. 2025. Are LLMs reliable? an exploration of the reliability of large language models in clinical note generation. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Industry Track).
Matthew T. Cerasale, Ali Mansour, Ethan Molitch-Hou, Sean Bernstein, Tokhanh Nguyen, and Christopher Kao. 2024. Implementation of a real-time documentation assistance tool: Automated diagnosis (autodx). Applied Clinical Informatics.
Jean-Philippe Corbeil, Asma Ben Abacha, Wen-wai Yim, Deepti Bedi, Ruqi Jiang, Matthew Sipka, Neal Snider, Cheng Yu, Thomas Lin, and Meliha Yetisgen. 2025. Overview of the MEDIQA-OE 2025 shared task on medical order extraction from doctor-patient consultations. arXiv preprint arXiv:2510.26974.
Joakim Edin, Alexander Junge, Jakob Drachmann Havtorn, Lasse Borgholt, Maria Maistro, Tuukka Ruotsalo, and Lars Maaløe. 2023. Automated medical coding on MIMIC-III and MIMIC-IV: A critical review and replicability study. In Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval.
Seppo Enarvi, Marilisa Amoia, Miguel Del-Agua Teba, Brian Delaney, Frank Diehl, Stefan Hahn, Kristina Harris, Liam McGrath, Yue Pan, Joel Pinto, Luca Rubini, Miguel Ruiz, Gagandeep Singh, Fabian Stemmer, Weiyi Sun, Paul Vozila, Thomas Lin, and Ranjani Ramamurthy. 2020. Generating medical reports from patient-doctor conversations using sequence-to-sequence models. In Proceedings of the First Workshop on Natural Language Processing for Medical Conversations.
Yidong Gan, Maciej Rybinski, Ben Hachey, and Jonathan K. Kummerfeld. 2024. Aligning AI research with the needs of clinical coding workflows: Eight recommendations based on US data analysis and critical review. arXiv preprint arXiv:2412.18043.
Zhiyuan Hu, Chumin Liu, Xidong Feng, Yilun Zhao, See-Kiong Ng, Anh Tuan Luu, Junxian He, Pang Wei Koh, and Bryan Hooi. 2024. Uncertainty of thoughts: Uncertainty-aware planning enhances information seeking in large language models. arXiv preprint arXiv:2402.03271.
Chao-Wei Huang, Shang-Chi Tsai, and Yun-Nung Chen. 2022. PLM-ICD: Automatic ICD coding with pre-trained language models. In Proceedings of the 4th Clinical Natural Language Processing Workshop (ClinicalNLP).
Alistair E. W. Johnson, Lucas Bulgarelli, Lu Shen, Alvin Gayles, Ayad Shammout, Steven Horng, Tom J. Pollard, Sicheng Hao, Benjamin Moody, Brian Gow, Liwei H. Lehman, Leo A. Celi, and Roger G. Mark. 2023. MIMIC-IV, a freely accessible electronic health record dataset. Scientific Data.
Alex Papadopoulos Korfiatis, Francesco Moramarco, Radmila Sarac, and Aleksandar Savkov. 2022. Pri-Mock57: A dataset of primary care mock consultations. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).
Fei Li and Hong Yu. 2020. ICD coding from clinical text using multi-filter residual convolutional neural network. In Proceedings of the AAAI Conference on Artificial Intelligence.
Shuyue Stella Li, Vidhisha Balachandran, Shangbin Feng, Jonathan S. Ilgen, Emma Pierson, Pang Wei Koh, and Yulia Tsvetkov. 2024. MediQ: Question-asking LLMs and a benchmark for reliable interactive clinical reasoning. In Advances in Neural Information Processing Systems (NeurIPS).
Shuyue Stella Li, Jimin Mun, Faeze Brahman, Jonathan S. Ilgen, Yulia Tsvetkov, and Maarten Sap. 2025. ALFA: Aligning LLMs to ask good questions – a case study in clinical reasoning. arXiv preprint arXiv:2502.14860.
Francesco Moramarco, Alex Papadopoulos Korfiatis, Mark Perera, Damir Juric, Jack Flann, Ehud Reiter, Anya Belz, and Aleksandar Savkov. 2022. Human evaluation and correlation with automatic metrics in consultation note generation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
James Mullenbach, Sarah Wiegreffe, Jon Duke, Jimeng Sun, and Jacob Eisenstein. 2018. Explainable prediction of medical codes from clinical text. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT).
Sudha Rao and Hal Daumé III. 2018. Learning to ask good questions: Ranking clarification questions using neural expected value of perfect information. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (ACL).
Cynthia Reyes, Alissa Greenbaum, Catherine Porto, and John C. Russell. 2017. Implementation of a clinical documentation improvement curriculum improves
quality metrics and hospital charges in an academic surgery department. Journal of the American College of Surgeons.
Michael Rouse, Matthew W. Jones, Brice Zogleman, Rebekah May, Tanya Ekilah, and Cheryl Gibson. 2022. Resident integration with inpatient clinical documentation improvement: A quality improvement project. BMJ Open Quality.
Kevin D. Smith, Ryan Boland, Matthew T. Cerasale, and Christopher Kao. 2025. Improving provider documentation using a pediatric automated documentation assistance tool. Applied Clinical Informatics.
Ali Soroush, Benjamin S. Glicksberg, Eyal Zimlichman, Yiftach Barash, Robert Freeman, Alexander W. Charney, Girish N. Nadkarni, and Eyal Klang. 2024. Large language models are poor medical coders—benchmarking of medical code querying. NEJM AI.
Tao Tu, Mike Schaekermann, Anil Palepu, Khaled Saab, Jan Freyberg, Ryutaro Tanno, Amy Wang, Brenna Li, Mohamed Amin, Nenad Tomasev, Shekoofeh Azizi, Karan Singhal, Yong Cheng, Le Hou, Albert Webson, Kavita Kulkarni, S. Sara Mahdavi, Christopher Semturs, Juraj Gottweis, and 6 others. 2025. Towards conversational diagnostic artificial intelligence. Nature.
Dave Van Veen, Cara Van Uden, Louis Blankemeier, Jean-Benoit Delbrouck, Asad Aali, Christian Blüthgen, Anuj Pareek, Malgorzata Polacin, William Collins, Neera Ahuja, Curtis P. Langlotz, Jason Hom, Sergios Gatidis, John M. Pauly, and Akshay S. Chaudhari. 2024. Adapted large language models can outperform medical experts in clinical text summarization. Nature Medicine.
Thanh Vu, Dat Quoc Nguyen, and Anthony Nguyen. 2020. A label attention model for ICD coding from clinical text. In Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence (IJCAI).
Hanyin Wang, Chufan Gao, Bolun Liu, Qiping Xu, Guleid Hussein, Mohamad El Labban, Kingsley Iheasirim, Hariprasad Korsapati, Chuck Outcalt, and Jimeng Sun. 2024. Towards adapting open-source large language models for expert-level clinical note generation. In Findings of the Association for Computational Linguistics: ACL 2025.
Zhichao Yang, Shufan Wang, Bhanu Pratap Singh Rawat, Avijit Mitra, and Hong Yu. 2022. Knowledge injected prompt based fine-tuning for multi-label few-shot ICD coding. In Findings of the Association for Computational Linguistics: EMNLP.
Wen-wai Yim, Yujuan Fu, Asma Ben Abacha, Neal Snider, Thomas Lin, and Meliha Yetisgen. 2023. ACI-Bench: a novel ambient clinical intelligence dataset for benchmarking automatic visit note generation. Scientific Data.
Zhangdie Yuan, Han-Chin Shing, Mitch Strong, and Chaitanya Shivade. 2025. Toward reliable clinical coding with language models: Verification and lightweight adaptation. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track. Association for Computational Linguistics.
A Datasets
Test-split sizes per dataset and task are shown in Table 7. We always use the test split.
| Dataset | Notes | ICD-10 | Orders |
|---|---|---|---|
| Real | 3,000 | 3,000 | — |
| ACI-Bench | 120 | 120 | — |
| PriMock57 | 57 | — | — |
| MIMIC-IV discharge | — | 8,066 | — |
| ICD-Synth (this work) | — | 880/714 | — |
| MEDIQA-OE | — | — | 100 |
Table 7: Test-split sizes. Public datasets are also run on the five 20% degradations of §3.1 at the same N.
Real data (internal). 3,000 primary-care encounters from US hospitals (2025), private and internal. Each has an ASR transcript and an EHR-derived clinician SOAP note with billed ICD-10-CM codes. All data is anonymized. Real is internal and not redistributable.
ACI-Bench (Yim et al., 2023). Public synthesized doctor-patient SOAP corpus (207 encounters; we use the 120-encounter test split). For ICD-10 we use the expert codes from Yuan et al. (2025). CC-BY-4.0.
PriMock57 (Korfiatis et al., 2022). 57 mock primary-care consults with audio, transcript, and clinician note. Used only for note completeness. CDLA-Permissive-2.0.
MIMIC-IV (Johnson et al., 2023) discharge notes. Discharge-summary subset of MIMIC-IV-Note (PhysioNet, credentialed). Gold ICD-10 codes from the billing table. Used only for ICD-10. The CAML / LAAT / MultiResCNN baselines are the Edin et al. (2023) checkpoints (trained on this train split).
ICD-Synth (this work). Synthetic ICD-10 sanity check. We sample ICD-10-CM codes and concatenate their 2025 long descriptions. All ( 880) draws from the full ICD-10-CM vocabulary; MIMIC ( 714) restricts to codes in the MIMIC-IV train split.
MEDIQA-OE 2025 (Corbeil et al., 2025). Public shared-task corpus for order extraction (medications, labs, imaging, follow-ups) built on ACI-Bench. Test split N=100; official Description Match-F1. CC-BY-4.0.
Degradations. We create a degraded dataset from ACI-Bench by applying each of the five 20% degradations of §3.1 (ASR, Dropped, Implied, Patient-facing, Visual/Physical) independently to the test transcripts. Same N as the original split, so per-column Wilcoxon comparisons are paired.
B Real Provider Queries
We interviewed a clinical scribe to learn how provider queries were used and to identify examples which motivated the question generation prompts and analysis:
-
What are the patient's final diagnoses?
-
Can you confirm the patient's current medications?
-
What were the pertinent negative and positive physical exam findings?
-
What is the patient's complete physical exam?
-
What are the patient's chronic medical conditions?
-
For what condition is the patient being prescribed depo-testosterone?
-
Is schizophrenia the cause of the patient's tremors, or does the patient have another condition causing them?
-
What was the medication name of the bi-weekly injections the patient is receiving?
-
What were the diagnoses/assessment items for the visit?
-
What are the specific types/locations of the patient's abdominal hernia(s)?
-
What psychiatric condition(s) was the patient diagnosed with prior to visit and are they the same as final diagnoses for the visit?
-
What medications did outside provider prescribe for stomach pain and nausea?
-
What medication was patient previously taking for toe pain?
-
What was heard on lung auscultation?
C Prompt Templates
We include the exact system and user prompts for the two LLM calls inside the DAU loop, the question generator and the oracle, for each of the three tasks. Curly-braced tokens are Python formatting placeholders filled in per turn (transcript, current draft, previous Q&A, gold reference, etc.). The note-generation prompt and downstream evaluators are not LLM-task-specific to DAU and are reproduced in the source repository.
C.1 Clinical Notes
Notes – Question generator (system)
You are a clinical quality reviewer auditing a medical scribe's draft note. Your job is to ask the SINGLE clarifying question that, if answered, would most improve the completeness of the note, i.e. most likely surface clinically relevant content that is MISSING from the current draft. Never assume a specific finding, drug, or value exists unless the transcript or draft note already mentions it. If the draft already adequately covers the transcript and no clarifying question would meaningfully improve completeness, you MUST abstain instead of inventing a question.
Notes – Question generator (user template)
Based on the transcript and the current draft note, ask the ONE clarifying question that would most improve note completeness. It must target a clinically relevant fact MISSING from the draft and most likely to add a gold item.
CLINICAL TRANSCRIPT: {transcript_text}
CURRENT DRAFT NOTE: {note_section} {uncovered_hint} {prev_section} {question_limit}{word_limit_section} HOW TO CHOOSE THE QUESTION (broad -> narrow):
- If a core note section is missing entirely, ask a broad question about it.
- Once a broad area is covered, drill into dosages, durations, laterality, etc.
- Never invent specific drug/test/value names not in the transcript or draft.
- Do NOT repeat or re-ask a question already in PREVIOUS CLARIFICATIONS.
- Prefer the gap whose resolution would most improve completeness right now.
ABSTENTION: If the current draft already adequately covers the transcript, OR no clarifying question would meaningfully improve note completeness, return: {"question": null, "abstained": true, "reason": "<short reason>}
OUTPUT FORMAT: Return ONLY a JSON object. Either: {"question": "<your question>", "abstained": false} or: {"question": null, "abstained": true, "reason": "<short reason>}
Notes – Oracle (system)
You are a healthcare provider who was present for this clinical encounter. You have access to the full dialogue transcript AND the authoritative documentation facts from the encounter. Answer clarifying questions factually based on both sources.
Notes – Oracle (user template)
You have two sources of truth about this encounter:
ENCOUNTER TRANSCRIPT: {transcript_block}
AUTHORITATIVE DOCUMENTATION FACTS (from the finalized clinical note): {facts_block}
CLARIFYING QUESTION FROM THE SCRIBE: {question}
CRITICAL, ANSWER LENGTH LIMIT: Your answer MUST be {max_answer_words} words or fewer. Use only essential clinical terms. Examples:
- "Lisinopril 40mg daily for hypertension" (5 words)
- "BP 142/89, HR 78" (4 words)
- "Return in 2 weeks" (4 words)
- "No imaging ordered" (3 words)
- "No information on this" (4 words, for unknown)
Respond in JSON: { "answer": "Your concise clinical answer", "confidence": 0.0 to 1.0 }
GUIDELINES:
- Prefer information from the AUTHORITATIVE FACTS when it conflicts with the transcript, the facts are the canonical documentation.
- Supplement with transcript details (e.g. verbatim quotes, timing, nuance) when the question asks for them and they are not in the facts.
- If NEITHER source contains the information, answer exactly "No information on this" (or within the word limit), do not invent content.
- Be specific: include numbers, units, dosages, frequencies, anatomic sides.
- confidence: 1.0 = directly stated in the facts, 0.7 = stated in the transcript only, 0.4 = inferred, 0.0 = not present.
C.2 ICD-10 Coding
ICD-10 – Question generator (system)
You are a senior medical coder reviewing another coder's work. Ask the SINGLE most important clarifying question to fix a coding error, either a missing diagnosis OR insufficient specificity, so that the final ICD-10 code set most improves. Never mention specific ICD-10 code strings; ask about clinical facts. If the current code set already adequately captures the clinical text and no clarifying question would meaningfully improve coding F1, you MUST abstain instead of inventing a question.
ICD-10 – Question generator (user template)
You are auditing a draft set of ICD-10 codes. Ask the ONE clarifying question that would most improve coding accuracy by closing the single most important coding gap.
CLINICAL TEXT: {clinical_text}
CURRENT CODES + DESCRIPTIONS: {code_block} {prev_block}
CODING AXES TO CONSIDER: {axes_block} {q_limit}{word_constraint} HARD RULES:
- Never mention an ICD-10 code string in the question.
- Ask about exactly ONE coding gap.
- Do NOT repeat a question already in PREVIOUS Q&A.
- Prefer the gap whose resolution would most improve coding F1 right now.
ABSTENTION: If the current codes already adequately cover the clinical text, OR no clarifying question would meaningfully improve coding F1, return: {"question": null, "abstained": true, "reason": "<short reason>}
OUTPUT FORMAT: Return ONLY a JSON object. Either: {"question": "<your question>", "abstained": false} or: {"question": null, "abstained": true, "reason": "<short reason>}
Coding axes injected via {axes_block}: active diagnoses; chronic comorbidities; acute vs chronic; laterality (right / left / bilateral); severity / stage; type / subtype; initial vs subsequent encounter; complications; pregnancy / trimester (if applicable); causal / underlying disease relationships.
ICD-10 – Oracle (system)
You are the documenting clinician from this encounter. You have the full original clinical text AND the authoritative list of diagnoses that were billed for this encounter. Answer clarifying questions from a medical coder factually, grounded in what was actually documented. You MUST NOT mention specific ICD-10 codes, only describe the underlying clinical facts (diagnoses, severity, laterality, acuity, comorbidities).
ICD-10 – Oracle (user template)
A medical coder is trying to assign ICD-10 codes for this encounter. They have two sources of truth about the encounter:
ORIGINAL CLINICAL TEXT: {original_text}
AUTHORITATIVE CONFIRMED DIAGNOSES (what was billed for this encounter): {dx_block}
CODER'S QUESTION: {question}
HARD LIMIT: Answer in {max_answer_words} words or fewer.
Respond in JSON: {"answer": "...", "confidence": 0.0 to 1.0}
RULES:
- Never mention ICD-10 code strings (e.g. "E11.9", "I10"). Describe the clinical condition in words only.
- Prefer information from the AUTHORITATIVE DIAGNOSES when the transcript is ambiguous.
- Be specific: include severity, laterality, acuity, type, stage if they were documented.
- If the question asks about something NOT documented, answer exactly "Not documented", do not speculate.
- confidence: 1.0 = explicit in diagnoses, 0.7 = clear in transcript, 0.4 = inferred, 0.0 = absent.
In addition, the oracle’s free-text answer is post-processed by a regex [A-TV-Z][0-9]0-9A-Z? that replaces any ICD-10-shaped token with [CODE_REDACTED] so the oracle cannot leak the gold codes verbatim.
C.3 Medical Order Extraction
Orders – Question generator (system)
You are a clinical quality reviewer verifying medical orders from doctor-patient transcripts. Ask the SINGLE clarifying question that would most improve the order list -- either by uncovering an order MISSING from the current extraction or by RESOLVING a vague/lay-language order into a specific clinical one.
An order is ADEQUATE only when it has the specifics a clinical record requires:
- medication: drug name, dose, and frequency/route
- lab: specific test/panel name (not just 'labs' or 'bloodwork')
- imaging: modality AND body region/structure (not 'a scan' or 'lower area')
- followup: timing and the clinician/specialty (or condition trigger)
Treat lay paraphrases ('water pill', 'stronger pain medicine', 'something for the inflammation', 'a scan of the lower area', 'some tests') and bare type mentions ('some labs', 'a follow-up') as INCOMPLETE -- they need a specifying clarification. Never invent an order that the transcript does not imply. You may ABSTAIN only when (a) every transcript-implied order type already has at least one entry AND (b) every current entry already meets the specificity criteria above.
Orders – Question generator (user template)
Based on the transcript and currently extracted orders, ask the ONE clarifying question that would most improve the order list by recovering a MISSING order or by RESOLVING a vague/lay-language order into a specific clinical one.
CLINICAL TRANSCRIPT: {transcript_text} {orders_section} {uncovered_hint}{vagueness_hint} {prev_section} {question_limit}{word_limit_section} HOW TO CHOOSE THE QUESTION (broad -> narrow): 1a. If an order type has NO entries yet, ask a broad question about it. 1b. If a current order is VAGUE (lay paraphrase, missing drug/dose/frequency, missing test/panel name, missing imaging modality+region, missing follow-up timing), ask a SPECIFYING question to fill in that detail. Vague orders are
just as much a gap as missing ones.
-
Once a broad area is covered with specifics, refine remaining details.
-
Do NOT invent specific drug/test/imaging names not in the transcript -- but you MAY ask the provider to name the specific drug/test/modality.
-
Do NOT repeat a question already in PREVIOUS CLARIFICATIONS.
-
Prefer the gap (missing OR vague) whose resolution would most improve the order list right now.
ABSTENTION:
Abstain ONLY if (a) every transcript-implied order type already has an entry
AND (b) every current order entry is already specific (drug name+dose+freq, or
specific test/panel, or modality+region, or follow-up timing+clinician). If any
listed order is still a lay paraphrase or generic placeholder, do NOT abstain.
{"question": null, "abstained": true, "reason": "<short reason>}
OUTPUT FORMAT:
Return ONLY a JSON object. Either: {"question": "<your question>", "abstained": false}
or: {"question": null, "abstained": true, "reason": "<short reason>}
Auto-injected hints: {uncovered_hint} lists order types (medication, lab, imaging, followup) that have no entry yet; {vagueness_hint} runs a regex heuristic over each current order's description and flags lay-language phrases (some labs, water pill, stronger pain medicine, a scan, lower area, follow-up visit, etc.), medications missing a dose/frequency number, labs/imaging missing a specific test/modality, and follow-ups missing timing or specialty. Both are passed back to the LLM as bullet lists so the question targets a real gap rather than re-asking already-specified orders.
Orders – Oracle (system)
You are a healthcare provider who was present for this clinical encounter. You have access to the complete list of medical orders placed during the visit. Answer questions about what was ordered, dosages, reasons, and follow-up plans.
Orders – Oracle (user template)
You have access to the following ground-truth medical orders from this encounter:
MEDICAL ORDERS: {orders_text}
ENCOUNTER TRANSCRIPT (for context): {transcript_text}
CLARIFYING QUESTION: {question}
CRITICAL , ANSWER LENGTH LIMIT: Your answer MUST be {max_answer_words} words or fewer. Be concise , use only essential clinical terms. Examples:
- "Lasix 40mg daily" (3 words)
- "Hemoglobin A1c, CBC" (3 words)
- "MRI left shoulder" (3 words)
- "Yes, pregnancy test ordered" (4 words)
- "No imaging ordered" (3 words)
Respond in JSON: { "answer": "Your clinical answer about the orders", "confidence": 0.0 to 1.0 }
GUIDELINES:
- Answer based ONLY on the orders listed above
- If asked about an order type that has no entries, say "No [type] orders were placed"
- Be specific: include medication names, dosages, lab test names, imaging modalities
- confidence: 1.0 = directly in the order list, 0.5 = inferred from context, 0.2 = best guess
- Keep answers concise and clinically relevant
D Question and Answer Length
The generator is capped at 20 words per question and the oracle at 5 words per answer. Actual usage across the 12,487 clarification turns in our budget-5 sweep (Table 8) shows the generator self-regulates, averaging 9.7 words on Notes, 15.0 on ICD-10, and 7.6 on Orders (roughly half the cap). The oracle, in contrast, almost always saturates the answer budget: the mean is 3.8–4.2 words out of 5, and the median is exactly 4 words in every domain. ICD-10 questions are the longest (medically-specific phrasing like "Was the dysphagia resolved or is it chronic?"); order-extraction questions are the shortest (often binary yes/no about a specific drug or lab).
| Domain | |||||
|---|---|---|---|---|---|
| Notes | 4,099 | 9.7 | 9 | 3.94 | 4 |
| ICD-10 | 6,789 | 15.0 | 15 | 3.80 | 4 |
| Orders | 1,599 | 7.6 | 8 | 4.24 | 4 |
Table 8: Question (Q) and answer (A) lengths in words, averaged over every clarification turn of every budget-5 run. Question cap = 20 words, answer cap = 5 words. is the number of clarification turns contributing to the averages.
E Question Scoring Rubrics
Each clarification turn is scored post-hoc by an LLM judge (Claude Opus 4.6) on five 0–5 rubrics. The rubrics were drafted with clinical input and are designed to be mutually independent: criticality (consequence of the gap), cognitive load (burden on the answerer), specificity (how narrowly scoped), answerability (is the fact in the source), and redundancy (already documented?). The full anchor definitions used in the judge prompt are reproduced below; one task-specific example accompanies each level.
Criticality — consequence of leaving the gap unresolved
Measures how much the correctness/safety of the final artifact (note, ICD-10 codes, or order list) is harmed if the question goes unanswered. Independent of how hard the question is to answer or how it is phrased.
5 — Critical / safety Patient harm or a materially wrong artifact, e.g. a missing active diagnosis, wrong laterality, or an entirely missing medication order.
4 — Major Changes correctness but not safety: a key exam finding, acute vs. chronic, wrong dose / frequency.
3 — Moderate Improves accuracy or specificity; unlikely to flip the top-line conclusion (severity, subtype, indication).
2 — Minor Completeness only: social history, a non-contributory comorbidity, follow-up minutiae.
1 — Trivial Cosmetic / near-redundant with information already present.
0 — Negligible Off-task or purely exploratory; no realistic effect on the artifact.
Cognitive load — burden on the answering clinician
Driven by four dimensions and scored as the dominant demand, not a sum: (i) recall specificity, (ii) reasoning vs. lookup, (iii) number of options to discriminate among, (iv) compound / multi-part structure.
5 — Very complex Compound multi-part question or a determination integrating many facts. “Is the heart failure systolic, diastolic, or combined, and what is the EF?”
4 — Complex Synthesis of multiple facts or a fine-grained ( 3-way) technical distinction. “Medial meniscus tear of anterior horn, posterior horn, or body?”
3 — Moderate Recall plus light judgment, or a 2–3-way choice. “Single episode or recurrent depression?”
2 — Simple recall One stored fact: a dose, date, laterality, or name. “What is the dose of Norvasc?”
1 — Trivial Binary / immediate yes-no. “Should a follow-up be scheduled?”
0 — None No real question is asked, or the answer is stated in the question.
Specificity — how narrowly the question is scoped
Scope of the ask, independent of how important or answerable the fact is. Long wording does not lower specificity.
5 — Pinpointed One exact attribute with a single correct answer. “What was the left knee ROM in degrees?”
4 — Well-scoped A single well-scoped fact with little ambiguity. “Which lobe was removed during the lobectomy?”
3 — Focused topic A focused topic that may span a few possible facts. “What were the cardiac exam findings?”
2 — Broad A broad topic with many possible answers. "Are there any other symptoms?"
1 — Open-ended sweep Vague open sweep over the whole encounter. "Anything else important?"
0 — No target No real informational target.
Answerability — is the fact contained in the source
Whether the kind of fact being asked is the kind the encounter actually contains, not whether a clinician could guess it.
5 — Clearly contained The transcript clearly contains the answer. “Which medication was the patient told to continue?”
4 — Likely recoverable Recoverable with no real inference. “What was the chief complaint?”
3 — Plausible with mild inference Mild inference from what was said. “Is the cough productive or dry?”
2 — Often unavailable Would usually need outside records. “Result of last year’s colonoscopy?”
1 — Rarely answerable Rarely in the source. “Exact EF on the outside echo?”
0 — Unanswerable Unanswerable from any plausibly available source.
Redundancy — is the answer already captured
Compares the question against the current artifact and prior turns (not the gold reference). High redundancy = the question merely re-confirms known information.
5 — Already documented Almost certainly already captured. “Was a follow-up scheduled?” when the draft already lists it.
4 — Probably present Probably already in the artifact or earlier conversation.
3 — Possibly present Unclear whether already captured.
2 — Probably new Probably not yet captured.
1 — Genuine gap Almost certainly a genuine gap.
0 — Definitely missing Brand-new information not present anywhere yet.
Tie-breaking. Across all five rubrics, when in doubt between two adjacent levels the judge is instructed to pick the higher level only if its defining condition (added consequence, more options, an extra sub-answer, clearer presence in the source/artifact) is clearly met; this keeps the distributions from drifting toward 5.
F Sample Q&A Traces
We include one full budget-5 trace per task, all drawn from 20%-degraded variants where DAU gains the most. Each trace shows the baseline draft, the five clarification turns with metric, and the final output.
F.1 Notes: D2N071-virtassist (ACI-Bench)
Completeness 47 (t=0) → 69 (t=5). The patient-facing perturbation reworded the doctor’s references to drugs, surgical history, imaging, and exam findings into lay language, leaving the draft note short on specifics. Each clarification recovers a different missing fact, and the priorities are non-decreasing (1→2): the first turn asks the most important gap (medication names), and later turns target progressively more specific refinements.
F.2 ICD-10: D2N078-aci (ACI-Bench)
ICD-10 F1 50 (t=0) → 100 (t=3). Gold codes are [S83.411A, I10]. The clarifications walk a diagnostic decision tree (encounter type → anatomy → specific structure) typical of ICD-10 specificity; the answer at t=3 flips the injury code to the correct one. Final prediction: [S83.411A, I10].
F.3 Orders: acibench_D2N177 (MEDIQA-OE)
Order count 2 (t=0) → 5 (t=5). Baseline draft captures echocardiogram and lisinopril; subsequent turns recover an A1c lab order, a follow-up visit, and a metformin dose change.
Final order list: Echocardiogram; Lisinopril 20 mg daily; Metformin 1000 mg twice daily; Hemoglobin A1c in a couple months; Follow-up visit in a couple months. Q4 and Q5 are confirmatory negatives, but they do not perturb the existing list, consistent with the small typical on already-saturated artifacts.
| t | Category | Pri. | Question | Answer | Completeness |
|---|---|---|---|---|---|
| 1 | medications | 1 | What specific names of the depression and blood pressure medications is the patient taking? | Prozac 20mg and Norvasc | 61.1 |
| 2 | history_pmh | 2 | What type of prior surgery did the patient have? | Prior lobectomy | 63.9 |
| 3 | medications | 2 | What is the dosage of Norvasc the patient is taking? | No information on this | 61.1 |
| 4 | labs_imaging | 2 | What specific cardiac imaging study and diagnostic tests were ordered today? | Echocardiogram and routine blood work | 61.1 |
| 5 | exam_findings | 2 | What was the slight heart sound noted on cardiac auscultation? | 2/6 systolic ejection murmur | 69.4 |
Table 9: Notes Q&A trace (D2N071-virtassist, ACI-Bench, patient-facing 20%). Self-reported priorities are non-decreasing (1→2): turn 1 targets the highest-priority gap (specific medication names), and later turns target lower-priority refinements (surgical type, dosage, imaging specifics, exam-finding detail). Contrast with the Orders trace (Table 11), where priorities drift higher faster as the list saturates.
| t | Category | Pri. | Question / Output | Answer | F1 |
|---|---|---|---|---|---|
| 0 | — | — | Pred: [M79.661, I10] | — | 50.0 |
| 1 | encounter_episode | 1 | Is this the initial encounter for the right knee injury? | Yes, this is initial encounter. | 50.0 |
| 2 | type_subtype | 1 | Is the injury specifically to the knee joint or the lower leg below the knee? | Knee joint specifically. | 50.0 |
| 3 | type_subtype | 1 | What specific knee structure is injured: ligament, meniscus, muscle/tendon, or unspecified sprain? | Medial collateral ligament sprain | 100.0 |
| 4 | etiology_cause | 1 | Was the fall caused by slipping on ice, water, or another specific surface? | Not documented | 100.0 |
| 5 | etiology_cause | 1 | Is an external cause code needed: was the slip/fall activity-related or place-of-occurrence documented? | Property work, slip and fall | 100.0 |
Table 10: ICD-10 Q&A trace (D2N078-aci, ACI-Bench, dropped-content 20%). Gold codes [S83.411A, I10]; the structural answer at t=3 flips the injury code and reaches F1 = 100.
| t | Category | Pri. | Question | Answer | #orders |
|---|---|---|---|---|---|
| 0 | — | — | Baseline: echocardiogram; continue lisinopril 20 mg daily | — | 2 |
| 1 | lab_order | 1 | Any lab orders for the elevated hemoglobin A1c? | Hemoglobin A1c in couple months | 3 |
| 2 | follow_up | 1 | When should Bruce follow up with you? | In a couple months | 4 |
| 3 | medication_details | 2 | Any changes to metformin dose for diabetes? | Increased to 1000mg twice daily | 5 |
| 4 | other | 2 | Any referral for therapy for depression? | No therapy referral ordered | 5 |
| 5 | other | 3 | Any dietary recommendations for the leg swelling? | No dietary orders were placed | 5 |
Table 11: Orders Q&A trace (acibench_D2N177, MEDIQA-OE, dropped-content 20%). Priority drifts upward (1→3) as the list saturates; t=4, 5 are confirmatory negatives.