When parsing ER7 or XML-formatted HL7 version 2.x messages, you use the
wm.ip.hl7.service:validate service to validate HL7 messages. You can invoke the validation service at any time during the processing of both inbound and outbound HL7 version 2.x messages. Messages can be validated with or without
Trading Networks. For information about how the
HL7 Module validate service handles errors during the validation process, see
Handling Validation Errors.