Type of validation | Error occurs when... | How HL7 Module Responds to the Error |
Syntax | The required message header is invalid. | Logs an error message and stops processing the HL7 message. |
An invalid segment is found. | Logs an error message and stops processing the HL7 message. | |
A required segment is absent. | Logs an error message and stops processing the HL7 message. | |
In the structure of a list/group, either an invalid segment is found, or a required segment is absent. | Logs an error message and stops processing the HL7 message. | |
An extra segment is found at the end of the message. | Logs a warning message. | |
An extra field is found at the end of the message. | Logs a warning message. | |
An extra component is found at the end of the message. | Logs a warning message. | |
An extra subcomponent is found at the end of the message. | Logs a warning message. | |
A required field is absent. | Logs an error message, ignores the segment, and goes to the next segment. | |
Semantic | The pattern of simple data types DT, DTM, and TM is invalid. | Logs an error message, ignores the field, and goes to the next field. |
The length of the message in simple data types FT, GTS, ST, and TX is longer than the limit. | Logs a warning message and truncates the data. | |
Verifies if the NM simple data type is numeric with a length of 16 digits. | Logs an error message, ignores the field, and goes to the next field. | |
Verifies if the SI simple data type is a number between 0 and 9999. | Logs an error message, ignores the field, and goes to the next field. | |
Code Table | The code tables are not configured. | Logs a warning message. |
The required code table is disabled. | Logs a warning message. | |
The required code table does not have any values. | Logs a warning message. | |
The code tables values do not match. | Logs an error message, ignores the field, and goes to the next field. |