Getting Validation Warnings
You can get validation warnings from an EDI file using the Warnings property of EDIValidator. Access the Warnings property of the EDIValidator after calling the Validate method.
In addition the EDIWarning object also contains the corresponding SNIP level for the warning. This level can be accessed through the SnipLevel enum property.
The possible SNIP levels are:
· Integrity-Testing for valid EDI syntax for each type of transaction
· Requirement- Testing for HIPAA specific syntax. This tests that the transaction sets adhere to the HIPAA implementation guides
· Balance – Testing of the transaction for balanced field totals, financial balancing of claims or remittance advice and balancing of summary fields.
· Situational – Testing of specific inter-segment situations as defined in the implementation guide, where if A occurs, then B must be populated
· CodeSet – Testing correct use of external code sets. Tests that only valid values of external data elements are used
· DoesNotApply – The warning does not have a corresponding SNIP level.