The EVN segment is used to communicate trigger event information to receiving applications.
EVN Attributes
The fields in the PID segment are as follows:
| SEQ | LEN | DT | OPT | RP/# | ELEMENT NAME | 
|---|---|---|---|---|---|
| 1 | 3 | ID | B | Event Type Code | |
| 2 | 26 | TS | R | Recorded Date/Time | |
| 3 | 26 | TS | O | Date/Time Planned Event | |
| 4 | 3 | IS | O | Event Reason Code | |
| 5 | 60 | XCN | O | Y | Operator ID | 
| 6 | 26 | TS | O | Event Occurred | 
*Note: For the complete HL7 Standard, please go to the HL7 organization website.
In HL7 pipe and hat format, the PID segment (shown in red) for an ADT-A01 message would look like this:
MSH|^~&|ADT1|MCM|LABADT|MCM|198808181126|SECURITY|ADT^A01|MSG00001-|P|2.3
EVN|A01|198808181123
PID|||PATID1234^5^M11||JONES^WILLIAM^A^III||19610615|M-||C|1200 N ELM
STREET^^GREENSBORO^NC^27401-1020|GL|(91-9)379-1212|(919)271-
3434||S||PATID12345001^2^M10|123456789|9-87654^NC
NK1|1|JONES^BARBARA^K|WIFE||||||NK
PV1|1|I|2000^2012^01||||004777^LEBAUER^SIDNEY^J.|||SUR||-||ADM|A0-
AL1|1||^Penicillin||Produces hives
AL1|2||^Cat dander|Respiratory distress