Moving Device Vigilance Off the Nightly Batch Without Losing the Reporting Clock
When a regulator audits a complaint record, the awareness timestamp is the field they check first, and most legacy vigilance stacks write it only as a side effect of a nightly batch job. An event-driven pipeline fixes that. It only pays off if the new system keeps counting the deadline while the submission gateway, the coding service or a database replica is down. Ask for the migration budget on that basis. Better dashboards are not the case.
Where the old stack actually breaks
The typical legacy setup is a complaint module inside the QMS. A scheduled export lands in a spreadsheet, a reviewer decides reportability, and someone produces the MedWatch 3500A content or eMDR XML through a vendor tool and uploads it to the FDA gateway. On the EU side, manufacturer incident reports go out by hand to competent authorities while EUDAMED modules come online unevenly. Every handoff is synchronous and depends on a person, so when one stage stalls, everything behind it stalls without any alarm. The failure that matters is specific: the gateway accepts the transmission, the batch marks the record as sent, and the second or third acknowledgment never arrives or comes back as a rejection that nobody parses. Postmarket reporting regimes, both FDA medical device reporting and EU MDR vigilance, measure lateness from the date of awareness, not from when your software got to the record. So a 30 calendar day clock keeps running against a report that your own system says is closed.
Designing for the stage that is down
The structural change is to make an append-only event log the system of record for awareness. Intake, IMDRF coding, reportability decision, XML generation and submission then become consumers that read from it and write state back through a transactional outbox, so a crash between deciding and sending cannot lose the decision. Submission has to be idempotent on the manufacturer report number. That lets a retry after a gateway timeout resend the same report safely instead of creating a duplicate the agency will later ask you to explain. Acknowledgment tracking becomes first-class state with its own timer, and a missing acknowledgment escalates exactly like a missed deadline, because in practice it is one. Each stage also needs a degraded mode. If automated triage is down, events go to a human queue with the remaining slack shown. If the gateway is down, XML generation and schema validation continue so the backlog can be sent in minutes once it returns. The cost is a broker, an on-call rotation and more interfaces to maintain. What it buys is something you can measure: time from awareness to decision is logged per event, so a late report becomes something you can query ahead of time instead of something an inspector finds.
The part that hurts
Historical records are the first bill. Legacy complaints often have awareness dates that were overwritten, backfilled from receipt dates or never captured. My estimate is that somewhere around a fifth of a mature complaint history needs manual reconstruction before it can enter the new log with a defensible timestamp. The second bill is the parallel run. Until the new pipeline's reportability decisions match the old process on real traffic, reviewers do the work twice, which in my estimate means about one full quarter of doubled triage effort for a mid-sized portfolio. The third is validation: decoupling one monolith into five consumers means five intended uses to justify under current software assurance expectations for quality system tools. Each of those validated interfaces is also a place where a failure stays contained instead of spreading, and that containment is the trade the budget is paying for.
The decision rule for sequencing is this: if an outage in a stage would hide the remaining reporting slack from a human reviewer for longer than one shift, that stage needs a validated manual fallback before cutover, and every stage that fails visibly can migrate later at lower risk.
Technical FAQ: Can we keep the legacy eMDR tool as the submission stage and migrate only intake and triage?
Yes, and it often makes sense as a first phase, provided the legacy tool exposes acknowledgment status that the new pipeline can poll. If it does not, you have moved the silent failure downstream without removing it, and the reporting clock is just as exposed as it was before.