NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The AMPEL Platform: An Open-Source Project for Developing Hospital-Wide Clinical Decision Support Systems under EU-Regulation

Alexander Twrdik, Daniel Steinbach, Martin Federbusch, Clemens Malkawi, Maria Schmidt, Toralf KirstenarXiv 2026

TL;DR

AMPEL is an open-source "digital safety net" for hospitals that processes patient data in real-time to catch life-threatening complications before they escalate. By combining a high-performance, event-driven architecture with a rigorous focus on EU Medical Device Regulations (MDR), it provides a rare bridge between academic research and actual, legally-compliant bedside care.

What Problem Does This Paper Address?

Modern hospitals are drowning in data, yet much of it sits idle in electronic health records (EHRs) until a human decides to look at it. Traditional Clinical Decision Support Systems (CDSS) often act like a library: they have the answers, but you have to go and ask. They are "report-driven," meaning they only run when a doctor opens a chart or clicks a button.

The authors identify two massive hurdles:

  1. The Proactivity Gap: We need systems that act like a smoke detector—constantly monitoring the "air" (data) and sounding an alarm the moment something is wrong, without waiting for human intervention.
  2. The Regulatory Wall: In Europe, any software used for clinical decisions must comply with the Medical Device Regulation (MDR). Meeting these standards is so grueling that most innovative open-source projects never make it out of the lab.

Methods

The authors built AMPEL, a distributed, event-driven platform designed for scalability and regulatory compliance.

  • The "Central Nervous System" (Kafka): Instead of a central database that services poll for updates, AMPEL uses Apache Kafka. When new data arrives (a lab result, a blood pressure reading), it’s broadcast as an "event."
  • Event-Driven vs. Time-Driven: As shown in Figure 1, traditional systems (2a) wait for a timer or a user action. AMPEL (2b) pushes data through parallel "scoring systems" the instant it's generated.
Figure 1. Time- or report-driven solutions (2a) run algorithms only at fixed intervals or in response to a user action (clicking a button or opening a patient’s chart). By contrast, the event-driven software (2b) described here uses the real-time data themselves as triggers. The algorithms run in parallel as independent services, while individually processing the same events.
  • Protocol Buffers (Protobuf): To keep the system "language agnostic" (allowing researchers to write algorithms in Python, Java, or C++), they use Protobuf for message formatting. It’s faster than JSON and allows the system to evolve without breaking old components.
  • HIS Agnostic: The platform doesn't care which Hospital Information System (HIS) you use. It relies on a "translation layer" that turns messy, site-specific data into standardized AMPEL events.
  • Choreography over Orchestration: There is no "master" controller. Each service knows what messages it needs and acts independently, which prevents a single point of failure.
Figure 2. The platform's architecture is depicted as the overall dataflow, with core components displayed in solid lines. External components, necessary to turn it into a CDSS, are displayed in dotted lines. I) Ingesting raw HIS data; II) transforming data into platform events; III) calculating scores by reading and analyzing data; IV) reading platform events and using them in a domain specific fashion; V) making data available to external systems.

Datasets

The paper describes the implementation of LAMPE, a specific CDSS built on the AMPEL platform at the University of Leipzig Medical Center (ULMC).

  • Primary Data: Real-time routine care data from the hospital’s SAP i.s.h.med system.
  • Benchmarks: The authors have published the scoring system for Acute Kidney Injury (AKI) and its validation dataset under an open-source MIT license to encourage transparency and reproducibility.

Key Insights and Ideas

  • Regulatory as a Feature: AMPEL isn't just code; it includes a Quality Management System (QMS) and documentation templates. It’s designed to help other hospitals build their own "medical-device-grade" software.
  • The "Transactional Inbox": In a distributed system, messages can get lost or duplicated. AMPEL uses a transactional inbox to ensure that every piece of data is processed exactly once, preventing "poison pills" (malformed data) from crashing the system.
  • Visual Silence: One of the most intuitive UI choices is the treatment of "green" scores. If a patient is fine, the system shows the result but removes the color. This reduces "alert fatigue," ensuring that when a doctor sees a vibrant red or yellow box, they know it actually matters.
Figure 3. Basic user interface centered around an example medical encounter. It displays the latest scores from internal scoring systems. Scores are color-coded for a focussed assessment of severity. Calculated “green scores” (no anomaly found) are deliberately displayed without color to prevent unnecessary distractions.

Key Results

  • Real-World Deployment: The LAMPE system has been operational at ULMC for over six months.
  • Clinical Impact: During that window, the system alerted medical staff to 3,755 detected anomalies related to Acute Kidney Injury (AKI).
  • Efficiency: Despite the complexity, the core platform services require only 4 CPU cores and 8GB of RAM—roughly the power of a standard office laptop—to monitor an entire tertiary care hospital.

Limitations and Future Work

  • The "Last Mile" of Data: AMPEL intentionally lacks a built-in data input module. Because every hospital’s data structure is a unique snowflake, users must still build their own ETL (Extract, Transform, Load) pipeline.
  • The GDPR Paradox: Kafka is an "append-only" log, which makes the GDPR "Right to be Forgotten" (deleting patient data) technically challenging. Currently, this requires a full data wipe and reload, which the authors aim to improve.
  • Governance: While open-source, the project is currently maintained by a single department at ULMC. The authors are calling for a broader community to join and help determine the platform's performance limits as more complex AI models are added.

Summary updated

BibTeX
@misc{twrdik2026ampel,
  author = {Alexander Twrdik and Daniel Steinbach and Martin Federbusch and Clemens Malkawi and Maria Schmidt and Toralf Kirsten},
  title = {{The AMPEL Platform: An Open-Source Project for Developing Hospital-Wide Clinical Decision Support Systems under EU-Regulation}},
  year = {2026},
  eprint = {2611.30990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30990},
}
Figure