Turn every service call, field report, and customer complaint into one quality record with the UDI attached — triage and deduplicate at intake, drive the reportability decision inside the clock, file eMDR and EU vigilance reports, and keep corrections and removals traceable back to the devices actually affected.
Tags: life-sciences, medtech, complaint-handling, post-market-surveillance, udi, regulatory-compliance, servicenow, salesforce, event-driven
Service, Complaints, and MDR Reporting
Objective: Give complaint handling one front door and one record. Reports arrive through service technicians, field reps, call centers, distributors, and increasingly the devices themselves, and each channel has historically had its own spreadsheet. Under the Quality Management System Regulation the expectation is a traceable thread from complaint through reportability decision, CAPA, and field action — with the UDI present at every step. The integration's job is to build that thread and to protect the reporting clock.
What's Getting Built
- Complaint Intake (Experience API) — one front door that adapts every reporting channel and persists the raw report before parsing ·
POST /complaints/intake, POST /complaints/intake/service, POST /complaints/intake/field
- Triage and UDI Resolution (Process API) — screens complaints from service events, resolves the device by UDI, serial, or model, and attaches installed-base context ·
POST /triage, POST /screening, GET /device/resolve
- Complaint record QMS / CAPA (target) — owns complaint numbering and the CAPA lifecycle with the raw intake payload attached ·
POST /complaints, PATCH /complaints/{id}, POST /capa
- Reportability Decision (Process API) — routes the complaint through the agreed decision tree and manages the reporting clock per jurisdiction without concluding it automatically ·
POST /reportability/evaluate, POST /clock/start, GET /clock/{id}
- eMDR to FDA ESG and EU vigilance (Process API) — generates and transmits eMDR and EU incident reports from the canonical complaint and processes acknowledgments ·
POST /emdr/submit, POST /vigilance/submit, POST /ack/consume
- Corrections and removals (Batch flow) — resolves the affected population from UDI, lot, and distribution records and tracks field action closure per account ·
BATCH resolve affected population, POST /field-action, GET /field-action/{id}/closure
Value chain coverage
This plan cuts across phases rather than sitting inside one.
| Phase |
Name |
What this plan does there |
| 04 |
Manufacturing & QC |
Complaint signals routed back to CAPA, design, and the device history record that shows how the unit was built. |
| 03 |
Regulatory & Compliance |
MDR and EU vigilance submissions, plus corrections and removals reporting, filed inside the regulatory clock. |
| 06 |
Commercial & Patient Services |
Intake from service, field, and customers, with the account and installed base context attached. |
Prerequisites
- Anypoint Platform org with API Manager and a non-production deployment target.
- Secrets Manager or secure properties configured for every regulated system credential.
- Named quality owner — anything touching a device quality record needs a change-control path agreed before the first deployment.
- QMS access with a complaint object and CAPA workflow — Veeva Vault QMS, MasterControl, ETQ, or equivalent.
- Service management access holding work orders and the installed base, typically Salesforce Field Service or ServiceMax.
- FDA Electronic Submissions Gateway account with eMDR test-phase certification completed, plus the EU vigilance route for markets in scope.
- A written reportability decision tree agreed with regulatory affairs — the integration routes and evidences it, but must never make it.
- UDI resolution available as a service, so a scanned or quoted identifier resolves to a device, model, and lot or serial.
Choose your path
- Intake consolidation — Choose when complaints arrive through many channels and are re-keyed into the QMS — the fastest way to protect the clock and stop losing reports.
- Reporting automation — Choose when intake is already controlled and the burden is eMDR generation, transmission, and acknowledgment handling.
Platform notes
Service management
- A work order is not a complaint, and treating every service call as one will bury the quality team — apply the agreed screening criteria at intake and record why something was excluded.
- The installed base is the join: resolve the device at the site before the record is created, so the complaint is never orphaned from the unit it concerns.
QMS platforms
- Let the QMS own complaint numbering and the CAPA lifecycle; an integration that assigns its own identifiers creates reconciliation work permanently.
- Attach the raw intake payload to the complaint record so an investigator can see what was originally reported, not just what was coded.
Regulatory gateways
- eMDR submissions run through the FDA Electronic Submissions Gateway and return acknowledgments that must be processed rather than archived — a negative acknowledgment means the report has not been filed.
- EU vigilance follows its own manufacturer incident report format and timelines; generate from one canonical complaint rather than maintaining parallel mappings.
Architecture
1. Business requirements
- Every complaint captured once, from any channel, with the time of first awareness preserved.
- The device identified by UDI at intake, and the affected population identifiable afterwards.
- Reportability decided inside the regulatory clock with the rationale recorded, whether the answer is yes or no.
- Corrections, removals, and recalls traceable to the units and accounts actually affected.
- One thread from complaint through CAPA to design change, because that is what an inspection follows.
2. Multi-channel intake
- Expose one intake API and adapt each channel to it — service work orders, field reports, call center, distributor notifications, and web forms.
- Persist the raw report on receipt, before parsing, so a mapping failure delays a complaint rather than losing it.
- Stamp awareness time at the true point of first knowledge and carry it unchanged into the QMS.
- Apply the screening criteria to separate complaints from service events, and record the reason for anything screened out.
3. Device identity and installed base
- Resolve the reported identifier — UDI, serial, model, or a partial quote from a caller — to a device record before creating the complaint.
- Attach the installed base context: which account, which site, when it was installed, and what has been serviced since.
- Where the identifier cannot be resolved, create the complaint anyway and flag it for investigation rather than blocking intake.
- Carry lot or serial through to the device history record so the build evidence is one hop away.
4. Reportability and submission
- Route the complaint through the agreed decision tree, capturing every input the decision relied on.
- Start and track the clock per jurisdiction, and escalate on approach rather than on breach.
- Generate eMDR and the EU incident report from the canonical complaint, validating against the receiving authority's rules before transmission.
- Process acknowledgments automatically — a rejection reopens the report with the specific failure attached and the clock still running.
5. CAPA, corrections, and field actions
- Publish complaint-trend events so CAPA is triggered by signal rather than by someone noticing.
- For a field action, resolve the affected population from UDI, lot, and distribution records, then hand the account list to customer operations.
- Track field action execution to closure per account, because effectiveness has to be evidenced rather than asserted.
- Feed confirmed failure modes back to design and risk management so the risk file stays current.
6. Security and QMSR compliance
- Validate the integration against ISO 13485:2016 as incorporated by the FDA Quality Management System Regulation, effective 2 February 2026 — software validation and change control apply to this flow.
- Meet 21 CFR Part 11 for electronic records and signatures on every quality-relevant flow.
- Carry the UDI through every quality record the integration touches — complaint, servicing, and device history records — because inspections check that thread across systems, not within one.
- Respect the four obligations ISO 13485 does not cover: Medical Device Reporting (21 CFR 803), corrections and removals (806), device tracking (821), and UDI (830).
- Preserve audit trails no operator can edit, and retain evidence in the form an inspection under Compliance Program 7382.850 will ask for.
- Treat a mapping change on a quality-relevant flow as a controlled change under change management, never as a hotfix.
- Reporting timelines run from first awareness by any employee, so intake latency consumes the clock — measure it as a compliance metric rather than an operational one.
- The reportability decision is a regulatory judgment: the integration may route, evidence, and time it, but must never conclude it automatically.
- Architect for zero loss — durable persistence of the raw report on receipt, with no path where a downstream failure discards a complaint.
For pre-built API specifications, implementation templates, and reference architecture, see the MuleSoft Accelerator for Life Sciences on Anypoint Exchange.
Sample payload — Complaint intake with device resolution
{
"intakeId": "CMP-INT-2026-0731-1183",
"channel": "field_service",
"firstAwarenessAt": "2026-07-31T08:12:44Z",
"rawReportRef": "s3://qms-raw/2026/07/31/wo-449120.json",
"reportedDevice": { "udiDi": "00889842011234", "serial": "SN-4471902", "quotedModel": "XR-40" },
"resolved": { "deviceId": "DEV-00114", "model": "XR-40", "lot": "LOT-2025-1140", "installedAt": "2024-03-11" },
"account": { "masterId": "HCO-00274", "siteId": "SITE-00274-03" },
"event": { "reportedProblem": "unexpected shutdown mid-procedure", "patientInvolved": true, "harm": "procedure_delayed" },
"screening": { "isComplaint": true, "criteria": "device_performance_deviation" },
"reportability": { "status": "pending_regulatory_review", "clockStartedAt": "2026-07-31T08:12:44Z", "dueAt": "2026-08-30T08:12:44Z" }
}
Testing and validation
- Submit a report through each channel and confirm first-awareness time reaches the QMS unchanged.
- Force a downstream failure after intake and confirm the raw report is retained and reprocessable with nothing lost.
- Report a partial identifier and confirm resolution succeeds, and that an unresolvable one still creates a flagged complaint.
- Generate an eMDR that violates a gateway business rule and confirm it fails validation before transmission.
- Process a negative acknowledgment and confirm the report reopens with the failure attached and the clock still running.
- Trigger a field action and confirm the affected population resolves from UDI and distribution records to a defensible account list.
Phased rollout
Phase 1 — Connect
- Stand up the intake API with durable raw persistence and connect service management first, since it carries the highest volume.
- Complete eMDR test-phase certification with the gateway before any production submission.
Phase 2 — Map and validate
- Implement screening and device resolution, running in parallel with manual intake until agreement is proven.
- Generate eMDR output for historical complaints and compare against what was actually filed.
Phase 3 — Production
- Onboard channels one at a time, reconciling intake against complaints created every day from the first day.
- Add field action population resolution once complaint and UDI data have been stable for a full cycle.
Success metrics
- Time from first awareness to complaint record created, measured at the slowest channel.
- Reports filed inside the regulatory clock, expressed as a percentage with every exception named.
- Complaints with a resolved device identifier, trending toward complete.
- Field action closure per account inside the committed window.
- Zero unreconciled gaps between intake volume and complaints created.
Troubleshooting
- Reporting clock breached despite fast complaint processing — Likely cause: clock started at QMS record creation rather than at first awareness in the channel. Fix: Stamp awareness at the true point of knowledge and carry it immutably into the QMS.
- Quality team buried in non-complaints — Likely cause: every service work order forwarded without screening. Fix: Apply the agreed screening criteria at intake and record the exclusion reason for anything filtered.
- Field action cannot identify affected units — Likely cause: UDI captured as free text and never resolved to a device record. Fix: Resolve identifiers at intake and store the resolved device reference, keeping the original text alongside.
- Gateway rejects submissions in production only — Likely cause: validation performed against schema rather than the authority's business rules. Fix: Apply the full rule set before transmission and keep the rule version with the submission.
Deliverable: A zero-loss complaint intake layer across service, field, and customer channels, with UDI resolution, an evidenced reportability decision, validated eMDR and EU vigilance submission with acknowledgment handling, and field actions resolved to the accounts actually affected.