Source events
EMS, facility, and approved device integrations
Provider timestamp · stable event IDDISTRIBUTED SYSTEMS · EMERGENCY CARE
A closed-loop research prototype connecting EMS events, route review, facility acceptance, and clinical context through an organization-isolated Supabase backend.
01 / THE PROBLEM
Emergency transport depends on updates arriving from different actors at different times. The research question is how to preserve a trustworthy case timeline across those boundaries—while exposing only the information each role needs.
Clinical telemetry informs qualified human review. It never diagnoses or dispatches by itself.
02 / SYSTEM MAP
The proposed event path is explicit about validation, tenancy, and measurement. Each arrow is a system boundary that can be instrumented and evaluated.
EMS, facility, and approved device integrations
Provider timestamp · stable event IDSigned Edge Function webhook
HMAC · replay window · field allow-listTransactional PostgreSQL ingestion
Idempotency · organization RLS · event historyRealtime updates to signed-in members
Role-scoped access · source freshnessArchitecture and metric map · evaluation measures are planned; no operational values are represented here.
03 / CLOSED LOOP
Acceptance, arrival, and handoff remain separate state transitions. Rejections return to review as a new route version.
04 / RESEARCH CONTRIBUTION
The project focuses on a verifiable workflow across event ingestion, multi-tenant persistence, human review, and clinical-data separation—not on claiming a new routing algorithm.
Repeated deliveries are deduplicated, payload conflicts are rejected, and case state updates respect source timestamps.
Organization membership controls case access; clinical observations are limited to clinical and privacy roles.
Route suggestions and facility capacity are not treated as approval, acceptance, or a clinical decision.
The evaluation plan covers event delay, freshness, duplicate handling, recovery, and cross-tenant access.
Novelty statement: the defensible contribution is systems integration and its evaluation method. Priority over prior work is not claimed; a complete literature review and measured comparison remain necessary.
05 / EVALUATION
The planned experiment compares a centralized polling baseline with the event-driven Supabase configuration under equal workload traces. Both configurations must be measured before any performance conclusion is reported.
Read the IEEE methodologyChart values are intentionally absent until controlled experiments produce them.
06 / DATA & EVIDENCE
These are different evidence sources and must never be presented as interchangeable.
Potential source for aggregate EMS case-mix characterization after access approval and review of dataset terms. It is not a live incident stream.
NEMSIS access information ↗Credentialed, governed retrospective EHR data. It does not validate an EMS provider connection or represent real-time telemetry.
PhysioNet dataset page ↗RLS policies and explicit grants form the tenant boundary; Realtime refreshes authorized views for a bounded pilot design.
RLS documentation ↗Research prototype only. The Supabase schema and webhook function are deployed, but no authorized EMS feed is connected and no measured results have been collected. This system is not for dispatch, diagnosis, or clinical care. Do not enter real patient data until institutional, privacy, security, and provider approvals are complete.