EHR2Trace: Auditable EHR Data Infrastructure for Patient World Models and Clinical Agents
Mirrored from arXiv — Machine Learning for archival readability. Support the source by reading on the original site.
Computer Science > Machine Learning
Title:EHR2Trace: Auditable EHR Data Infrastructure for Patient World Models and Clinical Agents
Abstract:Patient world models and clinical agents aim to predict changes in patients' health and support clinical work. Developing these systems requires reliable histories of patient conditions, treatments, and the information available at each decision. Electronic health records (EHRs) contain these histories, but differences in how events are recorded make them difficult to use consistently. We present EHR2Trace, a system that converts EHRs from different sources into traceable patient events for model training and evaluation. It links events to source records, separates event time from information availability, and distinguishes medication orders, dispensing, and administration. A shared event representation supports both OMOP and MEDS exports, with automated validation and reproducible builds. Across three clinical datasets, EHR2Trace converted 846.4 million events, with every applicable check passing except one unit-consistency check on MIMIC-IV, and detected all 28 injected faults. A controlled prediction experiment showed that assigning later diagnoses to admission time substantially inflated measured performance, and that a model trained on such data lost accuracy when deployed on histories filtered by availability. EHR2Trace provides a reusable data foundation for patient world models and clinical agents, helping researchers inspect patient histories, check conversion decisions, and evaluate models with explicit data rules.
| Comments: | 13 pages, 3 figures, 6 tables. Code and experiment records: this https URL |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Databases (cs.DB); Quantitative Methods (q-bio.QM) |
| ACM classes: | J.3; H.2.8; I.2.6 |
| Cite as: | arXiv:2609.38193 [cs.LG] |
| (or arXiv:2609.38193v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2609.38193
arXiv-issued DOI via DataCite
|
Access Paper:
- View PDF
- HTML (experimental)
- TeX Source
Current browse context:
References & Citations
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
More from arXiv — Machine Learning
-
Travel Time Prediction in Supply Chain Management Using Machine Learning
Oct 2
-
A Moving-Horizon Approximate Branch-and-Reduce Method for Deep Classification Trees
Oct 2
-
A Data-Free Physics-Informed Neural Operator for Level-Set Interface Advection
Oct 2
-
Conformal Adversarial Generative Ensemble
Oct 2
Discussion (0)
Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.
Sign in →No comments yet. Sign in and be the first to say something.