Error 12312

The PAIRED rule syntax for data segment <segment ID> has been violated.  All of the data elements in position(s) <element position> require data.

 

Description

Syntax rule (also known as relational conditions) allows the presence of data in a data element based on the presence of other data in other data elements in the same data segment or composite element.  The PAIRED rule has the following syntax:

 

      P<elements list>

 

This states that if any of the elements in <elements list> contain data, then all the elements in <elements list> must contain data.

 

Example,

 

P010204           // If any of the elements in position 1, 2, or 4 contain data, then all the elements in position 1, 2, and 4 must contain data.

                       

 

If this condition is not met then this error is generated.