EDI Parsing Validation Issue

Validation Issue

EDI validation issue details
Open API SchemaSince: 2.15.0
NameDescriptionType

objectType

Type of this object, always 'VALIDATION'

String

issueType

Issue type

Values:

BALANCE, CONTROL, INVALID, INVALID_CODE, LENGTH_EXCEEDED, LENGTH_TOO_SHORT, MISMATCH, NOT_ALLOWED, NUMBER_OF_ITEMS, REQUIRED, REQUIRED_CODE, VALUE_NOT_IN_ENUM_LIST, WRONG_TYPE

String (enum)

Required

issueObjectClass

Class (type) of the object where the issue was detected, such as Claim, ServiceLine, etc.

String

jsonPath

JSON path for the object where the issue was detected

String

fieldName

Field name or element name

String

sourceLocation

Location of the issue in the EDI file

SourceLocation

loop

EDI loop where the issue was found

String

segment

EDI segment ID

String

element

EDI element designator

String

ediCode

EDI qualifier or code for the segment if the segment is uniquely identified by the code

String

maxNumberOfItems

Maximum number of items allowed for the segment, list, or loop

Integer

actualNumberOfItems

Actual number of items

Integer

length

Expected length of the element's value (LENGTH_TOO_SHORT, LENGTH_EXCEEDED issue types)

Integer

actualLength

Actual length (LENGTH_TOO_SHORT, LENGTH_EXCEEDED issue types)

Integer

dataType

Expected data type (WRONG_TYPE issue type)

Values:

BINARY, COMPOSITE, DATE, DECIMAL, ENUM, IDENTIFIER, NUMERIC, STRING, TIME

String (enum)

actualDataType

Actual data type (WRONG_TYPE issue type)

Values:

BINARY, COMPOSITE, DATE, DECIMAL, ENUM, IDENTIFIER, NUMERIC, STRING, TIME

String (enum)

codeSubType

Type of the code that failed validation (INVALID_CODE issue type), such as HCPCS, ProviderTaxonomy, ICD_10

String

value

The value that caused the validation to fail

String

ediString

Value that caused the issue

String

message

Additional message describing the issue

String

allowedValues

Allowed values (VALUE_NOT_IN_ENUM_LIST issue type)

List of String

Source Location

Location of the validation issue
Open API SchemaSince: 2.15.0
NameDescriptionType

fileName

File name

String

lineNumber

Line number in the file

Integer

segmentNumber

Global segment number in the file, starting from 1

Integer