What Is a Trigger Event?
Imagine walking into a hospital, and the moment you register at the front desk, the pharmacy, lab, and billing department all instantly know you arrived without anyone picking up a phone. That is, HL7 trigger events doing their job silently in the background.
HL7 (Health Level Seven) is a set of international standards that lets healthcare software systems talk to each other. It is the shared language spoken between a hospital’s registration software, its lab systems, its pharmacy, and its billing software.
A trigger event is simply a real-world happening inside a hospital that causes one system to send a message to another. Every trigger event has a short code (like A01, O01, R01). The letter indicates the message type, and the numbers identify the specific event.
How HL7 Message Flow Works
The basic flow is always the same:
- Something happens in the real world (a patient is admitted, a test is ordered)
- That event triggers a specific code in the sending system
- An HL7 message is generated and sent to receiving systems
- Each receiving system acts on the information automatically
Example: A nurse admits a patient → the ADT system fires trigger A01 → an HL7 ADT^A01 message is sent → the lab and pharmacy systems update their records automatically.
What Does an HL7 Message Look Like?
Every HL7 message has a header segment called MSH. Field 9 in that header contains the message type and trigger event. Here is a real patient admission message:
MSH|^~&|RegSystem|CityHospital|LabSystem|CityHospital|
20240315083000||ADT^A01|MSG001|P|2.5
EVN|A01|20240315083000
PID|1||P12345^^^HospID||Sharma^Rahul||19850412|M
PV1|1|I|Ward3^Bed7^CityHospital|||Dr.MehtaThe key part is ADT^A01 in the MSH segment. ADT = Admit, Discharge, Transfer (the message family). A01 = Patient Admitted (the specific trigger event).
The Most Commonly Used Trigger Events
HL7 v2 has hundreds of trigger events, but in day-to-day hospital operations a small set does most of the work.
ADT Messages — Patient Movement
ADT (Admit, Discharge, Transfer) messages track every step of a patient’s physical journey. These are the most common HL7 messages in any hospital.
| Code | Name | When It Fires | Example |
|---|---|---|---|
| A01 | Admit Patient | Patient formally admitted to an inpatient bed | Priya is admitted to Ward 4 — lab, pharmacy, and nursing all get notified instantly |
| A02 | Transfer Patient | Patient moves from one ward or bed to another | Suresh moves from ICU to a general ward — new ward’s system receives full history |
| A03 | Discharge Patient | Patient is leaving the hospital | Dr. Mehta signs discharge — billing closes the visit, bed is freed, pharmacy stops orders |
| A04 | Register Outpatient | Walk-in or clinic visit without a bed assignment | Ananya arrives for a scheduled OPD appointment — her past reports load automatically |
| A08 | Update Demographics | Any patient detail changes (address, insurance, etc.) | Patient updates phone number — all systems receive corrected details simultaneously |
| A11 | Cancel Admission | An admission was entered by mistake | Wrong patient admitted — A11 rolls back the record across all connected systems |
| A13 | Cancel Discharge | A discharge was processed in error | Clerk discharged the wrong patient — A13 restores active status and bed assignment |
Tip: A01 through A04 cover over 70% of real-world ADT traffic in most hospitals. Learn these four first.
ORM & ORU Messages — Orders and Results
Once a patient is in the system, clinicians start placing orders. The ORM and ORU families handle everything from order placement to result delivery.
| Code | Name | When It Fires | Example |
|---|---|---|---|
| O01 | New Order (ORM) | Doctor places a lab, radiology, or medication order | Dr. Kapoor orders a CBC — lab receives the order, prints label, schedules collection |
| R01 | Send Results (ORU) | Test results are ready and sent to the requester | CBC is complete — results appear on Dr. Kapoor’s screen within seconds, abnormals flagged |
MFN & SIU Messages — Reference Data and Scheduling
Hospitals maintain master lists of doctors, drugs, wards, and fee codes. MFN messages keep these reference tables consistent across all systems. SIU messages handle appointment scheduling.
| Code | Name | When It Fires | Example |
|---|---|---|---|
| M01–M12 | Master File Notification | Reference data changes (new doctor, new drug, new ward) | Dr. Rao joins staff — MFN^M02 fires, all systems now recognise her as a valid prescriber |
| S12–S26 | Scheduling (SIU) | Appointment booked, rescheduled, or cancelled | Patient books a cardiology slot online — calendar, front desk, and SMS reminder all updated |
Get a Free Consultation on Healthcare System Integration
A Complete Patient Visit — Trigger by Trigger
Here is how trigger events fire across a typical patient visit from arrival to discharge:
| A04 | Patient walks into OPD and registers Outpatient visit created. All systems notified of arrival. |
| O01 | Doctor orders a blood test ORM^O01 sent to lab. Order queued, sample label printed. |
| A01 | Condition worsens, patient is admitted Visit upgraded to inpatient. Bed assigned in Ward 2. |
| R01 | Lab results are ready ORU^R01 delivers results to the ward. Abnormal values flagged. |
| A02 | Patient moved to specialist ward Location updated. New ward receives full patient history. |
| A03 | Doctor signs discharge order Billing closes the visit. Pharmacy gets stop-medication signal. Bed freed. |
Common Misconceptions
Misconception: A01 and A04 are the same thing.
They are not. A01 creates an inpatient visit with a bed assignment. A04 creates an outpatient visit without one. Using the wrong trigger causes billing errors because inpatient and outpatient carry different fee structures.
Misconception: HL7 is only needed for admissions.
ADT messages are just the most visible part. HL7 trigger events cover the full patient journey including scheduling, orders, lab results, billing, referrals, and master data management.
HL7 v2 vs FHIR: HL7 v2 uses pipe-delimited text messages. FHIR uses REST APIs and JSON. The concept is identical: something happens, broadcast it but FHIR calls them subscription notifications instead of trigger events.

Conclusion
HL7 trigger events are the nervous system of a modern hospital. Every admission, order, result, and discharge fires a specific event code that carries the right information to the right system automatically and instantly.
The most important trigger events to know:
- ADT A01–A04: admit, transfer, discharge, register the four core patient movements
- ADT A08: update patient demographics across all systems
- ADT A11 / A13: cancel wrongly entered admissions or discharges
- ORM O01: send a clinical order to a fulfilling department
- ORU R01: deliver test results back to the ordering clinician
- MFN M01–M12: keep master reference data consistent
- SIU S12–S26: manage appointment scheduling
HL7 is a registered trademark of Health Level Seven International. All patient names and scenarios in this document are fictional examples created for illustration purposes only.









BLOGS
NEWSROOM
CASE STUDIES
WEBINARS
PODCASTS
ASSET HUB
EVENT CALENDAR 





















