Parent Epic
Part of #16 — [Epic] Databricks EHR Writeback — Delta Outbox + Canonical Prediction Model
Summary
Build the async batch processor that polls the Delta outbox, dispatches predictions to EHR endpoints with bounded concurrency, and commits results back.
Dependencies
Tasks
Acceptance Criteria
Parent Epic
Part of #16 — [Epic] Databricks EHR Writeback — Delta Outbox + Canonical Prediction Model
Summary
Build the async batch processor that polls the Delta outbox, dispatches predictions to EHR endpoints with bounded concurrency, and commits results back.
Dependencies
Tasks
asyncio.Semaphorefor configurable concurrency (default 10-20)retry_counton failure, route to dead letter after configurable max retriesdead_letter.pyfor dead letter routingsrc/ehr_writeback/outbox/processor.pyAcceptance Criteria