Alert EnterpriseWiki

EPIC EHR (HL7)

EPIC·AE_HSc_EPICIntegrationGuide

HealthcareactiveHL7 v2 message-based integration with EPIC
Transports
tcp
Direction
inbound
Authentication
HL7 MLLP (Minimum Lower Layer Protocol)
Last updated
2025-03-06

Overview

The EPIC integration links AlertEnterprise with EPIC EHR systems via HL7 v2 messaging — the standard interoperability protocol in US healthcare. The integration consumes patient + provider events from EPIC and surfaces them into AE for downstream identity, access, and visitor workflows. Common in healthcare-vertical deployments and at fin-services / mixed-use campuses where healthcare-affiliated facilities are part of the access-control envelope.

Architecturally distinctive vs. the standard AE connector pattern: this is an HL7 message integration with field-mapping driven by HL7 segment locators (e.g., patientFirstName/PID-5-2, medicalRecordNumber/PID-3-1) rather than a REST / SDK provisioning model. Configuration is HL7-field-mapping centric.

Architecture

Composed from this connector's actors + edges. Trust zones are color-coded; trust crossings render as thicker lines.

Composing diagram — running ELK layout4 actors · 3 edges

Authentication

1 method supported

HL7 MLLP (Minimum Lower Layer Protocol)
anonymous

HL7 v2 messages are typically delivered over MLLP — a TCP-based framing protocol — between an EPIC interface engine and AE's HSC Application Agent. Authentication at the transport layer is typically network-zone based (segregated VLAN, firewall ACL) rather than per-message credentials. TLS-MLLP is recommended where supported.

Credential storage
N/A (network-zone trust model)

Prerequisites

Everything that must be in place for this connector to work, with the owner who's responsible.

EPIC interface engine configured to send HL7 messages to AE

customer

Customer's EPIC deployment requires an outbound interface (typically configured in Bridges or via Cloverleaf) sending HL7 messages to AE's HSC Application Agent endpoint over MLLP / TLS-MLLP.

HSC Application Agent Server configured to receive HL7

ae

AE's HSC Application Agent must be configured with the appropriate HL7 listener port + protocol (MLLP / TLS-MLLP) and field-mapping configuration.

HL7 field-mapping spec

joint

The customer-specific field mapping (which HL7 fields populate which AE attributes) must be agreed and configured before message exchange begins.

Known limitations

Documented constraints to set customer expectations before deployment.

Inbound-only HL7 v2 today

informational

The integration is documented as inbound HL7 v2 consumption. Outbound HL7 (AE → EPIC) and FHIR R4 are not in scope of the current guide.

Patient data is PHI under HIPAA

critical

All inbound data is Protected Health Information under HIPAA. AE-side storage, audit, and access-control configuration must satisfy the customer's HIPAA posture (BAA, encryption-at-rest, audit logging, minimum-necessary access).

Data fields

6 fields mapped between AE Guardian and the vendor system.

AE fieldVendor fieldDescriptionDirectionRequired
patientFirstNameHL7 /PID-5-2Patient first name — extracted from the HL7 PID segment, field 5, component 2.inboundno
patientLastNameHL7 /PID-5-1Patient last name — PID segment, field 5, component 1.inboundno
medicalRecordNumberHL7 /PID-3-1MRN — PID segment, field 3, component 1. Primary identifier for downstream AE matching.inboundyes
controlSequenceNumberHL7 /PID-18Account / control sequence number.inboundno
aliasHL7 /PID-9-1Patient alias name.inboundno
patientRoomHL7 (location segment — per deployment mapping)Patient room / location — used for downstream visitor / access workflows.inboundno
Source materials
  • src/connectors/epic/source.pdf p5 — Chapter 2, HL7 Field Mapping
  • src/connectors/epic/source.pdf p17 — Chapter 3, HL7 Message Codes
  • src/connectors/epic/source.pdf p13 — HSC Application Agent Server Configurations
Verifying access
Desktop only

The AE Mobile Wiki needs a bigger screen.

The diagrams, comparisons, and animated flows aren't built for phones. Open this link on your laptop or desktop browser and you'll see the full reference.

wiki.alertenterprise.app

Same Google sign-in as the AE App Hub — you'll be in once you open it on a larger screen.