Content validation of large language model–generated medication reconciliation cases for resident assessment: instrument validation study
Priyamvada Tripathi, Katie Oakes, Alex Sugerman, Ki Jung Lee, Jenna Port, Dan [surname TBC], Matthias Scheutz
Authorship order is provisional. ORCIDs are required for all authors; collect them early. Confirm Dan's ICMJE qualification (adjudicator plus design/revision).
Abstract · JMIR structured format · max 450 words · headers: Background–Objective–Methods–Results–Conclusions
Background: Large language models (LLMs) can quickly generate clinical case vignettes, but published studies demonstrate only feasibility; none report validity evidence. Reported hallucination rates of 16%–28% in LLM-generated educational content[2,3] make unreviewed cases unsafe for assessment, because a single unintended error contaminates the score.
Objective: We developed and applied a content-validation pipeline that carries LLM-generated discharge medication reconciliation cases from generation to assessment readiness. The pipeline produces systematic content evidence, the first link in a validity argument, under a pre-specified protocol.
Methods: Nine expert-authored cases served as the specification standard and as few-shot exemplars. We generated each synthetic case against a structured schema that contains resident-visible clinical content and a hidden answer key. The answer key specifies the planted error, its taxonomy category, where the error is detectable, and its severity.[10] Error categories combined AHRQ MATCH reconciliation discrepancies[6] with a second family of transition-of-care gaps. We derived this second family from a targeted needs assessment of residency program leadership and anchored each gap type to the transitions-of-care literature.[17] Two clinician raters independently evaluated every synthetic case against a five-criterion pass/fail rubric: plausibility; intended error present and correctly classified; detectability from documents alone; absence of unintended errors; and difficulty. The raters completed a calibration session on expert-authored cases before live rating. A third clinician, naive to seed authorship and prompt design, independently rated plausibility. A separate clinician adjudicated disagreements.
Results: [Placeholder: N of M cases passed on first rating; per-criterion agreement reported descriptively with Gwet's AC1 and confidence intervals; naive-rater concordance on plausibility; unintended errors detected in X cases (Y%), described by type and severity; adjudication outcomes; generation and validation burden in hours and cost.]
Conclusions: [Placeholder: The pipeline supplies content-validity evidence (the foundation, not the entirety, of a validity argument) for LLM-generated assessment cases. Response-process, internal-structure, and consequences evidence await learner administration. The schema and rubric are designed for reuse.]
Introduction
Medication reconciliation, the process of identifying the most accurate list of a patient's medications and resolving discrepancies across care transitions, is a cornerstone of safe hospital discharge.[6,8] When reconciliation fails, patients leave hospital with medication lists that omit needed therapies, duplicate active drugs, or carry dosing errors, and these discrepancies are a leading driver of preventable post-discharge adverse drug events.[9,18] Training residents to perform reconciliation reliably therefore demands realistic practice cases in which errors are deliberately embedded, correctly classified, and recoverable only from the documents a clinician would actually review.[6,17]
Constructing such a case library by hand is slow and costly. Each case must present a coherent clinical picture (demographics, comorbidities, three medication lists, notes, and labs) while concealing a single planted error whose presence, category, and detectability are known in advance. The effort scales poorly: a faculty author may produce only a handful of vetted cases per month, and the resulting library rarely spans the full taxonomy of reconciliation failures a resident should encounter.[1] This supply bottleneck has limited the breadth and frequency of reconciliation training in residency programs.
Case-based training is itself not new. It descends from the problem-based learning (PBL) tradition introduced at McMaster University in the late 1960s, in which faculty-authored paper vignettes anchored small-group tutorials and progressively shaped how clinical reasoning is taught.[25] The psychological rationale for anchoring instruction in cases rather than isolated facts was articulated and reviewed over the following decades, establishing case-based learning as a pedagogic mainstay in medical education.[26] Traditionally, such cases were generated by hand: faculty distilled real or hypothetical patient encounters into structured vignettes, an artisanal process that has remained largely unchanged for decades and that scales poorly to the volume and variety a modern competency-based curriculum demands.[17]
In the problem-based learning tradition, a clinical case presents a coherent patient encounter — demographics, history, physical findings, laboratory results, and clinical notes — structured to trigger clinical reasoning rather than to display isolated facts.[25,26] For medication reconciliation specifically, the AHRQ MATCH toolkit specifies that training cases must present multiple medication lists (the best possible medication history, inpatient orders, and the discharge list) across which the learner hunts for discrepancies, and that each discrepancy must be classified against a defined taxonomy: omission, commission, dose/route/frequency discrepancy, or therapeutic substitution.[6] The governing design principle is that the planted error must be recoverable from the documents a clinician would actually review. The learner detects it through chart review alone, not through information withheld or supplied externally, so that the assessment measures the real-world skill of finding discrepancies rather than the ability to notice what is missing from the case itself.
The practice of deliberately embedding errors in educational material draws on a broader tradition of error-focused training in medicine. The Institute of Medicine's report To Err Is Human established medical error as a leading cause of preventable death and catalyzed a generation of patient-safety curricula in which learners practice error recognition and prevention in a controlled setting before encountering errors with real patients.[27] Historically, medical education has handled errors through morbidity and mortality conferences, where real cases with adverse outcomes are dissected retrospectively to teach error recognition; residents also learn informally from their own mistakes, though the literature shows this learning is inconsistent and often depends on whether faculty create a safe environment for disclosure.[28] Simulation-based training and structured case exercises extend this tradition by embedding errors deliberately, so that learners practice detection in a controlled setting rather than learning solely from real adverse events. Our planted-error reconciliation cases sit in this latter tradition: the error is designed in, not encountered by chance, and the learner's task is to find it from the documents provided.
Large language models (LLMs) offer a potential solution by generating structured clinical content at scale. Early work confirms that LLMs can produce plausible vignettes quickly,[1] and that expert raters judge many generated cases as realistic and diagnostically appropriate.[2,3] Yet generation speed is not assessment readiness. The same studies report hallucination rates of 16%–28% (internally contradictory clinical details or multiple defensible answers) that are tolerable in a teaching case an instructor reviews on the fly but disqualifying in an assessment case scored against a hidden key.[2,3,4] Whether LLM-generated cases can meet the stricter standard required for assessment has not been established.
Background
This study moves LLM-generated cases from feasible to defensible. Case-based assessment of medication reconciliation requires a library of realistic discharge cases, and manual authoring is labour-intensive.[1] Discharge is a high-risk care transition: adverse drug events after discharge are common, and reconciliation errors (omissions, duplications, and dose discrepancies) are a leading cause.[7,8,9] Training residents to detect these errors requires cases in which the error is designed in: planted deliberately, categorized, and recoverable from the documents alone.
LLMs generate clinically plausible vignettes quickly. Bakkum et al produced 30 diverse vignettes per hour with structured prompting.[1] Zhang et al and Emekli et al showed that expert panels rate LLM-generated cases as largely realistic and diagnostically appropriate.[2,3] Feasibility is no longer the question.
But feasibility studies also show contamination. Zhang et al found hallucinations (internally contradictory clinical details) in 16.7% of generated cases.[2] Emekli et al found that 28% of generated items had more than one defensible correct answer.[3] Surapaneni documented answer instability across regeneration attempts.[4] For teaching material, an expert can catch these errors at the point of use. For assessment material, they are fatal: an unintended discrepancy in a reconciliation case is indistinguishable from the planted one, so the scoring logic cannot tell them apart.
In Kane's argument-based framework,[13,14] the inference from a resident's response to a score assumes that each case contains exactly the error specified in its key, correctly categorized and recoverable from the presented documents. This scoring-inference assumption is purely a matter of content, so expert review can check it before any learner takes the assessment. That is the specific, bounded contribution of this study: systematic content evidence for the scoring inference, collected under a pre-specified protocol. We make no claims about response process, internal structure, relations to other variables, or consequences; those require learner data and form the next study. Feasibility work to date has supplied none of these links; Bakkum et al explicitly deferred evaluation to future work,[1] and content evidence must come first, because every downstream inference inherits its failures.
Two adjacent lines of work are relevant. Automatic item generation (AIG) solved template-driven generation for multiple-choice questions through item models,[11] and hybrid human-in-the-loop AIG has produced validity evidence for generated items.[23] AIG items, however, are single-stem questions with a defined correct answer; they do not present a multi-document patient chart, and their validation confirms item quality (clarity, plausibility, single-best-answer) rather than the fidelity of a planted error. Separately, expert panels have reviewed LLM-generated exam questions at scale — Cheung et al compared ChatGPT and human-authored MCQs across multinational institutions and rated question quality, not error fidelity[20] — and LLM case feasibility has been explored in case-based learning, where Sauder et al and Berbenyuk et al assessed generated vignettes for realism and educational value but did not embed or validate a planted error.[21,22] The LLM case-generation studies most relevant to ours — Bakkum et al, Zhang et al, and Emekli et al — likewise generated vignettes or vignette-plus-MCQ sets and evaluated plausibility and diagnostic appropriateness; none structured the case around a hidden answer key specifying a planted error, its taxonomy category, its detectability location, and its severity.[1,2,3] Neither line covers the object at hand: multi-document clinical cases in which a specified error is the assessment payload, carried in a hidden answer key. For these cases, validation must confirm not item quality but error fidelity: the presence, classification, detectability, and exclusivity of the planted error.
Knowledge Gap
Despite a growing body of LLM feasibility work, three gaps remain.
Gap 1 — No content-validity evidence for cases with hidden answer keys. No published study reports content-validity evidence (the foundational scoring-inference link) for LLM-generated cases carrying a hidden answer key; feasibility studies explicitly defer evaluation to future work.[1]
How we address it: We apply a pre-specified, calibrated, adjudicated content-validation pipeline under a pre-registered protocol. The case schema doubles as the answer key, and a five-criterion pass/fail rubric — rated by two calibrated primary raters, one naive rater, and an independent adjudicator — produces systematic content evidence for the scoring inference before any learner is assessed.[13,14]
Gap 2 — Existing rubrics target item quality, not error fidelity. Validation rubrics in the existing literature target item quality (clarity, plausibility, single-best-answer),[20,23] not error fidelity, and therefore cannot detect the contamination that makes a planted-error case unscorable.
How we address it: We developed a purpose-built rubric whose hard-gate criteria (2–4) target error fidelity directly: criterion 2 confirms the intended error is present and correctly classified against the MATCH-anchored taxonomy; criterion 3 confirms it is detectable from the documents alone; criterion 4 confirms no unintended errors are present. These criteria detect exactly the contamination that item-quality rubrics miss, because an unintended discrepancy is indistinguishable from the planted one at scoring time.
Gap 3 — No reported rate of unintended errors under active hunting. No study has reported the rate and character of unintended errors under active hunting in LLM-generated multi-document cases, even though contamination rates of 16%–28% in simpler formats[2,3] suggest this is the expected condition.
How we address it: Rubric criterion 4 requires active hunting — raters deliberately search for discrepancies beyond the planted error rather than passively noticing them — and we report every unintended error found, by type and severity (NCC MERP), as a primary result.[10] This quantifies the contamination rate in the multi-document format for the first time and supplies the baseline against which the scoring inference can be trusted.
Closing these three gaps is the specific contribution of this instrument validation study.
Conceptual Framework
Medication reconciliation as an observable clinical competency
We conceptualize medication reconciliation competency as the ability to transform distributed and potentially conflicting medication information into a clinically justified reconciliation decision. Discharge medication reconciliation is therefore not a single judgment but a sequence of related judgments. A resident must compare several sources of medication information, identify where those sources disagree, determine whether each discrepancy was intended by a clinician or introduced by error, classify the nature of the problem, and select an appropriate response. The competency assessed in this framework therefore extends from clinical information, through discrepancy detection and clinical interpretation, to a reconciliation decision. Each stage can fail independently. A resident may notice a difference between two medication lists but incorrectly judge it to be intentional, or may correctly identify an unintentional omission but select an inappropriate response.
This competency becomes observable through performance. Self-reported confidence or recall of reconciliation principles provides limited evidence about whether a resident can carry out the required reasoning in a realistic clinical situation. For this reason, structured cases serve as the unit of assessment, and residents' responses to those cases provide the observable evidence from which medication reconciliation competency can be inferred.
Synthetic cases as controlled assessment objects
A synthetic reconciliation case in this framework is not simply an AI-generated clinical vignette. It is a controlled assessment environment whose relevant properties are specified before the resident encounters it. Each case contains a coherent patient state, multiple medication information sources that must be reconciled, one or more deliberately planted discrepancies, the contextual clinical information necessary to interpret those discrepancies, and a recorded reference standard specifying the intended discrepancy, its category, the evidence required to identify it, and the acceptable resolution or response set.
Each case can therefore be understood as having two layers. The patient layer contains the information visible to the resident, including demographics, diagnoses, laboratory results, clinical notes, medication history, and discharge context. The assessment layer contains information known to the assessment system but concealed from the resident, including the planted discrepancy, its error category, the evidence that makes it detectable, its designed difficulty characteristics, and its expected resolution. Separating these two layers distinguishes the generation of controlled assessment objects from the generation of clinical text.
These two layers are stored in the CliniProof case database, but only the patient layer ever reaches the resident's screen. A vignette only needs to read plausibly (Layer 1). A case must additionally carry a pre-specified, recoverable, exclusive error (Layer 2) so it can be used to evaluate a medical resident's competency. In short: Layer 1 is what the resident reasons over, Layer 2 is what the system scores against. Together, clinical reasoning is evaluated over both layers.
How CliniProof evaluates reasoning across both layers
Within CliniProof, the resident encounters only the patient layer through a structured simulated electronic health record that presents the chart, the home medication list, the hospital medication list, and the clinical notes. The resident performs reconciliation by moving between these views for each medication, and navigation is non-linear by design so that the workspace mirrors real clinical workflow rather than guiding the resident toward the answer. As the resident works, the platform logs every navigation event, producing a timestamped process trace that records which information was consulted, in what order, and for how long. This process trace is itself a measure of reasoning, because systematic reconciliation requires deliberately comparing medication sources rather than passively reading a single list.
Alongside the process trace, CliniProof captures the resident's reasoning as a structured trace composed of the claims the resident makes while working through the case. Each claim is classified as an observation drawn from the documents, an inference that links observations to a clinical conclusion, an action proposed in response, or a justification that grounds an inference in evidence. These claims and the relations among them form an argumentation graph in which one claim may support, attack, qualify, or contradict another. The graph is therefore a representation of the resident's reasoning over Layer 1, not merely a record of the final answer.
Reasoning is then evaluated against both layers. Against Layer 2, the system scores whether the resident detected the planted discrepancy, classified it correctly against the taxonomy, and selected the recorded correct action; this is the deterministic accuracy component, and it depends entirely on the case carrying a pre-specified, exclusive error. Against the argumentation graph, the system evaluates the quality of the reasoning itself across five competency dimensions: clinical knowledge, reasoning coherence, safety awareness, evidence quality, and systematic approach. A resident may, for example, arrive at the correct action through a coherent, well-evidenced chain of inferences, or may reach the same action through a fragmented trace that omits key evidence or rests on an unjustified assumption; the two performances yield the same accuracy score against Layer 2 but different competency profiles from the graph. Evaluating reasoning over both layers thus separates getting the right answer from reasoning well to reach it.
The result is a multidimensional competency profile rather than a single aggregate score. Because each case carries a known discrepancy category, a known evidentiary structure, and specified difficulty characteristics, performance can be examined at the level of reasoning demand rather than only at the level of pass or fail. Patterns of successful and unsuccessful reasoning across controlled case types can then be used to identify where a resident reasons reliably and where reasoning breaks down, which in turn supports targeted feedback and the selection of additional cases for deliberate practice. Table 1a makes the two-layer mapping explicit by tying each abstract property of the model to the concrete fields of the case schema.
Table 1a. Two-Layer Case Architecture Mapped to the ClinicalCase Schema
| Layer | Conceptual property | Schema field(s) |
|---|---|---|
| Patient layer (resident-visible) | ||
| Patient | Demographics | patient_age, patient_gender, ethnicity, weight_kg, social_context |
| Patient | Diagnoses & history | admission_dx, medical_history, chief_complaint |
| Patient | Laboratory results | labs, vitals_at_discharge |
| Patient | Clinical notes | admission_notes_hp, consult_notes, hospital_course |
| Patient | Medication history (sources to reconcile) | admission_medications (BPMH), current_medications (inpatient), discharge_medications |
| Patient | Discharge context | followup_plan, discharge_instructions |
| Assessment layer (concealed answer key) | ||
| Assessment | Planted discrepancy | error_family (1/2/none), error_description |
| Assessment | Error category | error_category (omission, commission, monitoring gap, ...) |
| Assessment | Evidence making it detectable | trigger_meds, detectability_location (field ID) |
| Assessment | Expected resolution | correct_action |
| Assessment | Designed difficulty | difficulty, difficulty_a_priori (easy/moderate/hard) |
| Assessment | Clinical severity | severity_ncc_merp |
| Assessment | Intentional non-error changes | intentional_changes (distractors meant to be present) |
| Assessment | Clean-case signal control | clean_case flag (no planted error) |
Taxonomy and controlled injection of reconciliation errors
Cases in this framework are generated from an explicit two-family taxonomy of medication reconciliation failures stored in the CliniProof case database. Family 1 comprises reconciliation discrepancies adopted from the AHRQ MATCH toolkit:[6] medication omission, unintended commission (duplication), dose/route/frequency discrepancy, and therapeutic substitution, each qualified by the absence of a clinical explanation supporting the discrepancy. Family 2 comprises transition-of-care gaps derived from a targeted needs assessment and anchored to the transitions-of-care literature:[7,18,19] indicated co-prescription omitted, outpatient monitoring not arranged, held medication with no restart plan, insufficient supply or duration to reach follow-up, and hospital-only medications continued at discharge. A clean-case variant carries no planted discrepancy and serves signal-detection analysis. Each case record stores the error family, error category, trigger medication(s), the detectability location, the correct action, severity per NCC MERP,[10] the intentional non-error changes, and a provisional difficulty rating, so that the source, category, evidentiary basis, and expected resolution of every planted discrepancy are recorded rather than inferred after generation.
The central design principle is controlled error injection. Rather than asking a generative model to produce a clinical case and subsequently examining whatever discrepancies happen to appear, the intended patient scenario and target reconciliation error are specified in advance. The generative model is then constrained to produce the case against this assessment specification. Generation is therefore driven by an assessment blueprint rather than by an open-ended prompt.
This design provides three properties that open-ended case generation cannot reliably guarantee. The first is controllability, meaning that the reconciliation error being assessed can be deliberately selected. The second is traceability, meaning that the source, category, evidentiary basis, and expected resolution of each planted discrepancy are recorded rather than inferred after generation. The third is coverage, meaning that cases can be generated systematically across the reconciliation-error taxonomy rather than clustering around error types that happen to be commonly represented or convenient for faculty authors to construct.
Validity requirements for synthetic assessment cases
For this framework, we define six requirements that a synthetic reconciliation case must satisfy before it can function as an assessment object: clinical coherence, error fidelity, evidentiary sufficiency, error isolation, cue integrity, and educational appropriateness. These requirements form the conceptual basis of the validation protocol. Each requirement is stated as a definition, justified by its rationale, sharpened against the failure modes most characteristic of LLM-generated cases, operationalized through a specific rubric criterion, and located within Kane's argument-based validity framework.
Definition. The patient's demographics, diagnoses, medications, laboratory findings, clinical notes, and discharge plan are mutually plausible and internally consistent.
Rationale. A case must represent a patient state that could reasonably be encountered in practice rather than a collection of individually plausible but mutually incompatible details. Incoherence undermines interpretation because a resident who notices an inconsistency may reason about the artifact rather than the intended discrepancy, or may dismiss a real finding as another generation error.
LLM-specific threats. LLM generators commonly produce locally plausible but globally inconsistent content: a renal dose used for normal renal function, a lab value that contradicts the narrative, a discharge medication with no corresponding inpatient order, or a consult note that disagrees with the H&P. Each detail reads well in isolation; the incoherence appears only on cross-document review.
Operationalization. Rubric criterion 1 (clinical plausibility). Rated by two primary raters and independently by a naive rater blind to seed authorship and prompt design, to control the exemplar-style circularity risk. Fixable gate: an incoherent case can be revised and re-rated rather than discarded, provided the incoherence does not mask the planted error.
Validity link. Supports the scoring inference by ensuring the resident reasons over a coherent patient state rather than over generator artifacts.
Definition. The reconciliation discrepancy the case was designed to contain is actually present and corresponds to the specified error category.
Rationale. A case designed to assess an omission must contain a genuine omission, not a different medication problem that happens to elicit a similar response. Without fidelity, the answer key and the case content disagree, and the score reflects the wrong construct.
LLM-specific threats. Generators may substitute an easier or more salient error for the specified one, produce a partial error (a dose changed but not to the wrong value), or drift across the family boundary (a requested Family 1 omission rendered as a Family 2 monitoring gap). Category drift is especially common because the two families share surface features.
Operationalization. Rubric criterion 2 (intended error present and correctly classified). Raters compare the case against the hidden answer key and the MATCH-anchored taxonomy. Hard gate: a case whose planted error is absent, mis-categorized, or family-drifted cannot be scored against its key and is discarded or regenerated.
Validity link. Core scoring-inference check. If the key and the case disagree, no scoring logic can recover a defensible score regardless of resident performance.
Definition. The information necessary to recognize, interpret, and resolve the intended discrepancy is available within the case documents.
Rationale. A clinically meaningful error may exist but remain unsuitable for assessment if the learner would need information that has not been supplied. The case must contain sufficient evidence for the intended reasoning without requiring undocumented assumptions, so that failure to detect the error reflects a reasoning deficit rather than missing data.
LLM-specific threats. Family 2 errors are absences, detectable only through a trigger present in the documents. A generator may include the trigger (a steroid started) but omit the context that makes the missing companion action interpretable (no GI-risk history, no PPI contraindication noted), leaving the gap ambiguous rather than assessable. Insufficient evidence converts a detection task into a guessing task.
Operationalization. Rubric criterion 3 (detectability from the documents alone). For Family 1, raters confirm the discrepancy is recoverable by comparing the medication lists. For Family 2, raters confirm the trigger is present and unambiguous. Hard gate: a case requiring information not in the documents is unscoreable.
Validity link. Scoring inference. Ensures the observed response is attributable to the resident's reconciliation reasoning, not to absent evidence.
Definition. The case contains no unintended clinically meaningful discrepancies beyond the planted target.
Rationale. An unplanned second medication problem compromises interpretation because a resident may respond appropriately to the unintended discrepancy rather than to the assessment target. The score then reflects luck of encounter rather than detection of the intended error, and the two performances are indistinguishable at scoring time.
LLM-specific threats. This is the defining contamination risk for LLM-generated multi-document cases. Prior work reports hallucination rates of 16% to 28% in simpler formats, and multi-document cases offer more surfaces for unintended discrepancies: an extra dose mismatch, a duplicate therapy, a held medication with no restart plan. Each is clinically meaningful and each generates an additional defensible answer.
Operationalization. Rubric criterion 4 (absence of unintended errors). Raters actively hunt for discrepancies beyond the planted error rather than passively noticing them; every unintended error found is logged by type and severity (NCC MERP) as a primary result. Hard gate: any unintended clinically meaningful discrepancy fails the case unless it is clinically trivial and clearly distinguishable from the target.
Validity link. Scoring inference. Isolation is what makes a single-best-answer interpretation of the resident's response defensible.
Definition. The planted error is not inadvertently disclosed through artificial characteristics of the generated case.
Rationale. Unnatural phrasing, inconsistent formatting, unexplained contradictions, unusual emphasis, or wording that draws attention to a particular medication can reveal the intended answer without requiring the clinical reasoning the case is meant to assess. A cued case measures cue sensitivity, not reconciliation skill.
LLM-specific threats. Generators may flag the target medication with atypical formatting, repeat it across notes more than other drugs, phrase its indication more elaborately, or introduce a stylistic tell (a hedge, an exclamation, an inconsistent dose unit) that marks it as the case's focus. These tells are subtle and surface only on careful reading.
Operationalization. Folded into rubric criterion 3 (the error is neither ambiguous nor given away). Raters judge whether the target medication is stylistically foregrounded. Hard gate: a cued case is discarded, because the cue cannot be reliably removed by minor editing without risking the error itself.
Validity link. Scoring inference. Protects the construct from being measured by cue recognition instead of clinical reasoning.
Definition. The reasoning demanded by the case corresponds to the intended level of training.
Rationale. A case may be clinically valid yet inappropriate for a resident assessment if resolving the discrepancy requires specialist knowledge or clinical experience substantially beyond the competency being evaluated. Mismatched difficulty produces scores that reflect training level rather than reconciliation skill.
LLM-specific threats. Generators may embed errors whose resolution requires specialty knowledge (e.g., transplant immunosuppression, chemotherapy regimens) or may calibrate difficulty to the generator's notion of a resident rather than to a defined competency level. Difficulty is also confounded by case length and information density, which the generator may inflate independently of reasoning demand.
Operationalization. Rubric criterion 5 (difficulty for the target learner). Expert judgment only and explicitly provisional: difficulty is an empirical property established by item analysis after learner administration, not by expert rating. Advisory gate: outliers are flagged for adjudicator review but do not by themselves reject a case.
Validity link. Provisional support for the generalization inference. Empirical difficulty calibration awaits the resident pilot; expert ratings serve only to flag gross mismatches before administration.
These requirements establish an important distinction between clinical realism and assessment validity. A clinically realistic case is not necessarily a valid assessment case. A valid reconciliation assessment case must be clinically coherent while containing a known and detectable target discrepancy supported by sufficient evidence, without unintended competing discrepancies or artificial cues, and at an appropriate level of difficulty for the intended learner. The first five requirements supply content evidence for the scoring inference; the sixth is provisional expert judgment awaiting empirical item analysis.
Table 1b. Six Requirements Mapped to Rubric, Validity Inference, and Gate Level
| Requirement | Rubric criterion | Kane inference | Primary evidence source | Gate |
|---|---|---|---|---|
| Clinical coherence | C1 — Plausibility | Scoring | Primary + naive rater | Fixable |
| Error fidelity | C2 — Error present & classified | Scoring | Rater vs. answer key | Hard gate |
| Evidentiary sufficiency | C3 — Detectability (evidence) | Scoring | Rater document review | Hard gate |
| Error isolation | C4 — No unintended errors | Scoring | Active hunting | Hard gate |
| Cue integrity | C3 — Detectability (not cued) | Scoring | Rater cue review | Hard gate |
| Educational appropriateness | C5 — Difficulty | Generalization (provisional) | Expert judgment | Advisory |
From validated cases to precision competency assessment
A validated synthetic case library has value beyond reducing the effort required to produce educational cases. Because each case contains a known discrepancy category, a known evidentiary structure, and specified difficulty characteristics, cases can be varied systematically along dimensions that influence the reasoning required from the resident. These dimensions can include discrepancy type, clinical domain, number of medication information sources, complexity of comorbid conditions, volume of clinically irrelevant information, degree of ambiguity, and the amount or distribution of evidence needed to resolve the case.
Controlled variation allows performance to be examined at a finer level than a single aggregate reconciliation score. Resident responses can be grouped according to discrepancy type and reasoning demand, allowing patterns of successful and unsuccessful performance to be identified. A resident may, for example, reliably detect medication omissions but struggle with discrepancies that require interpretation of renal function, recognition of contraindications, or integration of information across several clinical documents. In this way, the assessment produces a multidimensional competency profile rather than only a total score.
Such a profile could subsequently be used to select targeted cases, tailor feedback, or identify areas requiring additional deliberate practice. This provides a pathway from synthetic case generation to precision medical education, in which assessment content and educational feedback can be aligned with the specific pattern of strengths and weaknesses demonstrated by an individual learner.
The framework can therefore be summarized as a sequence from competency specification to competency inference. Medication reconciliation competency is first translated into an assessment blueprint. The blueprint specifies the patient characteristics, reconciliation error, and evidentiary requirements that constrain synthetic case generation. Generated cases then undergo validation before being presented to trainees. Validated cases elicit observable trainee performance, and patterns of performance across controlled case types provide the evidence used to infer competency.
Within the generation and validation stage, a patient schema combined with a specified error from the reconciliation taxonomy produces a candidate assessment case. That candidate becomes a validated assessment case only after it satisfies the requirements of clinical coherence, error fidelity, evidentiary sufficiency, error isolation, cue integrity, and educational appropriateness. The resulting framework can be represented as:
Competency specification → assessment blueprint → controlled synthetic case generation → case validation → trainee performance → competency inference
Clinical coherence + error fidelity + evidentiary sufficiency + error isolation + cue integrity + educational appropriateness → valid assessment case
These six requirements map onto the validation rubric and onto Kane's argument-based validity framework.[13,14] Clinical coherence, error fidelity, evidentiary sufficiency, error isolation, and cue integrity together supply the content evidence for the scoring inference — the first link in the validity argument (Figure 4). Educational appropriateness is provisional expert judgment awaiting empirical item analysis. This study supplies evidence for the scoring inference only: content evidence that each case contains exactly the error in its key, correctly categorized and recoverable from the documents alone. The remaining inferences — generalization beyond expert judgment, extrapolation to real performance, and consequences — require learner data and form the subsequent resident pilot. We name them here not to claim them but to delimit the claim of this paper. An item bank with hidden answer keys carries validity obligations,[12] and content evidence must come first, because every downstream inference inherits the failures of the scoring link: if the cases are contaminated, no amount of reliability or correlation can rescue the score.
Figure 4. Kane's Validity Argument: Four Inferences and This Study's Scope
↓
Observed score
↓
Universe score
↓
Target domain
↓
Decisions & impact
Objective
We developed a generation-and-validation pipeline for planted-error medication reconciliation cases, applied it to produce an assessment case library, and report the content evidence, agreement, attrition, and burden of doing so. The specific aims are:
- To develop a model-agnostic case schema that simultaneously serves as generation specification, validation spec sheet, and deterministic scoring key.
- To construct a two-family error taxonomy combining AHRQ MATCH reconciliation discrepancies with a literature-anchored set of transition-of-care gaps derived from a targeted needs assessment.
- To apply a pre-specified, five-criterion pass/fail rubric, rated by two calibrated primary raters, one naive rater, and an independent adjudicator, and report pass rates, per-criterion agreement, and attrition.
- To quantify the rate and character of unintended errors detected under active hunting, and to report the generation and validation burden (time, cost) of the full pipeline.
Methods
Study Design and Setting
Development and content-validation study. CliniProof is a discharge medication reconciliation assessment platform for internal medicine residents at [Institution, TBC]. It presents a structured simulated EHR (chart, home medication list, hospital medication list, and notes) in which the resident performs reconciliation. Navigation is non-linear by design: residents move between the chart and discharge tabs for each medication, mirroring real workflow. The platform logs all navigation events, producing a timestamped process trace for the subsequent learner pilot. [Institution, pilot scope, and IRB determination: see Ethical Considerations.]
Ethical Considerations
Expert Seed Cases as Specification Standard
A clinical pharmacist and a physician (two of the eventual raters) authored nine seed cases. These cases served two functions: few-shot exemplars in generation prompts, and calibration material for rater training. Because the authors later served as validators, we excluded seed cases from the validation pool: an author cannot blindly rate their own case. The study therefore validates synthetic cases against a rubric, not against hidden real cases. We deliberately traded away an indistinguishability comparison in favour of unconflicted raters.
A second dependency must be named. Because the synthetic cases were generated to resemble the raters' own exemplars, plausibility ratings by those same raters carry a stylistic self-confirmation risk. We built in two mitigations. First, a third clinician, who neither authored seed cases nor contributed to prompt design, additionally rated criterion 1 (plausibility) [naive rater: Ki Jung Lee or Jenna Port; confirm assignment]. This provides an independent check on the criterion most exposed to circularity. Second, criteria 2–4 (the hard gates) are anchored to external definitions (the MATCH taxonomy and the case's own spec sheet) rather than to stylistic judgment. This concentrates the residual risk exactly where the naive rater was added. We report agreement between the naive rater and the primary raters on criterion 1 as a separate result.
The Case Schema: Visible Content Plus Hidden Answer Key
The schema (v1.1, released as Multimedia Appendix 2) contains two partitions across six sections. The resident-visible partition (sections B–D) comprises demographics (age, sex/gender, weight, ethnicity, allergies, social context), clinical context (admission diagnosis, comorbidities, hospital course, key labs, discharge vitals, admission H&P, consult notes), and three medication lists (the best possible medication history, BPMH, D1; inpatient medications, D2; and the discharge medication list, D3) plus the follow-up plan and discharge instructions. The hidden partition (section E) is the answer key: error family and category, error description, trigger medication(s), detectability location (by field ID), correct action, severity per NCC MERP,[10] intentional (non-error) changes, and a provisional difficulty rating. A clean-case flag (A3) marks no-error cases for signal-detection analysis. The schema serves three roles at once: (a) the generation specification the LLM fills, (b) the spec sheet raters validate against, and (c) the answer key for deterministic scoring. One artifact, three uses (Figure 1). The schema is model-agnostic by design: it constrains any generator's output rather than depending on a particular model's behaviour.
Figure 1. Case Schema: Visible Content + Hidden Answer Key (One Artifact, Three Uses)
RESIDENT-VISIBLE
- • Demographics (age, sex, ethnicity, weight)
- • Home medication list (BPMH, D1)
- • Inpatient medications (D2)
- • Discharge medication list (D3)
- • Admission notes / H&P (C6)
- • Hospital course & consult notes (C3, C7)
- • Lab results & vitals (C4, C5)
- • Follow-up plan & discharge instructions (D4, D5)
HIDDEN ANSWER KEY
- • Intended error & category (E1–E2)
- • Trigger medication(s) (E4)
- • Detectability location (E5)
- • Correct action (E6)
- • Clinical severity (NCC MERP, E7)
- • Intentional (non-error) changes (E8)
- • Difficulty rating, provisional (E9)
(a) Generation spec: LLM fills the schema
(b) Validation spec sheet: raters check against it
(c) Answer key: deterministic scoring
A Two-Family Error Taxonomy
Family 1: reconciliation discrepancies, adopted directly from AHRQ MATCH:[6] omission, commission, different dose/route/frequency, and therapeutic substitution. Each is qualified by "no clinical explanation supports the discrepancy."
Family 2: transition-of-care gaps, derived through a targeted needs assessment per Kern's Step 2.[17] We asked residency program leadership to identify discharge scenarios that residents mishandle in practice. Two authors independently mapped the nine elicited scenarios onto gap types, and we checked each type for grounding in the transitions-of-care literature before inclusion. The types are: indicated co-prescription omitted (steroids without gastroprotection or PJP prophylaxis; opioids without a bowel regimen); outpatient monitoring not arranged (ACE inhibitor or spironolactone without creatinine/potassium follow-up); held medications with no restart plan; insufficient supply or duration to reach follow-up; and hospital-only medications continued at discharge. Each type maps to documented post-discharge adverse-event mechanisms and safe-discharge elements.[7,18,19] We present Family 2 as a literature-anchored local extension: the gap types are nationally documented mechanisms, but their selection reflects one institution's needs assessment. We offer the family for adaptation rather than as a completed taxonomy.
The structural asymmetry between the two families drives rubric criterion 3. Family 1 errors are mismatches between lists. Family 2 errors are absences, detectable only because the documents contain a trigger (a drug started, a medication held) without the required companion action. For Family 2, detectability review therefore confirms that the trigger is present and unambiguous.
Table 1. Two-Family Error Taxonomy with Coverage
| Error Type | Description | National Source | Seed (n) | Synthetic (n) |
|---|---|---|---|---|
| Family 1: Reconciliation Discrepancies (AHRQ MATCH) | ||||
| Omission | Drug indicated at discharge not prescribed | MATCH §2.1 | TBD | TBD |
| Commission | Drug prescribed at discharge with no indication | MATCH §2.2 | TBD | TBD |
| Dose / Route / Frequency | Discrepancy with no clinical rationale | MATCH §2.3 | TBD | TBD |
| Therapeutic substitution | Different drug in same class, no clinical explanation | MATCH §2.4 | TBD | TBD |
| Family 2: Transition-of-Care Gaps (Needs assessment, nationally anchored) | ||||
| Indicated co-prescription omitted | Steroids without PPI/PJP prophylaxis; opioids without bowel regimen | Forster 2003; ISMP | TBD | TBD |
| Monitoring not arranged | ACE inhibitor or spironolactone without K⁺/creatinine follow-up | Soong 2013 | TBD | TBD |
| Held medication, no restart plan | Anticoagulant held; no resumption instructions | MARQUIS toolkit | TBD | TBD |
| Insufficient supply / duration | Prescription too short to reach follow-up | Bajorek 2020 | TBD | TBD |
| Hospital-only drug continued | DVT prophylaxis, stress-dose steroids continued at discharge | MARQUIS toolkit | TBD | TBD |
Coverage counts and the national-report correspondence column will be completed after validation.
Case Generation
Report to a reproducibility standard. Complete the TRIPOD-LLM or METRICS checklist as Multimedia Appendix 4.[16]
- Model and version string (exact model ID as invoked), provider, and access dates (first and last generation runs).
- Interface (API or chat product; this affects defaults and system prompts) and sampling settings (temperature and others; state defaults explicitly if used).
- Full prompt structure in Multimedia Appendix 2: system/instruction text, few-shot exemplar arrangement, and the schema-completion template. Cases were generated into the schema template, not as free text.[1,16]
- Generation policy: attempts per case (one shot or best-of-k); what triggered regeneration at the generation stage (schema fields incomplete, format failure); whether any manual editing occurred between generation and rating (if yes, what kind, logged per case).
- Attrition accounting (Figure 3, PRISMA-style): cases generated → excluded pre-rating (with reasons) → entered rating → failed (by criterion) → revised and re-rated → regenerated → final library.
- Cost and time: number of runs, wall-clock time, approximate token or API cost, and validator burden: the full pipeline economics in one place.
Generation Reproducibility
The generation step is specified in full below so that any case can be reproduced exactly. The frozen prompt template, the template-token set, the model and sampling configuration, the response JSON schema, and the two-layer design rules together constitute the complete generation specification; per-case provenance fields (schema section A) make each run traceable.
Multimedia Appendix 2a. How the Schema Is Built and Used to Construct the Prompt
The case schema is the single artifact from which the generation prompt, the validation spec sheet, and the scoring answer key are all derived, and it is therefore described first. The schema is organized into six sections that partition the case by visibility and by the pipeline stage that consumes each field. Section A holds administration and provenance, recording the model string, the prompt version, the generation date, the number of generation attempts, and any manual edits, so that every case is traceable to the configuration that produced it. Sections B through D hold the patient layer: section B holds the demographics, section C holds the clinical context comprising the admission diagnosis, comorbidities, the hospital course, the admission history and physical, consult notes, laboratory results, and discharge vitals, and section D holds the three medication lists together with the follow-up plan and discharge instructions. Section E holds the assessment layer, which is the hidden answer key: the error family and category, the error description, the trigger medications, the detectability location, the correct action, the severity per NCC MERP, the intentional non-error changes, and the provisional difficulty. Section F holds the post-hoc item statistics gathered after the resident pilot. Sections B through D are resident-visible; section E is never rendered to the resident; sections A and F are administrative.
The schema is built before any case is generated, and it is built to serve three roles at once. As a generation specification, it tells the model exactly which fields to produce and constrains its output to a JSON object whose properties match the field list, so that generation fills the schema rather than producing free text. As a validation spec sheet, it gives the raters a fixed checklist against which to confirm that the intended error is present, correctly classified, detectable from the documents alone, and free of unintended companions. As a scoring answer key, it records the planted error, its category, and the correct action, so that a resident's response can be scored deterministically against the case rather than against a rater's judgment. Because the same artifact serves all three roles, the generation, validation, and scoring stages can never drift apart: the prompt asks for the fields the rubric checks, and the rubric checks the fields the scorer uses.
The schema is used to construct the prompt in three steps. First, the template tokens drawn from the generation form, which correspond to fields in sections A and E, are substituted into the frozen prompt template, fixing the specialty, the difficulty, the error family and category, the clinical focus, and the demographics for that case. Second, the model is instructed to fill the remaining schema fields, producing the patient layer from sections B through D and the assessment layer from section E in a single JSON object. Third, the model's output is validated against the response schema, which enforces the field list and top-level types, so that any schema-incomplete output is rejected and regenerated before it enters the validation pool. The schema therefore does not merely describe the case; it drives the prompt, constrains the output, and anchors the downstream validation and scoring, which is why it is specified in full below before the prompt itself.
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| A1 | case_id | Unique case identifier | CP-### (eg, CP-007) | All processes; provenance log |
| A2 | case_status | Where the case sits in the pipeline | draft / generated / in-rating / revise / regenerate / PASSED / retired | Pipeline tracking |
| A3 | clean_case | Whether this is a no-error (clean) case | yes / no | Generation; scoring; signal-detection analysis |
| A4 | generation_source | Origin of the case | seed-expert / synthetic | Analysis; manuscript attrition figure |
| A5 | model_string | Exact LLM model ID as invoked (blank for seed cases) | verbatim model string | Reproducibility reporting (TRIPOD-LLM/METRICS) |
| A6 | prompt_version | Version of the frozen prompt set used | semver + date | Reproducibility reporting |
| A7 | generation_date | Date of the generation run | YYYY-MM-DD | Reproducibility reporting |
| A8 | generation_attempts | Attempts before a schema-complete case was produced | integer | Attrition figure (Fig 3) |
| A9 | manual_edits | Any human edit between generation and rating | none / description of edit | Reproducibility reporting |
| A10 | rubric_version | Rubric version the case was validated under | v#.# + date | Provenance log; methods |
| A11 | rater_outcomes | Rater 1 / Rater 2 / naive-rater results; adjudication | pass / fail-by-criterion / adjudicated: pass | revise-rereview | discard-regenerate | Results; agreement analysis |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| B1 | age | Patient age | integer, years | Dashboard; plausibility rating |
| B2 | sex_gender | Sex/gender as charted | text | Dashboard |
| B3 | weight | Weight (dosing-relevant) | kg | Dashboard; dose-error cases |
| B4 | allergies | Allergy list with reactions | drug — reaction; or NKDA | Dashboard; allergy-conflict checks |
| B5 | social_context | Discharge-relevant social factors | free text (lives alone, caregiver, insurance note) | Dashboard; Family-2 realism |
| B6 | ethnicity | Self-identified ethnicity/race (supports diversity audit) | free text or structured category | Dashboard; diversity reporting |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| C1 | admission_dx | Reason for admission / principal diagnosis | free text | Dashboard |
| C2 | pmh_comorbidities | Past medical history / comorbidity list | list | Dashboard; plausibility |
| C3 | hospital_course | Discharge summary narrative — where intentional changes are (or are not) explained | free text, discharge-summary register | Dashboard; detectability (criterion 3) |
| C4 | key_labs | Labs relevant to med decisions (Cr/eGFR, K, glucose, INR as applicable) | name: value (date) | Dashboard; monitoring-gap cases |
| C5 | vitals_at_discharge | Vital signs at discharge (incl. BP for held-med cases) | standard vitals | Dashboard |
| C6 | admission_notes_hp | Admission H&P narrative — where home medications are contextualized | free text, H&P register | Dashboard; plausibility (criterion 1); admission-med indication checks |
| C7 | consult_notes | Specialty consult notes relevant to medication decisions | free text, one block per consult | Dashboard; plausibility; detectability |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| D1 | home_med_list_bpmh | Best possible medication history: drug, dose, route, frequency, indication | one row per drug | Dashboard; reconciliation target |
| D2 | inpatient_meds | Medications administered during the stay (MAR extract). Conditionally required when error_family=1 & error_category=commission, or error_category=hospital-only med continued. | one row per drug | Dashboard |
| D3 | discharge_med_list | Discharge medications: drug, dose, route, frequency, quantity/day-supply, refills | one row per drug | Dashboard; reconciliation target |
| D4 | followup_plan | Appointments, pending labs, monitoring arrangements as written | free text / list | Dashboard; Family-2 detectability |
| D5 | discharge_instructions | Patient-facing instructions | free text | Dashboard |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| E1 | error_family | Which error family (or none, for clean cases) | 1 = reconciliation discrepancy / 2 = transition gap / none | Validation (criterion 2); scoring |
| E2 | error_category | Specific category within the family | F1: omission / commission / dose-route-frequency / therapeutic substitution. F2: missing co-prescription / monitoring not arranged / no restart plan / insufficient supply / hospital-only med continued. Or: none | Validation; scoring; Table 1 coverage |
| E3 | error_description | Exactly what the error is, in one or two sentences | free text | Validation; scoring key |
| E4 | trigger_meds | Medication(s) carrying the error; for Family 2, the trigger whose companion action is missing | drug name(s) | Validation (criterion 3); scoring |
| E5 | detectability_location | Which document(s) contain the evidence needed to find the error | field IDs (eg, D1 vs D3; C3; C4; C6) | Validation (criterion 3) |
| E6 | correct_action | What the resident should do about it | free text (restart X; add Y; arrange Z; stop Q) | Scoring (action credit) |
| E7 | severity | Potential-harm severity of the error if uncorrected | NCC MERP category A–I | Severity-weighted scoring |
| E8 | intentional_changes | Documented, clinically explained changes that are NOT errors — the discrimination content residents must correctly leave alone | list: change + where explained (usually C3 or C6) | Validation (criterion 4 boundary); specificity scoring |
| E9 | difficulty_a_priori | Expert difficulty estimate — provisional until item analysis | easy / moderate / hard | Rubric criterion 5; calibrated by F1 (empirical difficulty) after pilot |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| F1 | empirical_difficulty | Proportion of residents detecting the planted error | 0.00–1.00 | Item analysis; case retirement; calibrates E9 |
| F2 | discrimination | Item-total correlation | -1.00–1.00 | Item analysis |
| F3 | false_positive_rate | Proportion flagging a non-error (clean cases: any flag) | 0.00–1.00 | Signal-detection analysis |
| F4 | mean_time | Mean completion time | minutes | Session planning; process analysis |
Reconciliation Discrepancies (AHRQ MATCH)
Transition-of-Care Gaps (needs assessment, nationally anchored)
Generation is driven by a single frozen prompt template, written in a schema-completion style, into which a small set of template tokens are substituted from a generation form before the prompt is sent to the model. The template, the token set, the model and sampling configuration, and the response schema are specified here in full so that generation can be reproduced exactly. The prompt version is logged per case in schema field A6, the model string in field A5, the generation date in field A7, and the number of attempts required to produce a schema-complete case in field A8. Together these records allow any case to be regenerated and any discrepancy between runs to be attributed to model stochasticity, prompt drift, or manual intervention.
Multimedia Appendix 2b-i. The Frozen Generation Prompt
The complete prompt template is reproduced verbatim below. The model is instructed that it is designing a medication reconciliation assessment case for internal medicine residents under the CliniProof Case Schema v1.1, and that the case must contain two layers: a resident-visible patient layer and a hidden assessment layer that serves as the answer key. The prompt then states the specifications drawn from the generation form, enumerates the design rules the model must follow, and requests a JSON object whose fields match the schema exactly. Brace-delimited tokens are substituted from the generation form before the prompt is sent: {specialty} sets the clinical service, {difficulty} sets the provisional difficulty tier, {error_family} and {error_category} specify which error to plant, {focus} constrains the clinical focus of the medication decisions, and {demographics} fixes the patient demographics or, when left blank, instructs the model to randomize them for diversity and inclusivity. The token {error_family_label} expands to a human-readable family and category string, and {clean_case} expands to a boolean. Defaults apply whenever a token is left blank. The nine expert-authored seed cases are supplied as few-shot exemplars in the surrounding prompt context so that the model can match the structure and clinical register of the specification standard.
You are a clinical medical education expert designing a realistic
medication reconciliation ASSESSMENT case for internal medicine residents,
following the CliniProof Case Schema v1.1.
Generate a complete case with these specifications:
- Specialty: {specialty}
- Difficulty: {difficulty}
- Planted error: {error_family_label}
- Clinical focus: {focus}
- {demographics}
THE CASE HAS TWO LAYERS:
1. PATIENT LAYER (resident-visible): demographics, admission dx, medical
history, hospital course, admission H&P, consult notes, labs, vitals at
discharge, three medication lists (home/BPMH, inpatient, discharge),
follow-up plan, discharge instructions.
2. ASSESSMENT LAYER (hidden answer key — never shown to the resident): error
family, error category, error description, trigger meds, detectability
location, correct action, severity (NCC MERP), intentional non-error
changes, provisional difficulty.
DESIGN RULES:
- Plant EXACTLY ONE error matching the specified family and category
(or none for a clean case).
- The error must be recoverable from the resident-visible documents ALONE
— no withheld information.
- Include 1–2 intentional (non-error) changes as distractors, each clinically
explained in the hospital course or H&P.
- Ensure clinical coherence: no unintended errors beyond the planted one.
- Family 1 = mismatch between medication lists.
Family 2 = an absence (a trigger drug present without its required
companion action).
- Make labs internally consistent with the narrative.
Output a JSON object with EXACTLY these fields:
{
"title": "short case title",
"scenario": "2–3 paragraph narrative",
"patient_name": "fictional name",
"patient_age": integer,
"patient_gender": "Male|Female|Non-binary",
"ethnicity": "specific ethnicity",
"weight_kg": number,
"social_context": "discharge-relevant social factors",
"chief_complaint": "one-line chief complaint",
"admission_dx": "principal diagnosis",
"medical_history": ["condition 1", "condition 2"],
"hospital_course": "discharge-summary narrative",
"admission_notes_hp": "admission H&P narrative",
"consult_notes": ["consult note 1"],
"allergies": ["drug — reaction"],
"labs": [{"test":"","value":"","unit":"","flag":"","day":""}],
"vitals_at_discharge": "standard vitals",
"admission_medications": [{"name":"","dose":"","route":"",
"frequency":"","indication":"","home_medication":true,
"critical":false}],
"current_medications": [{"name":"","dose":"","route":"",
"frequency":"","indication":"","added_in_hospital":false,
"critical":false}],
"discharge_medications": [{"name":"","dose":"","route":"",
"frequency":"","indication":"","quantity":"","day_supply":0,
"refills":0,"critical":false}],
"followup_plan": "appointments, pending labs, monitoring",
"discharge_instructions": "patient-facing instructions",
"task_description": "what the learner must do",
"difficulty": "{difficulty}",
"specialty": "{specialty}",
"clean_case": {clean_case},
"error_family": "{error_family}",
"error_category": "{error_category}",
"error_description": "exactly what the error is",
"trigger_meds": ["med carrying the error"],
"detectability_location": "field IDs (e.g. D1 vs D3; C3; C4)",
"correct_action": "what the resident should do",
"severity_ncc_merp": "NCC MERP category A–I",
"intentional_changes": ["change + where explained"],
"difficulty_a_priori": "easy|moderate|hard",
"rubric_criteria": [{"criterion":"","weight":0.2,"description":""}],
"expected_actions": ["action 1"],
"common_errors": ["error 1"]
}Multimedia Appendix 2b-ii. Template Tokens
Six tokens are substituted into the prompt from the generation form. The specialty token sets the clinical service that drives the case, with internal medicine as the default and cardiology, infectious disease, nephrology and transplant, geriatrics, perioperative medicine, gastroenterology, pulmonology, and endocrinology available as alternatives. The difficulty token sets the provisional difficulty tier, which is also stored in field E9 of the schema; the allowed values are beginner, intermediate, and advanced, with advanced as the default. The error family token selects which error to plant, with three allowed values: family 1 for an AHRQ MATCH reconciliation discrepancy, family 2 for a transition-of-care gap, or none for a clean case that carries no planted error and serves signal-detection analysis. The error category token selects the specific category within the chosen family: for family 1 the allowed categories are omission, commission, a dose, route, or frequency discrepancy, and therapeutic substitution, and for family 2 the allowed categories are a missing co-prescription, monitoring not arranged, a held medication with no restart plan, an insufficient supply or duration, and a hospital-only medication continued at discharge. The focus token is free text that constrains the clinical focus of the medication decisions, defaulting to discharge medication reconciliation with at least two high-stakes decisions when left blank. The demographics token is free text that fixes the patient demographics, defaulting to randomization across age, gender, ethnicity, and social history for diversity and inclusivity when left blank.
Multimedia Appendix 2b-iii. Model and Sampling Configuration
Cases are generated with Claude Sonnet 4.6, accessed through the Base44 InvokeLLM integration. The interface is programmatic: the system and user turns are assembled by the generation form, the template tokens are substituted, and the assembled prompt is sent through the integration's API. Sampling uses the provider defaults, and the temperature is not overridden; the defaults are stated explicitly here and will be re-stated at submission so that the configuration is unambiguous. The model's output is constrained to a JSON object by a response schema that matches the field list in the prompt, which enforces schema-complete output on each generation attempt. Generation follows a one-shot policy: each case is generated in a single attempt, and regeneration is triggered only when the output is schema-incomplete or fails format validation, with the number of attempts logged per case in field A8. No manual editing occurs between generation and rating; any edit that does occur is logged per case in field A9 so that the rated artifact is always traceable to its generated form. The prompt itself is versioned with a semantic version and date, and the prompt version is logged per case in field A6 so that drift between prompt versions can be detected and attributed.
Multimedia Appendix 2b-iv. Response Schema and the Two-Layer Constraint
The model's output is constrained to a JSON object whose properties match the ClinicalCase schema, version 1.1. The response schema enforces the field list and the top-level types shown in the prompt, and the nested object structure within the medication and lab arrays follows the inline templates in the prompt body. The schema is split across two layers. The patient-layer fields, drawn from schema sections B through D, comprise the demographics, diagnoses, laboratory results, clinical notes, the three medication lists, the follow-up plan, and the discharge instructions; these fields are rendered to the resident and form the documents over which reconciliation is performed. The assessment-layer fields, drawn from schema E, comprise the clean-case flag, the error family and category, the error description, the trigger medications, the detectability location, the correct action, the severity per NCC MERP, the intentional non-error changes, and the provisional difficulty; these fields form the hidden answer key and are never rendered to the resident. The remaining fields support scoring: the rubric criteria, the expected actions, and the common errors. The full per-field schema, including the format specification, the visibility level, and the pipeline stage that consumes each field, is given in Multimedia Appendix 2a.
Multimedia Appendix 2b-v. Two-Layer Design Rules
Five design rules are enforced in the prompt so that every generated case is a controlled assessment object rather than an open-ended vignette. First, exactly one error matching the specified family and category is embedded, or no error at all for a clean case; a second discrepancy is never introduced, so that the case carries one and only one scorable payload. Second, the error is recoverable from the resident-visible documents alone; no information is withheld or supplied externally, so that the assessment measures the real-world skill of finding a discrepancy in the chart rather than the ability to notice what is missing from the case itself. Third, one or two intentional, non-error changes are included as distractors, and each is clinically explained in the hospital course or the admission history and physical, so that residents must discriminate between intentional and unintentional changes rather than flagging every change they encounter. Fourth, the demographics, diagnoses, laboratory results, clinical notes, and medication lists are mutually plausible and internally coherent, and no unintended errors exist beyond the planted one, so that the case does not contaminate its own scoring. Fifth, the structure of the error follows its family: a family 1 error is a mismatch between medication lists, whereas a family 2 error is an absence, detectable only because a trigger drug is present without the companion action it requires. These rules together ensure that generation produces a case whose assessment layer is a faithful, exclusive, and detectable answer key.
Multimedia Appendix 2b-vi. Per-Case Provenance and Reproducibility
Every generated case carries provenance in schema section A so that each run is traceable. Field A5 records the model string, field A6 records the prompt version, field A7 records the generation date, field A8 records the number of attempts before a schema-complete case was produced, and field A9 records any manual edit between generation and rating. Together with the frozen prompt above, these fields allow any case to be regenerated and any discrepancy between runs to be attributed to its source: model stochasticity when the same prompt and configuration produce different output, prompt drift when the prompt version differs, or manual intervention when field A9 records an edit. This provenance is what permits the generation step to be reported as reproducible rather than merely described, and it is the reason the generation log must be started before the first generation run rather than reconstructed after the fact.
Figure 3. PRISMA-Style Case Attrition (populate after validation)
Cases generated (N = ?)
Entered dual rating (n = ?)
Passed all criteria on first rating (n = ?)
Final library (n = ?)
Per-criterion failure counts (C1–C5) and adjudication outcomes (revised n, regenerated n) to be added. The attrition profile is itself a finding.
The Validation Rubric
Five criteria (full rubric: Multimedia Appendix 1). (1) Clinical plausibility.[2,3] (2) Intended error present and correctly classified against the MATCH-anchored taxonomy.[6] (3) Detectability from the provided documents alone, neither ambiguous nor given away.[2,3] (4) Absence of unintended errors, actively hunted rather than passively noticed, justified by contamination rates in prior work.[2,3,4] (5) Difficulty for the target learner, advisory rather than gating. Criterion 5 is explicitly provisional: difficulty is an empirical property established by item analysis after learner administration, and expert judgment of it is the least dependable rubric element.[2] Expert difficulty ratings serve only to flag outliers for adjudicator review. Gate hierarchy, stated explicitly: criteria 2–4 are hard gates; criterion 1 is fixable; criterion 5 is advisory and provisional.
Multimedia Appendix 1. Validation Rubric v1.0
Gate hierarchy: C2–C4 hard gates; C1 fixable; C5 advisory/provisional.
The presentation, medications, labs, and notes are internally consistent and plausible for the stated diagnosis and care setting.
The planted error matches the hidden answer key exactly: it is present and correctly categorized against the MATCH-anchored taxonomy.
The error is neither ambiguous nor given away; it is recoverable only from the documents provided. For Family 2: the trigger is present and unambiguous.
Active hunt, not passive notice. No additional discrepancy or transition-of-care gap is present beyond the spec sheet.
Expert judgment only; provisional. Calibrated difficulty awaits item analysis after resident administration. Outliers are flagged for adjudicator review.
Rating Procedure
Two primary raters independently rated all five criteria, blinded to each other. The naive rater independently rated criterion 1, blinded to all other ratings. Free-text comments were mandatory. The raters completed a calibration session on expert-authored cases before live rating; rubric wording was revised and the version frozen (v1.0) before rating.[2,5] The naive rater calibrated on criterion 1 only, using the same practice cases. A separate clinician (who rates nothing) adjudicated any disagreement or failing rating, with three dispositions: pass; revise-and-rereview (one cycle only); or discard-and-regenerate. A provenance log records the rubric version per case and every rater's blinding status. If pre-registered, cite the OSF registration here; registering before rating materially strengthens every use of "pre-specified" in this paper.
Analysis
We report all agreement statistics descriptively: raw counts and percent agreement per criterion, with Gwet's AC1 (chosen for expected prevalence skew), accompanied by confidence intervals.[15] We state explicitly that at this sample size the figures describe this rating exercise and are not reliability estimates of the rubric. The word "reliable" is not used. We report naive-rater versus primary-rater concordance on plausibility separately as the circularity check.
Results
Placeholders (populate after validation). Subheadings mirror the Methods section per JMIR convention.
- Case generation and attrition: cases generated (N); excluded pre-rating; entered rating; per-criterion failures; revised; regenerated; final library size (Figure 3).
- Rubric outcomes: cases that passed all criteria on first rating, n (%).
- Agreement, descriptively: per-criterion percent agreement and AC1 with confidence intervals; pilot-level framing ("agreement in this application was X; establishing rubric reliability requires a larger case set and more raters").
- Naive-rater vs primary-rater agreement on plausibility (the circularity check). Concordance is evidence that plausibility ratings are not stylistic self-confirmation.
- Unintended errors: x/N cases (y%), each described by type and severity. Prior rates (Zhang 16.7%; Emekli 28%) serve as context showing contamination is the expected condition, explicitly not as a benchmark. Do not claim the rate is "better than" or "consistent with" prior work.
- Adjudication outcomes: revised n; regenerated n.
- Burden: rating time per case (mean); total hours per rater; generation cost and time; full pipeline economics.
- Taxonomy coverage achieved (Table 1, final column).
Discussion
Principal Findings
Automatic item generation solved template-driven generation for multiple-choice questions,[11] and hybrid AIG has produced validity evidence for generated items.[23] Separately, expert panels have reviewed LLM-generated exam questions at scale,[20] and LLM case feasibility has been explored in case-based learning.[21,22] Neither line covers the object at hand: multi-document clinical cases where validation must confirm not item quality but error fidelity: the presence, classification, detectability, and exclusivity of the planted error.[1,2,3]
A Bounded Validity Claim
A case bank with hidden answer keys is an item bank, and item banks carry validity obligations.[12] Mapped onto Kane's framework:[13,14] rubric criteria 2–4 are the scoring-inference checks; criterion 1 supports generalization from case performance to the reconciliation domain; criterion 5 is provisional expert judgment awaiting empirical item analysis. The open links (response process, generalization beyond expert judgment, extrapolation, and consequences) are named, and the resident pilot is designed to supply them. "Assessment-ready" here means exactly this: content evidence sufficient to justify administering the cases to learners under a validity-argument plan, not a completed validation.
Transferability
The one-artifact-three-uses schema (generation spec, validation spec sheet, scoring answer key) transfers to any domain where the assessed skill is finding a designed-in problem: radiology findings, ECG interpretation, laboratory follow-up. The schema is model-agnostic; we share the rubric and schema template openly [Data Availability].
Limitations
Single institution. Small case set and rater pool: the agreement figures describe this rating exercise and cannot establish rubric reliability; two primary raters, one naive rater, and one adjudicator. Exemplar-style circularity is partially but not fully mitigated by the naive-rater check. The seed set of nine cases comes from two authors (mitigated but not eliminated by the national coverage check). No indistinguishability test, by design. Difficulty ratings are provisional pending item analysis. No learner-outcome data yet; that is the pilot study this library feeds. Generation results are LLM version-dependent, though the schema itself is not.
Future Work
Resident pilot with deterministic scoring against the hidden schema; navigation-trace process measures; empirical difficulty calibration; taxonomy expansion; and cross-site replication of the rubric and schema.
Conclusions
Feasibility of LLM case generation was already established; content evidence was the missing first link of the validity argument. A schema-driven generation specification plus a calibrated, adjudicated pass/fail validation supplies it at reported, practical cost.
Acknowledgments
Generative AI Use Disclosure
Authors' Contributions
Conflicts of Interest
None declared. [Confirm with all authors.]
Data Availability
Multimedia Appendices
- Multimedia Appendix 1: Case validation rubric v1.0 (with MATCH definitions appendix). Preview above.
- Multimedia Appendix 2: Case schema v1.1 (structured definition) and full generation prompts with schema-completion template.
- Multimedia Appendix 3: Rating forms and calibration materials.
- Multimedia Appendix 4: Completed TRIPOD-LLM or METRICS reporting checklist [verify the current JMIR preference at submission].
Multimedia Appendix 2a: Case Schema v1.1 (Structured Definition)
The schema below is the canonical definition (v1.1) that drives generation, validation, rendering, and scoring. It contains six sections: administration and provenance (A), patient demographics (B), clinical context (C), medication lists and disposition (D), the hidden answer key (E), and post-hoc pilot item statistics (F). Sections B–D are resident-visible; section E is the hidden answer key never rendered to residents; sections A and F are administrative. Each field carries a format specification and a "consumed by" tag showing which pipeline stage uses it.
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| A1 | case_id | Unique case identifier | CP-### (eg, CP-007) | All processes; provenance log |
| A2 | case_status | Where the case sits in the pipeline | draft / generated / in-rating / revise / regenerate / PASSED / retired | Pipeline tracking |
| A3 | clean_case | Whether this is a no-error (clean) case | yes / no | Generation; scoring; signal-detection analysis |
| A4 | generation_source | Origin of the case | seed-expert / synthetic | Analysis; manuscript attrition figure |
| A5 | model_string | Exact LLM model ID as invoked (blank for seed cases) | verbatim model string | Reproducibility reporting (TRIPOD-LLM/METRICS) |
| A6 | prompt_version | Version of the frozen prompt set used | semver + date | Reproducibility reporting |
| A7 | generation_date | Date of the generation run | YYYY-MM-DD | Reproducibility reporting |
| A8 | generation_attempts | Attempts before a schema-complete case was produced | integer | Attrition figure (Fig 3) |
| A9 | manual_edits | Any human edit between generation and rating | none / description of edit | Reproducibility reporting |
| A10 | rubric_version | Rubric version the case was validated under | v#.# + date | Provenance log; methods |
| A11 | rater_outcomes | Rater 1 / Rater 2 / naive-rater results; adjudication | pass / fail-by-criterion / adjudicated: pass | revise-rereview | discard-regenerate | Results; agreement analysis |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| B1 | age | Patient age | integer, years | Dashboard; plausibility rating |
| B2 | sex_gender | Sex/gender as charted | text | Dashboard |
| B3 | weight | Weight (dosing-relevant) | kg | Dashboard; dose-error cases |
| B4 | allergies | Allergy list with reactions | drug — reaction; or NKDA | Dashboard; allergy-conflict checks |
| B5 | social_context | Discharge-relevant social factors | free text (lives alone, caregiver, insurance note) | Dashboard; Family-2 realism |
| B6 | ethnicity | Self-identified ethnicity/race (supports diversity audit) | free text or structured category | Dashboard; diversity reporting |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| C1 | admission_dx | Reason for admission / principal diagnosis | free text | Dashboard |
| C2 | pmh_comorbidities | Past medical history / comorbidity list | list | Dashboard; plausibility |
| C3 | hospital_course | Discharge summary narrative — where intentional changes are (or are not) explained | free text, discharge-summary register | Dashboard; detectability (criterion 3) |
| C4 | key_labs | Labs relevant to med decisions (Cr/eGFR, K, glucose, INR as applicable) | name: value (date) | Dashboard; monitoring-gap cases |
| C5 | vitals_at_discharge | Vital signs at discharge (incl. BP for held-med cases) | standard vitals | Dashboard |
| C6 | admission_notes_hp | Admission H&P narrative — where home medications are contextualized | free text, H&P register | Dashboard; plausibility (criterion 1); admission-med indication checks |
| C7 | consult_notes | Specialty consult notes relevant to medication decisions | free text, one block per consult | Dashboard; plausibility; detectability |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| D1 | home_med_list_bpmh | Best possible medication history: drug, dose, route, frequency, indication | one row per drug | Dashboard; reconciliation target |
| D2 | inpatient_meds | Medications administered during the stay (MAR extract). Conditionally required when error_family=1 & error_category=commission, or error_category=hospital-only med continued. | one row per drug | Dashboard |
| D3 | discharge_med_list | Discharge medications: drug, dose, route, frequency, quantity/day-supply, refills | one row per drug | Dashboard; reconciliation target |
| D4 | followup_plan | Appointments, pending labs, monitoring arrangements as written | free text / list | Dashboard; Family-2 detectability |
| D5 | discharge_instructions | Patient-facing instructions | free text | Dashboard |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| E1 | error_family | Which error family (or none, for clean cases) | 1 = reconciliation discrepancy / 2 = transition gap / none | Validation (criterion 2); scoring |
| E2 | error_category | Specific category within the family | F1: omission / commission / dose-route-frequency / therapeutic substitution. F2: missing co-prescription / monitoring not arranged / no restart plan / insufficient supply / hospital-only med continued. Or: none | Validation; scoring; Table 1 coverage |
| E3 | error_description | Exactly what the error is, in one or two sentences | free text | Validation; scoring key |
| E4 | trigger_meds | Medication(s) carrying the error; for Family 2, the trigger whose companion action is missing | drug name(s) | Validation (criterion 3); scoring |
| E5 | detectability_location | Which document(s) contain the evidence needed to find the error | field IDs (eg, D1 vs D3; C3; C4; C6) | Validation (criterion 3) |
| E6 | correct_action | What the resident should do about it | free text (restart X; add Y; arrange Z; stop Q) | Scoring (action credit) |
| E7 | severity | Potential-harm severity of the error if uncorrected | NCC MERP category A–I | Severity-weighted scoring |
| E8 | intentional_changes | Documented, clinically explained changes that are NOT errors — the discrimination content residents must correctly leave alone | list: change + where explained (usually C3 or C6) | Validation (criterion 4 boundary); specificity scoring |
| E9 | difficulty_a_priori | Expert difficulty estimate — provisional until item analysis | easy / moderate / hard | Rubric criterion 5; calibrated by F1 (empirical difficulty) after pilot |
| ID | Field | Description | Format | Consumed by |
|---|---|---|---|---|
| F1 | empirical_difficulty | Proportion of residents detecting the planted error | 0.00–1.00 | Item analysis; case retirement; calibrates E9 |
| F2 | discrimination | Item-total correlation | -1.00–1.00 | Item analysis |
| F3 | false_positive_rate | Proportion flagging a non-error (clean cases: any flag) | 0.00–1.00 | Signal-detection analysis |
| F4 | mean_time | Mean completion time | minutes | Session planning; process analysis |
Reconciliation Discrepancies (AHRQ MATCH)
Transition-of-Care Gaps (needs assessment, nationally anchored)
Multimedia Appendix 2b: Generation Prompt (Schema-Completion Template)
The prompt below is the frozen generation template (prompt version logged in field A6). Cases are generated into the JSON structure shown, not as free text. The brace-delimited tokens are filled from the generation form; defaults apply when left blank. The nine expert-authored seed cases serve as few-shot exemplars in the prompt context. The response is constrained by a JSON schema matching the field list, ensuring schema-complete output on each generation attempt.
You are a clinical medical education expert designing a realistic
medication reconciliation training case for internal medicine residents.
Generate a complete hospital case with the following specifications:
- Specialty: {specialty}
- Difficulty: {difficulty}
- Clinical focus: {focus | "discharge medication reconciliation with at least
2 high-stakes medication decisions"}
- {demographics | "Randomize patient age (18-90), gender, and relevant social history."}
Output a JSON object with EXACTLY these fields:
{
"title": "short case title",
"chief_complaint": "one-line chief complaint",
"patient_age": integer,
"patient_gender": "Male|Female|Non-binary",
"patient_ethnicity": "specific ethnicity",
"scenario": "2-3 paragraph narrative including admission reason,
hospital course, and reason for discharge planning. Include specific
lab values (BMP, CBC) on admission and current, vital signs, relevant
notes from team and consultants.",
"medical_history": ["condition 1", "condition 2"],
"allergies": ["allergy 1"],
"admission_medications": [{"name":"", "dose":"", "route":"",
"frequency":"", "indication":"", "home_medication":true,
"critical":false}],
"current_medications": [{"name":"", "dose":"", "route":"",
"frequency":"", "indication":"", "added_in_hospital":false,
"critical":false}],
"labs": [{"test":"", "value":"", "unit":"", "flag":"", "day":""}],
"task_description": "what the learner must do (2-3 sentences)",
"expected_actions": ["action 1", "action 2"],
"common_errors": ["error 1", "error 2"],
"rubric_criteria": [{"criterion":"", "weight":0.2, "description":""}],
"generation_rationale": "1 paragraph explaining the educational design
decisions - which medication pitfalls were intentionally embedded and why"
}
Ensure clinical accuracy. Include at least one held medication requiring
restart decision, one dose adjustment, and one new medication to consider.
Make labs internally consistent with the narrative.Model: Claude Sonnet 4.6 (claude_sonnet_4_6)
Response format: JSON object constrained by a response_json_schema matching the field list above (see schema table for the full structured definition)
Sampling: provider defaults (temperature not overridden)
Generation policy: one-shot generation per case; regeneration triggered on schema-incomplete output or format failure (logged in field A8)
Few-shot exemplars: the nine expert-authored seed cases (section A4 = seed-expert) are provided as structured exemplars in the prompt context
Brace-delimited tokens ({specialty}, {difficulty}, {focus}, {demographics}) are filled from the generation form; defaults apply when left blank.
Figures and Tables
Figure 2. Pipeline Flow
Expert Seed Cases (n = 9)
Specification standard & few-shot exemplars
Schema-Prompted Generation
LLM fills structured template
Pre-Rating Exclusions
Schema fields incomplete / format failure
Dual Independent Rating (+ Naive Rater on C1)
Two primary raters blinded to each other
Adjudication
Separate clinician: pass / revise / discard
Final Case Library
Passed all criteria; answer key locked
Figure 3. PRISMA-Style Case Attrition (populate after validation)
Cases generated (N = ?)
Entered dual rating (n = ?)
Passed all criteria on first rating (n = ?)
Final library (n = ?)
Per-criterion failure counts (C1–C5) and adjudication outcomes (revised n, regenerated n) to be added. The attrition profile is itself a finding.
Table 1. Two-Family Error Taxonomy with Coverage
| Error Type | Description | National Source | Seed (n) | Synthetic (n) |
|---|---|---|---|---|
| Family 1: Reconciliation Discrepancies (AHRQ MATCH) | ||||
| Omission | Drug indicated at discharge not prescribed | MATCH §2.1 | TBD | TBD |
| Commission | Drug prescribed at discharge with no indication | MATCH §2.2 | TBD | TBD |
| Dose / Route / Frequency | Discrepancy with no clinical rationale | MATCH §2.3 | TBD | TBD |
| Therapeutic substitution | Different drug in same class, no clinical explanation | MATCH §2.4 | TBD | TBD |
| Family 2: Transition-of-Care Gaps (Needs assessment, nationally anchored) | ||||
| Indicated co-prescription omitted | Steroids without PPI/PJP prophylaxis; opioids without bowel regimen | Forster 2003; ISMP | TBD | TBD |
| Monitoring not arranged | ACE inhibitor or spironolactone without K⁺/creatinine follow-up | Soong 2013 | TBD | TBD |
| Held medication, no restart plan | Anticoagulant held; no resumption instructions | MARQUIS toolkit | TBD | TBD |
| Insufficient supply / duration | Prescription too short to reach follow-up | Bajorek 2020 | TBD | TBD |
| Hospital-only drug continued | DVT prophylaxis, stress-dose steroids continued at discharge | MARQUIS toolkit | TBD | TBD |
Coverage counts and the national-report correspondence column will be completed after validation.
- 1.Bakkum MJ, Hartjes MG, Piët JD, et al. Using artificial intelligence to create diverse and inclusive medical case vignettes for education. Br J Clin Pharmacol. 2024;90(3):640–648.doi
- 2.Zhang Q, Huang Z, Huang Y, et al. Generative AI in medical education: feasibility and educational value of LLM-generated clinical cases with MCQs. BMC Med Educ. 2025;25:1502.doi
- 3.Emekli E, Emekli E, Özel B. Artificial intelligence–assisted generation of case scenarios and multiple-choice questions in psychiatry: a pilot study. Acad Psychiatry. 2026;50:391–397.
⚠ Year confirmed from draft; verify final pagination at submission.
- 4.Surapaneni KM. Assessing the performance of ChatGPT in medical biochemistry using clinical case vignettes: observational study. JMIR Med Educ. 2023;9:e47191.doi
- 5.Öncü S, Torun F, Ülkü HH. AI-powered standardised patients: evaluating ChatGPT-4o's impact on clinical case management in intern physicians. BMC Med Educ. 2025;25:278.doi
- 6.Agency for Healthcare Research and Quality. Medications at Transitions and Clinical Handoffs (MATCH) Toolkit for Medication Reconciliation. Chapter 5: Education and Training. Reviewed July 2022.
- 7.Bajorek SA, McElroy V. Discharge Planning and Transitions of Care. PSNet [Internet]. Rockville, MD: Agency for Healthcare Research and Quality; 2020.
- 8.Schnipper JL, Mixon A, Stein J, et al. Effects of a multifaceted medication reconciliation quality improvement intervention on patient safety: final results of the MARQUIS study. BMJ Qual Saf. 2018;27(12):954–964.doi
- 9.Tam VC, Knowles SR, Cornish PL, Fine N, Marchesano R, Etchells EE. Frequency, type and clinical importance of medication history errors at admission to hospital: a systematic review. CMAJ. 2005;173(5):510–515.doi
- 10.National Coordinating Council for Medication Error Reporting and Prevention (NCC MERP). Index for Categorizing Medication Errors. Revised 2001.
⚠ Verify current version/year at nccmerp.org before submission.
- 11.Gierl MJ, Lai H. Evaluating the quality of medical multiple-choice items created with automated processes. Med Educ. 2013;47(7):726–733.doi
- 12.Downing SM. Validity: on the meaningful interpretation of assessment data. Med Educ. 2003;37(9):830–837.doi
- 13.Kane MT. Validating the interpretations and uses of test scores. J Educ Meas. 2013;50(1):1–73.doi
- 14.Cook DA, Brydges R, Ginsburg S, Hatala R. A contemporary approach to validity arguments: a practical guide to Kane's framework. Med Educ. 2015;49(6):560–575.doi
- 15.Gwet KL. Computing inter-rater reliability and its variance in the presence of high agreement. Br J Math Stat Psychol. 2008;61(Pt 1):29–48.doi
- 16.Benoit JRA. ChatGPT for clinical vignette generation, revision, and evaluation. medRxiv. 2023. doi:10.1101/2023.02.04.23285478.
- 17.Thomas PA, Kern DE, Hughes MT, Chen BY, eds. Curriculum Development for Medical Education: A Six-Step Approach. 3rd ed. Baltimore: Johns Hopkins University Press; 2015.
- 18.Forster AJ, Murff HJ, Peterson JF, Gandhi TK, Bates DW. The incidence and severity of adverse events affecting patients after discharge from the hospital. Ann Intern Med. 2003;138(3):161–167.doi
- 19.Soong C, Daub S, Lee J, et al. Development of a checklist of safe discharge practices for hospital patients. J Hosp Med. 2013;8(8):444–449.doi
- 20.Cheung BHH, Lau GKK, Wong GTC, et al. ChatGPT versus human in generating medical graduate exam multiple choice questions: a multinational prospective study. PLoS ONE. 2023;18(8):e0290691.doi
- 21.Sauder M, Tritsch T, Rajput V, Schwartz G, Shoja MM. Exploring generative artificial intelligence-assisted medical education: assessing case-based learning for medical students. Cureus. 2024;16(1):e51961.doi
- 22.Berbenyuk A, Powell L, Zary N. Feasibility and educational value of clinical cases generated using large language models. Stud Health Technol Inform. 2024;316:1524–1528.doi
- 23.Kıyak YS, et al. Using a hybrid of AI and template-based method in automatic item generation to create multiple-choice questions in medical education. Med Teach. 2025. [Epub ahead of print]doi
⚠ PMC11990652 confirmed. A separate validity paper (Postgrad Med J 2026, qgag057) also exists; cite whichever is most directly relevant.
- 24.Sallam M. ChatGPT utility in healthcare education, research, and practice: systematic review. Healthcare (Basel). 2023;11(6):887.doi
- 25.Barrows HS, Tamblyn RM. Problem-Based Learning: An Approach to Medical Education. New York: Springer Publishing Company; 1980.
⚠ Foundational PBL monograph; ISBN 0-8261-1190-7. Verify edition/printing at submission.
- 26.Norman GR, Schmidt HG. The psychological basis of problem-based learning: a review of the evidence. Acad Med. 1992;67(9):557–565.doi
- 27.Kohn LT, Corrigan JM, Donaldson MS, eds. To Err Is Human: Building a Safer Health System. Washington, DC: National Academy Press; 2000.
⚠ Institute of Medicine landmark report; freely available at nap.nationalacademies.org. Verify cataloguing at submission.
- 28.Wu AW, Folkman S, McPhee SJ, Lo B. Do house officers learn from their mistakes? JAMA. 1991;265(16):2089–2094.doi
Submission notes (delete before submission)
JMIR mechanics: sentence-case title with study design descriptor "Instrument Validation Study" ✓; IMRD main headings ✓; structured abstract ≤450 words ✓; Ethical Considerations subsection stubbed (needs IRB number); Multimedia Appendices numbered ✓; reporting checklist as MA4; AMA reference style; ORCIDs for all authors; APC per current fee schedule (check Tufts institutional arrangements).
Sequenced dependencies before rating begins: (1) assign and calibrate the naive rater; (2) complete OSF pre-registration and start the generation log; (3) execute the ISMP/MARQUIS coverage check with a defined corpus.
Venue: JMIR Medical Education primary; BMC Medical Education fallback. Hold prestige venues for the resident-pilot outcomes paper. Avoid double-submitting to Medical Education while the Edge manuscript and Pseudohaptics revision are in play.
Authorship: confirm Team KAPOw inclusion and order with Katie; confirm Dan's ICMJE qualification; Matthias per standing arrangement.
Grant reuse: the Introduction and Methods lift almost verbatim into Zucker/TUSM proposals.
References: all [verify]-flagged citations require checking against the actual papers. Renumber 12a/12b into clean AMA sequence at final formatting. Confirm the Emekli 2026 year. Confirm the NCC MERP version at nccmerp.org. Kıyak: two papers confirmed; choose one.