Ingest pacemaker and ICD remote interrogation data from vendor Home Monitoring networks into Epic Cupid using the IEEE 11073-10103 / HL7 IDCO profile, so cardiac device clinics review structured findings instead of scanned PDFs.
Tags: healthcare, epic, hl7v2, interoperability, connected-devices, system-api, process-api, event-driven
Implantable Cardiac Devices
Objective: Cardiac device clinics drown in remote interrogation reports from Medtronic CareLink, Boston Scientific LATITUDE, Abbott Merlin, and Biotronik Home Monitoring, each arriving as a vendor PDF or portal login, forcing nurses to re-key lead impedances, battery voltage, and arrhythmia episodes into Epic by hand. The IDCO profile carries these findings as structured HL7v2 ORU messages. Done looks like a scheduled or alert-triggered interrogation landing as a discrete, trended observation in Cupid within minutes, red-alert episodes paging the on-call clinic the same day, and no one retyping a device summary again. This accelerator packages the Implantable Cardiac Devices Epic Data Sharing Playbook as a MuleSoft-anchored solution plan.
What's Getting Built
- IDCO Ingest (System API) — terminates each vendor Home Monitoring feed and parses IDCO ORU^R01 interrogations, speaking MLLP for HL7-native senders and REST for portal-push ·
MLLP LISTEN ORU^R01, POST /interrogation
- Normalize and Match (Process API) — maps MDC_IDC codes to Epic observations, matches device on manufacturer-model-serial, dedupes sessions by session key, and classifies alert severity ·
POST /normalize, POST /match, POST /route-alert
- Dead Letter Queue (target) — holds interrogations missing serial or timestamp and unmatched or unregistered-device messages for quarantine and replay ·
PUBLISH dlq, REPLAY dlq
- Missed-Transmission Monitor (Scheduler) — fires when an expected scheduled interrogation window is missed so patients do not silently drop off remote monitoring ·
SCHEDULER per-device schedule, ALERT absence-of-transmission
- Bridges Interface Engine (target) — delivers discrete, trended device observations as ORU^R01 into Epic Cupid's device clinic registry ·
MLLP SEND ORU^R01 to Bridges
- Hyperdrive In Basket (target) — receives severity-based red-alert episode routing to the cardiac device clinic pool ·
POST /inbasket/alert
Prerequisites
- Epic Cupid device clinic module live with a cardiac device registry keyed by manufacturer, model, and serial number
- Bridges interface engine configured to accept inbound ORU^R01 over MLLP or the IDCO-over-HL7 feed
- Vendor data-sharing agreements and IDCO endpoints enabled in CareLink, LATITUDE, Merlin.net, and Biotronik Home Monitoring
- MuleSoft Anypoint Platform with the Anypoint Connector for HL7 EDI and an MLLP inbound endpoint
- Master device-model reference table mapping vendor model codes to Epic device records and CPT interrogation codes
- Patient identity cross-reference of device serial to Epic MRN reconciled before go-live to avoid orphaned observations
1. Epic interfaces and standards
This accelerator implements the Implantable Cardiac Devices Epic Data Sharing Playbook. Register the connecting app on Epic on FHIR and confirm the customer has the relevant Epic modules licensed before building.
- Cupid (cardiology device clinic and interrogation trending)
- Bridges (HL7v2 interface engine)
- ORU^R01 unsolicited observation result carrying the HL7 IDCO profile
- IEEE 11073-10103 Implantable Device Cardiac nomenclature (MDC_IDC codes)
- Hyperdrive In Basket for device-alert routing to the cardiac device clinic pool
- Cogito (device trend analytics and clinic throughput reporting)
Architecture
2. Business requirements
- Land routine and alert interrogations as discrete Cupid observations, not scanned PDFs, so battery and lead values trend across visits.
- Route red-alert episodes such as sustained VT/VF, lead impedance out of range, and battery ERI or EOL to the device clinic In Basket within the same business day.
- Support all four major vendors through one canonical IDCO pipeline so clinic staff see a uniform summary regardless of manufacturer.
- Preserve the original vendor report as a linked document for medico-legal review even after discrete parsing.
- Reconcile each interrogation to the correct Epic device record by serial number, never by patient name alone.
3. IDCO ingestion and parsing
- Terminate each vendor feed at a System API that speaks MLLP for HL7-native senders and REST for portal-push senders.
- Parse the ORU^R01: OBR carries the interrogation session, OBX segments carry MDC_IDC-coded observations for battery voltage, lead impedance, pacing threshold, and episode counts.
- Map IEEE 11073-10103 MDC codes to Epic-consumable observation identifiers in DataWeave, keeping the raw MDC code in a companion OBX for traceability.
- Decode episode detail from the IDCO arrhythmia observations and treat EGM waveform attachments as linked media, not discrete fields.
- Reject messages missing device serial or session timestamp before they reach Bridges rather than letting Cupid orphan them.
4. Device matching and normalization
- Match on the tuple of manufacturer plus model plus serial number against the Cupid device registry; a serial alone can collide across vendors.
- Normalize vendor-specific units of millivolts, ohms, and percent to the units Cupid expects before mapping, since vendors disagree on battery reporting.
- Resolve the patient via the device-to-MRN cross-reference table, and quarantine any interrogation whose device is not yet registered.
- Collapse duplicate transmissions, such as a scheduled and a patient-initiated download of the same session, using a session-key correlation ID.
- Flag model codes absent from the reference table for manual mapping instead of guessing a device type.
5. Orchestration and alert routing
- Split the flow: every interrogation flows to Cupid for trending, while only alert-flagged sessions fan out to the In Basket router.
- Classify severity from the IDCO alert observations, not from the vendor's own color coding, so thresholds stay under clinic control.
- Stamp a correlation ID on ingest and carry it through Bridges so a clinic call-back can be traced to the exact transmission.
- Debounce repeat alerts for the same device and episode class so a chattering lead does not flood the clinic pool.
- Alert on the absence of an expected scheduled transmission, which is the failure mode that silently drops a patient off remote monitoring.
6. Security and compliance
- Encrypt PHI in transit and at rest.
- Audit-log every access to and modification of patient data, and carry a correlation ID end to end.
- Enforce minimum-necessary access for integration operators and support users.
- Restrict the device-to-MRN cross-reference table to the integration service account, since it is a re-identification map for otherwise device-keyed data.
- Validate the sending vendor endpoint by mutual TLS or IP allowlist before accepting an MLLP connection, as ORU feeds carry no user authentication.
- Retain EGM waveform attachments under the same PHI controls as the discrete observations, not in a looser document store.
Sample payload — IDCO ORU^R01 remote ICD interrogation (excerpt)
MSH|^~\&|LATITUDE|BSCI|EPIC|HOSP|20260819T141530||ORU^R01|MSG00042|P|2.6
PID|1||MRN48213^^^HOSP^MR||DOE^JANE
OBR|1||SESS-7781^LATITUDE|MDC_IDC_SESS^Interrogation Session^MDC|||20260819T141210
OBX|1|NM|MDC_IDC_BATT_VOLT^Battery Voltage^MDC||2.61|V|2.62-3.20|L|||F
OBX|2|NM|MDC_IDC_MSMT_RA_IMPED^RA Lead Impedance^MDC||512|Ohm|200-2000|N|||F
OBX|3|NM|MDC_IDC_MSMT_RV_IMPED^RV Lead Impedance^MDC||3100|Ohm|200-2000|H|||F
OBX|4|CE|MDC_IDC_STAT_BATT^Battery Status^MDC||ERI^Elective Replacement Indicator|||A|||F
OBX|5|NM|MDC_IDC_EPISODE_VT_CNT^VT Episodes^MDC||3|/session||A|||F
Testing and validation
- Feed golden ORU^R01 samples from each of the four vendors and assert identical canonical output despite differing MDC dialects.
- Verify a battery ERI and an out-of-range lead impedance both raise the alert path while a normal session does not.
- Test a serial-number collision across two manufacturers and confirm matching resolves on the full manufacturer-model-serial tuple.
- Submit a duplicate scheduled-plus-patient-initiated transmission and confirm session-key dedup collapses it to one Cupid observation.
- Send an interrogation for an unregistered device and confirm it quarantines rather than orphaning in Cupid.
- Simulate a missed scheduled transmission window and confirm the absence-of-event monitor fires.
Phased rollout
Phase 1 — Connect
- Stand up the System API MLLP and REST endpoints and complete mutual TLS handshakes with each vendor test environment.
- Load the device-model reference table and device-to-MRN cross-reference from the Cupid registry.
Phase 2 — Map and test
- Build DataWeave MDC-to-Epic observation maps per vendor and validate against golden IDCO samples.
- Run parallel ingestion into a Cupid test environment and reconcile discrete values against the source vendor reports.
Phase 3 — Production
- Cut over one vendor at a time, starting with the highest-volume feed, watching the dead-letter queue and quarantine rate.
- Enable alert-path In Basket routing only after the device clinic confirms severity thresholds and on-call coverage.
Success metrics
- Percent of interrogations landing as discrete Cupid observations versus manual entry, target above 95 percent.
- Median minutes from vendor transmission to chart-available observation.
- Alert-to-In-Basket latency for red-alert episodes, held to same business day.
- Quarantine rate for unmatched devices, trended down as the registry is reconciled.
- Count of missed-scheduled-transmission alerts fired, indicating patients slipping off remote monitoring.
Troubleshooting
- Interrogations land in Cupid but battery voltage trends look erratic across vendors. — Likely cause: Vendors report battery state in different units and reference ranges, and units were not normalized before mapping. Fix: Apply per-vendor unit and reference-range normalization in the Process API DataWeave before the canonical observation is built.
- A subset of transmissions orphan with no patient attached. — Likely cause: The device serial was matched on serial alone and the device is missing from the Cupid registry or cross-reference. Fix: Match on manufacturer-model-serial and quarantine unregistered devices for manual registration instead of forcing a partial match.
- The device clinic reports a flood of duplicate alerts for one patient. — Likely cause: Scheduled and patient-initiated downloads of the same session arrived as separate messages without deduplication. Fix: Correlate on the IDCO session key and debounce repeat alerts of the same episode class before In Basket routing.
- A patient later found to be off monitoring for weeks, with no error logged. — Likely cause: The pipeline only alerts on received messages, so a stopped feed produced silence rather than an error. Fix: Add an absence-of-expected-transmission monitor keyed to each device schedule and alert when a window is missed.
Deliverable: A MuleSoft API-led blueprint that ingests IDCO-profile ORU^R01 interrogations from CareLink, LATITUDE, Merlin.net, and Biotronik into Epic Cupid as discrete, trended observations, with severity-based In Basket alert routing, serial-based device matching, session-key deduplication, and an absence-of-transmission monitor.