The following provides a brief description of each of the available
validation rules.
When a rule is selected by enabling (checking) its checkbox, the
REMSView program will perform the validation(s) as described below.
The following validation rules are always in effect:
-
Each record's length is checked to insure it is between 393 and 532
characters long. If not, an error is given and the record is skipped.
- An error is given if a negative integer or a non-integer value
is found in an integer field.
Blanks are acceptable in some fields.
In general,
a warning is given if the min or max limit is violated.
Exceptions to the above are explicitly noted.
Validation Rule Label
Description of Validation(s) Performed
First and last name required
An error is given if either the first or last name is blank.
Flag special characters in name fields
A non-empty string for the first, middle or last name fields may only contain the following characters: alphanumeric [a-zA-Z0-9], period, hyphen, single quote or blank.
An error will be given for any other character found in a name field.
Flag 'test' or 'train' as substring of name fields
A warning is given if the first, middle, or last name fields contain either of the substrings 'test' or 'train' regardless of capitalization.
ID Number
An error is given if the field is blank.
A warning is given if the ID Number occurred previously in the current input file.
The field should contain only standard printable ASCII characters, otherwise an error is given.
If idtype is 'SSN', then the idnumber must be 9 digits exactly, or an error is given.
If idtype is 'OTH', then the first 7 characters of the idnumber must match the orgCode value, or an error is given.
ID Type
An error is given if the field is blank.
An error is given if the value is not in DOE ID Type list.
Gender
Valid values are 'M', 'F', or 'U'.
A warning is given if the field is blank.
An error is given for any other non-valid value.
Note that the value 'U' is not in the DOE specification; but program accepts it as representing that the information is 'Unavailable'.
Validation Rule Label
Description of Validation(s) Performed
Monitoring Year (monYear)
An error is given for the following situations:
- the field is blank or not of the format 'yyyy',
- the value is less than 1940, or
- the value is greater than (currentYear-1).
Otherwise, a warning is given if the value is not equal to (currentYear-1).
Beginning / Ending Monitoring Dates
Errors are given for the following:
- either field is blank,
- either field is not of the format 'yyyyMMdd',
- Ending Date is before the Beginning Date,
- Beginning Date is before 12/01/(monYear-1),
- Beginning Date is after 12/31/(monYear),
- Ending Date is before 01/01/(monYear), or
- Ending Date is after 01/31/(monYear+1).
Birth Date
A warning is given if the field is blank.
An error is given if the format is not 'yyyyMMdd'.
An error is given if birthYear > monYear.
A warning is given if birthYear < 1880.
Age
A warning is given if age (monYear-birthYear) is greater than 80 or less than 18.
Validation Rule Label
Description of Validation(s) Performed
Organization Code
An error is given if the field is blank.
An error is given if the given value is not in the DOE Organization list.
Facility Type Code
A warning is given if the field is blank.
An error is given if the value is not in the DOE Facility Type Code list.
Facility Code
The field should contain only standard printable ASCII characters, otherwise an error is given.
Phase of Operation
A warning is given if the field is blank.
An error is given if the value is not in the DOE Phase of Operation Code list.
Occupation Code
A warning is given if the field is blank.
An error is given if the given value is not in the DOE Occupation list.
Monitor Status
Valid values are E, P, G, or T.
A warning is given if the field contains an old code (N, V, A, U).
An error is given for any other non-valid value including blank.
Exposure Type
Valid values are R, P, or E.
An error is given for any other non-valid value including blank.
Measurement Codes
This validation rule applies to each of the Dose Measurement Codes.
An error is given if the measurement code is blank.
An error is given if the value is not in the DOE Dose Measurement Code list.
If the measurement code is 'NM' or 'ND', then the associated dose value should be blank or 0 (value zero); if not, an error is given.
Radionuclide Codes
This validation rule applies to each of the Radionuclide fields.
A warning is given if the value is not in the DOE Radionuclide Code list.
A blank value is accepted.
Validation Rule Label
Description of Validation(s) Performed
Total Effective Dose (TED)
A warning is given if the value is greater than the annual limit of 5000 mrem.
ED Total (including neutrons) <= TED
An error is given if the ED Total (including neutrons) is greater than the TED.
ED (neutrons only) <= TED and ED Total
An error is given if the ED (neutrons only) is greater than the TED or if it is greater than the ED Total (including neutrons).
CED <= TED
An error is given if the CED values is greater than the TED.
TED = ED Total + total CED
An error is given if the total TED is NOT equal to the sum of the total ED and the total CED.
Total Organ Dose (TOD) = ED Total + max(CEqD)
An error is given if the TOD is NOT equal to the sum of the total ED and the largest CEqD value.
Other Maximum Dose Limits
A warning is given for the following if the dose value is > 50000.
This check applies to the following fields:
- EqD-Eye
- EqD-SKWB
- EqD-UR
- EqD-UL
- EqD-LR
- EqD-LL
- CEqD Gonads
- CEqD Breasts
- CEqD Red Bone Marrow
- CEqD Lungs
- CEqD Thryroid
- CEqD Bone Surface
- CEqD Colon
- CEqD Stomach
- CEqD Bladder
- CEqD Liver
- CEqD Esophagus
- CEqD Skin
- CEqD to Remainder
A warning is given for the following if the dose value is > 500.
Validation Rule Label
Description of Validation(s) Performed
Comment fields
The field should contain only standard printable ASCII characters,
otherwise an error is given.
Comment lines
A warning is given if a comment line is encountered in the input file.
A comment line is any line with a pound-sign ('#') in the first position of the record.
Blank records
A warning is given if a blank line is encountered in the inputfile.