Documentation

Validate and debug EDI files

Article author
Admin
  • Updated

Before you validate your EDI files, you must parse them successfully. To learn about uploading and parsing EDI files, read the Parse and format EDI files article. EDI files with parsing errors are not validated because their structure can be ambiguously interpreted, leading to inconsistent validation.

All operations, such as parsing, validation and acknowledgment are based on Web Assembly, and run locally in your browser. Your sensitive data remains on your machine and never leaves the browser.

 

Validate EDI files

Go to EdiNation in your browser.

To validate the contents of your parsed EDI file, click on the Validate button:

edi-file-validate.png

When your file is validated, and no issues are found, a VALID status is displayed next to a green indicator.

When your file has validation errors, a VALIDATION FAILED status is displayed next to a red indicator. In this case, the validation errors are listed under Errors, and you can click on the error for details:

edi-file-validate-error.png

Selecting an error message from the list highlights the element that caused it. You can then click the erroneous element to view its specification and identify what doesn't match and how to correct it.

 

Correct and debug EDI files

You can rectify the validation errors by modifying the file contents directly in the EDI editor and then re-validating. Note that structural changes, such as adding/removing delimiters or segments, require the files to be re-parsed before validation. For data element changes, such as correcting an EDI code or date, validation-only is sufficient.

edi-file-validate2.png

 

Download EDI files

After you debug and correct your EDI files, you can download either collapsed (all segments in one line, no new line postfixes) or as it is in the EDI editor (each segment on a new line) by clicking on the download button:

edi-file-download.png

 

Configure EDI files validation

The following options are available to configure parsing by clicking on the settings button next to Validate:

edi-file-validate-settings-button.png

Validation level

Following the HIPAA-mandated separation of validation levels, EdiNation can be configured to apply different sets of validation rules. The lowest level is Syntax Only, corresponding to HIPAA SNIP 1, and the highest level is Intra Segment, corresponding to HIPAA SNIP 4. The levels are cumulative, with every level containing all previous levels.

To learn more about HIPAA validation levels, read the How to validate HIPAA SNIP levels article.

By default, all validation is Limits and Codes, corresponding to HIPAA SNIP 2:

edi-file-validate-settings-hipaa-level.png

 

Max validation results

By default, validation stops when 100 errors are reached. This is to prevent the waste of time and resources for corrupt files with an abnormal number of issues. The maximum number of validation errors can be configured to a number between 0 and 10,000. 

edi-file-validate-settings-max-errors.png

 

Next steps

To learn more about how to translate and validate EDI files with EdiNation, try these tutorials:

Share this:

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.