Validate RC Scoring

Key

Description

RC_MISSING

A scoring flag indicating that the birth number was not present in the input.

RC_INVALID

A scoring flag set in the following situations:

  • incorrect birth number length, i.e., none of the lengths 6, 9 or 10
  • the input birth number does not consist only of digits - this case is converted to the previous one and the birth number length is reduced to 0
  • an incorrect value occurred in the input birth number (e.g., day = 99)
  • date computed from the birth number is earlier than birthNumberSince
  • the control sum is not valid and the trailer cannot be repaired
  • length of the birth number does not correspond to the year computed from the birth number (9 digits for year 1953 and earlier, 10 digits for year 1954 and later) and the inaccuracy cannot be repaired

RC_DATE_INVALID

A scoring flag set in the following situations:

  • the artificial value in the date for birth numbers of length is other than 6
  • extended form of birth numbers containing a date earlier than 1.4.2004
  • extended form of the date in a birth number of length 9 or 6

RC_DATE_ARTIF

A scoring flag indicating that the date in the birth number is artificial which means that either the day or month is not filled in and the birth number length is only 6 digits (a typical birth number type assigned to foreigners). The flag is set in the following situation:

  • artificial day or month value in a birth number of length 6 (e.g., 0 set for day or 50 set for month).

RC_DATE_MISMATCH

A scoring flag indicating that the date computed from a birth number does not correspond to the date obtained from the input columnbirthDate.

RC_TRLR_FIXED

A scoring flag indicating that the input birth number had contained an incorrect trailer which was repaired.

RC_TRLR_MISSING

A scoring flag indicating that the input birth number did not contain any trailer (typical for 6-digit birth numbers).

RC_TRLR_ARTIF

A scoring flag indicating that the birth number contains an artificial ending that is one of the following: 000, 999, 111, 0000, 9999 or 1111 (or one of the set of trailers).

RC_9DIGITS

A scoring flag indicating that the output birth number consists of 9 digits and the scoring flag RC_INVALID is not set. The fact that the value is actually written to the output or not does not influence the flag (omission of the birth number output might be caused by other types of errors or by a true value of the omitInvalidBn parameter).

RC_GNDR_MISMATCH

Indicates that the gender computed from the input birth number does not correspond to the gender value found in the input gender.

RC_GNDR_FROM_HINT

Obsolete flag, kept for the purposes of backward compatibility.

RC_GNDR_HINT_MISSING

A scoring flag denoting that the gender input value was not filled in.

RC_GNDR_HINT_INVALID

A scoring flag indicating that the input gender value is different both from the maleDefinition and femaleDefinition values.

RC_DATE_HINT_MISSING

A scoring flag indicating that the input date value is missing.


iWay Software