Currently submitted to: JMIR Medical Informatics
Date Submitted: Nov 13, 2026
Open Peer Review Period: Nov 21, 2026 - Jan 16, 2027
(currently open for review)
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Structurally Valid, Still Wrong: A Labelled Synthetic Benchmark of Multisource ADT-to-FHIR Encounter Reconstruction
ABSTRACT
Background:
Hospitals send HL7 v2 admission, discharge and transfer (ADT) messages, which accountable care organizations convert to Fast Healthcare Interoperability Resources (FHIR) Encounters. A structurally valid message can describe a stay or discharge that never happened, or the wrong patient. Without shareable feeds or ground truth, this has not been reproducibly measurable.
Objective:
To build a synthetic ADT-to-FHIR benchmark with known, labelled defects and measure what validation catches, what cross-message rules repair and how residual errors change derived measures.
Methods:
We rendered Synthea patients’ stays as ADT messages from five simulated sender types modelling twelve labelled mechanisms: injected errors and misleading sender conventions. Prespecified defect rates were varied in sensitivity analyses. One engine built Encounters under strict (unknowns kept unknown) and naive (picks a value) policies, with and without twelve cross-message rules frozen before test data. We scored Encounters against truth, ran the FHIR validator (base R4, terminology off) and computed unadjusted ADT-based inputs to three claims-based Centers for Medicare & Medicaid Services measures: emergency department visit counts for Timely Follow-Up After Acute Exacerbations of Chronic Conditions, admission rates for All-Cause Unplanned Admissions for Patients with Multiple Chronic Conditions, and 30-day readmission for Risk-Standardized All-Condition Readmission. We also assessed length of stay. Primary results use a prespecified, held-out confirmation set.
Results:
Of Encounters whose creating message carried a defect label, 97.4% to 97.6% passed FHIR validation, against 100% for a clean control. The rules removed 87% to 88% of duplicate or out-of-scope Encounters and, on the naive policy, recovered all 568 encounters dropped for an unresolved facility. Emergency department visits, up to 69% too high before the rules, stayed 8% to 9% too high; admission rates, up to 105% too high, ended 14% to 15% too low. The combined count of five error categories (duplicate or out-of-scope, missing, mixed, false-deceased and missed-deceased) fell 75% to 80%. Pairwise patient matching was accurate (precision 0.998, recall 0.983), yet under the strict policy mixed-stay Encounters rose from 385 to 749, missing stays from 78 to 382 and false-deceased Encounters from 0 to 10; post hoc, 599 of 650 (92%) Encounters newly classified as mixed after the rules received a message through a fallback to the patient’s latest visit at that facility, without checking closure. After the rules, on both policies, the unadjusted 30-day readmission estimate fell from 22%–24% to 7.2%, below the 11.3% reference, and mean inpatient length of stay was 181% to 199% too high (median within 3%).
Conclusions:
As configured, structural validation passed most Encounters from labelled messages. Cross-message rules cut combined errors 75% to 80% but increased mixed-stay Encounters and missing stays under the strict policy, and downstream measures remained biased. Public release of code, corpora and labels is planned.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.