Streams cardiac cath and interventional lab hemodynamics data — pressures, waveforms, oximetry, and the procedure log — from bedside monitors and the hemodynamics recording system into Epic Cupid so the completed case reaches the chart without manual re-entry.
Tags: healthcare, epic, hl7v2, connected-devices, interoperability, fhir, system-api, event-driven
Hemodynamics System
Objective: Cath and interventional labs capture hemodynamic pressures, thermodilution and Fick outputs, oximetry runs, and a timed procedure log in a dedicated recording system, but that data too often lands as a scanned PDF or gets keyed in by hand after the patient leaves the room. That delays the operator note, breaks structured reporting into Cupid, and starves Cogito registries. Done looks like this: when a case is finalized on the recorder, discrete measurements and the timed log flow into Cupid as structured results on the correct patient, encounter, and cath order, appear in the operator report within minutes, and reconcile against ADT and order feeds with no duplicates or orphans. This accelerator packages the Hemodynamics System Epic Data Sharing Playbook as a MuleSoft-anchored solution plan.
What's Getting Built
- HL7 Listener (System API) — terminates the recorder MLLP stream, accepts only the final ORU, and buffers raw HL7 to durable storage before ACK ·
MLLP LISTEN ORU^R01, ACK^R01
- Case Assembly (Process API) — assembles measurements, oximetry runs, and the timed log into one transactional case and matches patient, encounter, and order against the ADT and order feeds ·
CONSUME hl7.case, MATCH ADT + ORM/OMG, HOLD unmatched
- DataWeave to ORU IDCO (target) — maps each measurement to its Cupid result component in an IDCO-structured ORU R01 and routes it to Epic over the dedicated hemodynamics Bridges interface ·
TRANSFORM to ORU^R01 IDCO, MLLP SEND to Bridges
- Dead Letter Queue (Object Store) — holds unmatched, unmapped, or malformed cases with correlation ID, raw payload, and failed rule for the reconciliation worklist and replay ·
PUT /{correlationId}, GET /{correlationId}, POST /replay
- Case-Complete Absence Alerting (Scheduler) — compares scheduled or started cases against received case-complete events and pages when a completion is overdue ·
SCHEDULER poll, ALERT missing case-complete
Prerequisites
- Hemodynamics recording system such as Mac-Lab, Sensis, or Xper configured to emit HL7v2 ORU results and a case-complete trigger, or a vendor export endpoint.
- Epic Bridges interface build for the inbound ORU R01 hemodynamics feed with a dedicated interface ID and Cupid result mapping.
- Cupid procedure catalog and cath and EP order types finalized, with LOINC or Epic-specific result component IDs for each hemodynamic measurement.
- Live ADT A01 A03 A08 and order ORM OMG feeds so the integration can resolve patient, encounter, and the placer or filler order number.
- Anypoint Platform environment with connectivity to the lab network segment where monitors and the recorder live, often a biomedical VLAN.
- Master data for operators, rooms, and devices mapped to Epic provider IDs and department and location records.
1. Epic interfaces and standards
This accelerator implements the Hemodynamics System 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 structured results and procedure logging
- Bridges HL7v2 interface engine
- HL7v2 ORU R01 result messages and ORM O01 OMG O19 order messages
- IDCO profile for structured cardiovascular device and hemodynamics reporting
- FHIR R4 Observation Procedure DiagnosticReport and DocumentReference resources
- ADT A01 A03 A08 for patient and encounter context
Architecture
2. Business requirements
- Deliver discrete hemodynamic measurements such as chamber and gradient pressures, cardiac output by thermodilution and Fick, shunt oximetry, and valve areas as structured Cupid results, not a flat PDF.
- Attach every case to the correct patient, encounter, and originating cath or EP order so it lands on the right procedure log, not a floating result.
- Post the finalized case within minutes of the operator closing it on the recorder, so the procedure note can reference live numbers.
- Preserve the timed procedure log of contrast, medications, balloon inflations, and sheath in and out as an ordered event record, because the sequence carries clinical meaning.
- Treat the recorder as the source of truth for measurements and require an explicit case-complete signal before releasing anything to the chart.
3. Ingestion from the recording system
- Stand up a System API that terminates the MLLP HL7v2 stream from the hemodynamics recorder over the biomedical VLAN, one listener per facility.
- Accept only the final ORU for a case; discard or quarantine interim or preliminary sends unless the vendor guarantees an amend flag.
- Stamp every inbound message with a correlation ID keyed on the vendor case or accession number so retries and amendments stay linked.
- Buffer raw HL7 to durable storage before acknowledging, so a downstream failure never loses a case the recorder considers delivered.
- Normalize waveform and image references to DocumentReference pointers rather than inlining large binaries into the result message.
4. Matching and normalization
- Resolve the patient and encounter from the recorder identifiers against the ADT feed; never trust the recorder demographic copy as authoritative.
- Match the case to its placer or filler order number from the cath or EP order feed; if no order is found, hold the case rather than creating an orphan.
- Map each measurement to its Cupid result component ID or LOINC code in a versioned DataWeave lookup, and fail loudly on an unmapped component instead of dropping it.
- Convert units to the Epic-expected UCUM units such as mm Hg, L per min, and cm2 in DataWeave and record the original units for audit.
- Reconstruct the procedure log as time-ordered OBX and NTE segments so Cupid renders the sequence, not an unordered bag of values.
5. Orchestration and delivery
- Assemble the full case in a Process API, measurements, oximetry runs, log events, and document pointers, as one transactional unit before transformation.
- Transform to an IDCO-structured ORU R01 in DataWeave, grouping measurements into logical OBR and OBX sets that mirror the Cupid report structure.
- Route the finished ORU to Epic Bridges over the dedicated hemodynamics interface, not the general lab ORU channel.
- Hold delivery until patient, encounter, and order are all resolved; a partial match is a hold condition, not a best-effort send.
- Emit an internal event on successful post so registries and the operator worklist can react without polling.
6. Error handling and operations
- Route unmatched, unmapped, or malformed cases to a dead-letter queue with the correlation ID, raw payload, and the specific failed rule.
- Alert on the absence of an expected case-complete event for a scheduled procedure, which is the failure mode dashboards miss most often.
- Give lab staff a reconciliation worklist so a held case can be matched to the correct patient and order and replayed without a vendor re-send.
- Detect and suppress duplicate finals for the same vendor case ID, and treat a later final as an amendment tied by correlation ID.
- Track end-to-end latency from case-complete to Cupid post, and page when it crosses the clinically meaningful threshold, not just on hard errors.
7. 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.
- Segment the biomedical VLAN traffic from monitors and the recorder; the System API listener should be the only bridge out of that network segment.
- Enforce mutual TLS or a vendor-approved secured MLLP channel for the hemodynamics feed, since bedside devices often default to cleartext HL7.
- Redact large waveform and image binaries from logs and dead-letter payloads; store only DocumentReference pointers and case metadata in operational stores.
- Restrict the reconciliation worklist to credentialed cath lab staff, because manual patient and order rematching is a mis-identification risk if opened too widely.
Sample payload — Finalized hemodynamics case as an ORU R01 in IDCO style, abbreviated
MSH sender HEMODYN CATHLAB1 receiver EPIC HOSP ORU R01 control CASE-8841-F HL7 2.5.1 || PID EPICMRN E1000237 DOE JANE DOB 1958-02-14 F || PV1 inpatient room CATH 01 attending 1043 OPERATOR ANNA MD service CAR || ORC RE placer ORD-55219 filler FIL-77310 operator 1043 OPERATOR ANNA MD || OBR order ORD-55219 FIL-77310 CATHLHC Left Heart Cath Hemodynamics start 2026-08-20 1315 end 1420 || OBX 1 NM LVEDP LV End Diastolic Pressure 14 mm Hg F || OBX 2 NM AOSYS Aortic Systolic Pressure 122 mm Hg F || OBX 3 NM COTHERMO Cardiac Output Thermodilution 4.9 L per min F || OBX 4 NM AVAREA Aortic Valve Area 1.1 cm2 F || OBX 5 ST LOGEVT Procedure Log Event 1342 Contrast 8mL Sheath in RFA F || NTE Fick and thermodilution agree within 8 percent
Testing and validation
- Replay captured vendor ORU cases through the System API and assert each measurement lands on the expected Cupid result component with correct UCUM units.
- Test the no-order-found path and confirm the case holds and appears on the reconciliation worklist rather than posting an orphan.
- Send a duplicate final for a case already posted and verify it is suppressed, then send an amended final and verify it supersedes cleanly by correlation ID.
- Verify procedure log events render in chronological order in Cupid regardless of OBX arrival order.
- Fault-inject a Bridges outage mid-delivery and confirm the case is buffered and replays without loss once the interface recovers.
- Run a patient-swap scenario where the recorder had the wrong MRN and confirm ADT-based matching flags the mismatch instead of trusting the recorder demographics.
Phased rollout
Phase 1 — Connect
- Establish the secured MLLP listener from the hemodynamics recorder to the System API on the biomedical VLAN and confirm ACK round-trips.
- Wire the inbound ADT and cath and EP order feeds so the integration has patient, encounter, and order context to match against.
Phase 2 — Map and test
- Build and version the DataWeave measurement-to-Cupid-component lookup and validate every catalog result maps or fails loudly.
- Run replayed cases end to end into a Cupid test environment and reconcile against the recorder own case report.
Phase 3 — Production
- Cut over one lab room or one procedure type first, running parallel with the existing scanned-PDF workflow until reconciliation is clean.
- Enable case-complete absence alerting and the reconciliation worklist before expanding to all rooms and EP cases.
Success metrics
- Percentage of finalized cases posted to Cupid as structured results within the target latency such as 5 minutes of case-complete.
- Manual re-entry rate of hemodynamic values keyed by hand versus delivered via interface, trending to near zero.
- Held or unmatched case rate and median time to reconcile a held case off the worklist.
- Duplicate and orphan case count per week, which should stay at zero once matching is stable.
- Discrete-result completeness as the fraction of expected measurement components present per case type versus the recorder own report.
Troubleshooting
- Cases post to Cupid but attach as loose results with no procedure log or the wrong encounter. — Likely cause: The filler or placer order number from the recorder did not resolve against the order feed, so matching fell back to demographics only. Fix: Confirm the recorder populates ORC and OBR with the Epic order number, and hold cases with no order match on the reconciliation worklist instead of posting on demographics alone.
- Some measurements are silently missing from the Cupid report. — Likely cause: Those result components were not in the DataWeave mapping and were dropped rather than surfaced. Fix: Switch the mapping to fail loudly on any unmapped component, route the case to the dead-letter queue, and add the missing component IDs to the versioned lookup.
- Values look right but Cupid flags unit or range errors. — Likely cause: The recorder sent non-UCUM units or a unit the Cupid component did not expect. Fix: Normalize to UCUM in DataWeave, keep the original unit in an audit field, and validate against the Cupid expected units per component during mapping.
- A finalized case never appears in Epic and no error is logged. — Likely cause: The recorder considered the case delivered but the case-complete trigger never reached the integration, so nothing was ever assembled. Fix: Enable absence alerting that compares scheduled or started cases against received case-complete events and pages when a completion is overdue.
Deliverable: A deployable MuleSoft API-led package with a System API MLLP listener for the hemodynamics recorder, a Process API that assembles and matches each case against ADT and order feeds, versioned DataWeave mappings to Cupid result components in an IDCO-structured ORU R01, a Bridges-bound hemodynamics interface, plus a dead-letter queue, reconciliation worklist, and case-complete absence alerting.