5010 Professional form configuration variables

The following variables are configured in the 5010_Prof.ini configuration file.

Table 1. General
Variable Default Description
ImpliedDecimalON TRUE When set to TRUE, this boolean variable normalizes all currency data values to have a two-digit value for cents such as 0.00. The variable then formats output for 837 requirements of no leading or trailing zeros.
PreFilter TRUE This boolean variable filters character output to EDI elements when set to TRUE. The only characters allowed are Comma, Hyphen, Period, 0-9, and A-Z. Lower case a-z characters are capitalized.
Table 2. Log
Variable Default Description
SegmentLog TRUE When set to TRUE, this boolean variable adds a single log entry to the RRS log when a segment is counted for adding to the EDI export stream.
SegmentReport FALSE When set to TRUE, this variable saves all segment logs added to the export stream and outputs the stream to the RRS log file as a summary after the EDI is created. This variable does not affect output.
Table 3. X12N
Variable Default Description
Segmentseparator * Segment Separator character which indicates the start/end of 837 segment elements.
SegmentTerminator ~ Segment Terminator character which indicates the end of a single 837 segment.
RepetitionSeparator Delimiter character used to separate repeated occurrences of a simple data element or composite data structure.
TerminatorPlusLineFeed FALSE When set to TRUE, this variable adds a line feed and carriage return to the end of each Segment Terminator character. Typically this option is disabled in a production environment, and is only used for debugging the output data.
Attention: The program will by default also create a file named EDI_OutputText.txt which performs the same debugging function. This file is generated using the output file to ensure data integrity, and cannot be disabled.
AllUpperCase FALSE When set to TRUE, all output characters are converted to uppercase.
Restriction: Use of the Prefilter option forces all characters to uppercase regardless of this option.
AppendToLastGSGE FALSE When merging individual claim EDI files, this option chooses whether the new claim is added as the first claim in a new GS/GE loop in the merged file. When this option is set to FALSE, each claim will be created in a new GS/GE and ST/SE loop in the merged file. When this option is set to TRUE, then each claim will be added to the existing GS/GE loop in the merged file. See the AppendToLastSTSE option for ST/SE information when added with this option set to TRUE.
AppendToLastSTSE FALSE When merging individual claim EDI files, this option chooses whether the new claim is added as the first claim in a new ST/SE loop in the merged file. When this option is set to FALSE, each claim will be created in a new ST/SE loop within the existing GS/GE loop in the merged file. When this option is set to TRUE, then each claim will be added to the existing GS/GE loop in a new ST/SE loop in the merged file.
Table 4. ISA Header
Variable Default Description
AuthorizationInformation   Sets the value for ISA02. Limited to ten characters, and blank by default. A value placed here will automatically set ISA01 from 00 (default-No authorization info present) to 03 (Additional Data Identification).
SecurityInformation   Sets the value for ISA04. Limited to ten characters, and blank by default. A value placed here will automatically set ISA03 from 00(default-No Security Info present) to 01 (Password).
InterchangeSenderQualifier ZZ Sets the value for ISA05. This is a code indicating the type of Sender ID. Value codes are: 01, 14, 20, 27, 28, 29, 30, 33 or ZZ.
InterchangeSenderID   Sets value for ISA06. Sender ID value, limited to 15 characters.
InterchangeReceiverQualifier ZZ Sets the value for ISA07. This is a code indicating the type of Receiver ID. Value codes are: 01, 14, 20, 27, 28, 29, 30, 33 or ZZ.
InterchangeReceiverID   Sets value for ISA08. Receiver ID value, limited to 15 characters.
InterchangeControlNum   Sets the value for ISA13. Valid values are BATCH or a fixed value. Use of BATCH will use the current batch ID - right-justified and minus decimal characters. Any other entry is treated as a fixed output value for this element. This value is limited to fifteen numeric characters.
AcknowedgmentRequested   Sets the value for ISA14. Valid values are 0 (No Acknowledgement Default) or 1 (Interchange Acknowledgement Requested).
TestIndicator P Sets the value for ISA15. Valid values are P (production) or T (test).
ComponentElementSeparator < Sets the value for ISA16 the sub-element separator value. Segment elements that have multiple values are required to separate the values with a predefined character. Recommended values include : or <.
Table 5. GS_Header
Variable Default Description
SenderCode DATACAP EXPORT GS02 value limited to 15 characters.
ReceiverCode 00000 GS03 value limited to 15 characters, Defaults to 00000.
EDIstandard 005010X222A1 GS08 EDI version identifier code.
Table 6. Header
Variable Default Description
SubmitterName The Defaults NM103 setting. Sets the Loop 1000A NM1(03) value. Limited to 60 characters.
SubmitterPhone The Defaults PER04 setting. Sets the Loop 1000A PER(03) value.
SubmitterID The GS_Header SenderCode setting value. If SenderCode is blank this value defaults to the Defaults NM109 setting. Sets the Loop 1000A NM1(09) value. The standard setting is usually blank which fills this value with the GS_Header SenderCode value.
ReceiverName The Defaults NM103 setting. Sets the Loop 1000B NM1(03) value.
ReceiverID 00000  
SequenceSerialNumber The value found in ST(02) Sets the BHT(03) Reference ID value. Limited to 50 characters.
TransactionSetControlSource The current Document ID value Sets ST(02) value to use a Batch parameter. Entry is the parameter name to use as the source for the ST(02) value.
PayerIDNumber 123456789 Sets Loop 2000B SBR(03) value if field 11 Plan and Policy are emtpy. See also the CheckJobID settings in this setting section. Also sets Loop 2010BB NM1(09) if field 11 Poicy number is empty. Note this value is overridden if the setting 2010BB_BC PrimaryPayerIDNumber has a value.
CheckJobID FALSE

When set to TRUE, this variable enables the ValueByJobID(Key) utility to retrieve values based on the JobID of the task. This allows the processing of claims for multiple entities, such as different payers.

For example, the following function looks in the Header section for the number of different JobID's for which to check:.
[Header]   
CheckJobID=TRUE/FALSE
numJobID=2   
numJobID[1]=JobName1
numJobID[2]=JobName2
Use values for paramter 'Key' (PayerIDNumber in example) as follows:
[JobName1]
PayerIDNumber=1111111
[JobName2]   
PayerIDNumber=2222222 
The example shows ini entries numJobID, numJobID[n] and JobName[n] PayerIDNumber that must be created by the user.
Table 7. FileNameFormat
Variable Default Description
FileHeader 00501_ The default file name is the Page or Doc ID with decimals removed and spaces replaced with the underscore character. This is an option to place the specified text leading the default file name. For example if the Doc ID 2012004.03 is used and the FileHeader contains 00501_ then the file name becomes 00501_201200403. This can be used in conjunction with the FileTrailer option.
FileTrailer   The default file name is the Page or Doc ID with decimals removed and spaces replaced with the underscore character. This is an option to place the specified text trailing the default file name. For example if the Doc ID 2012004.03 is used and the FileTrailer contains _0500 then the file name becomes 201200403_0500. This can be used in conjunction with the FileHeader option.
MergeFileHeader 5010_ If no File name is specified when calling to merge the 5010 file, the default file name becomes the batch Id. This is an option to place the specified text leading the default file name.
MergeFileTrailer   If no File name is specified when calling to merge the 5010 file, the default file name becomes the batch Id. This is an option to place the specified text trailing the default file name. The default value is blank.
Table 8. Defaults
Variable Default Description
NM103   General default for NM1(03) segment element values. Loops 1000A, 1000B, 2010BA, 2010CA, 2310A, 2310B, 2310C, 2330A, 2330B, 2420A.
NM104   General default for NM1(04) segment element values. Loops 2010BA, 2010CA, 2310A, 2310B, 2310CDF, 2330A, 2420A.
NM109   General default for NM1(09) segment element values. Loops 1000A, 1000B, 2010BA, 2310A, 2310CDF, 2330A, 2330B.
N301   General default for N3(01) segment element values. All instances.
N401   General default for N4(01) segment element values. All instances.
N402   General default for N4(02) segment element values. All instances.
N403   General default for N4(03) segment element values. All instances.
PER04   General default for PER(04) segment element values. Loop 1000A, 2010AA
DMG02   General default for DMG(02) segment element values. Loop 2000CA, 2010BA.
Table 9. ImpliedDecimalON
Variable Default Description
BuildLog FALSE TRUE/FALSE value. Adds RRS logging when building EDI if the ImpliedDecimal setting is enabled. See the General settings.
Table 10. 2000B
Variable Default Description
SubscriberIsPatient FALSE TRUE/FALSE. Setting for forcing EDI to output Subscriber is the Patient. Default is false.
SBR03   Sets a default value for SBR03 to be used if the 11IPolNo field is empty.
NO_SBR03 FALSE When set to TRUE SBR03 will always map as empty. When this variable is set to TRUE and the SBR04 variable is used, then if the if 11cIPlan field is blank, the value for SBR03 will be mapped to the Header section's PayerIDNumber variable.
SBR04   Sets a default value for SBR04 to be used if the 11cIPlan field is empty.
SBR09 ZZ Setting for Loop 2000B SBR(09) claim filing indicator code. Standard values are 11 to 17, AM, BL, CH, CI, DS, FI, HM, LM, MA, MB, MC, OF, TV, VA, WC, and ZZ. This setting is FindValue enabled, so if another value is placed in this setting on the current page, then the document will be searched for a field or variable with this value. The search order is:
  1. Page Field
  2. Page Variable
  3. Document Variable
If no DCO nodes with this id are found, the value is used.
Table 11. 2010AA
Variable Default Description
BOXPattern TRUE Setting this attribute to TRUE enables detection using a regular expression for PO Box values in the loop 2010AA street address field. If a PO Box is detected, the field value is set to the DefaultStreetAddress setting value by default.
RemapBOX2PayTo FALSE When this variable is set to TRUE, if a POBox is detected in the field 32 address line, and the field 31 address also has a value, then the field 32 address is remapped to loop 2010AB and the field 31 address is mapped to loop 2010AA.
DefaultStreetAddress   Value to replace in the street address field if a PO Box is detected in the address field.
Table 12. 2010BB_BC
Variable Default Description
PrimaryPayerName   Setting to use for all processed claims for Loop 2010BB NM1(03). Takes priority over captured value as well as default value set in Header PayerName section.
PrimaryPayerIDNumber   Setting to use for all processed claims for Loop 2010BB NM1(09). Takes priority over default value set in the Header section's PayerIDNumber variable.
PrimaryPayerAddress   Value to place in Loop 2010BB N3(01).
PrimaryPayerCity   Value to place in Loop 2010BB N4(01).
PrimaryPayerState   Value to place in Loop 2010BB N4(02).
PrimaryPayerZip   Value to place in Loop 2010BB N4(03).
Table 13. 2300
Variable Default Description
CalculatedTotal TRUE TRUE/FALSE. Option to calculate the lineitem total using service line data instead of the field 28 total charges field for Loop 2300 CLM(02).
REFD9   Value for Loop 2300 Ref D9 segment. By default, this value is blank, and no Ref D9 is exported. This setting is FindValue enabled, so if another value is placed in this setting on the current page, then the document will be searched for a field or variable with this value. The search order is:
  1. Page Field
  2. Page Variable
  3. Document Variable
If no DCO nodes with this id are found, the value is used.
REFEA The dvDCN document variable Value for Loop 2300 Ref EA segment. This setting is FindValue enabled, so if another value is placed in this setting on the current page, then the document will be searched for a field or variable with this value. The search order is:
  1. Page Field
  2. Page Variable
  3. Document Variable
If no DCO nodes with this id are found, the value is used.
Table 14. 2310A
Variable Default Description
AlwaysInclude FALSE Setting this value to TRUE will always export Loop 2310A even if fields 23 or 19 do not have a captured value.
Table 15. 2320
Variable Default Description
SBR09 ZZ Value for the Loop 2320 SPR(09) claim filing indicator code. Standard values are 11 to 17, AM, BL, CH, CI, DS, FI, HM, LM, MA, MB, MC, OF, TV, VA, WC, and ZZ. This setting is FindValue enabled, so if another value is placed in this setting on the current page, then the document will be searched for a field or variable with this value. The search order is:
  1. Page Field
  2. Page Variable
  3. Document Variable
If no DCO nodes with this id are found, the value is used.
Table 16. Loop2320
Variable Default Description
OI03 Y Value for Loop 2320 OI(03).
OI04   Value for Loop 2320 OI(04).
OI06 Y Value for Loop 2320 OI(06).
Table 17. 2330B
Variable Default Description
OtherPayerAddress   Value to place in Loop 2330B N3(01)
OtherPayerCity   Value to place in Loop 2330B N4(01).
OtherPayerState   Value to place in Loop 2330B N4(02).
OtherPayerZip   Value to place in Loop 2330B N4(03).
Table 18. 2400
Variable Default Description
AutoPopulateUnit TRUE When set to TRUE, this variable will auto populate SV1(03) with MJ and SV1(04) with the service line INFO field if the INFO field has a captured value. Otherwise SV1(03) uses UN and SV1(04) is filled with the Days field value.
RoundCharges TRUE When set to TRUE, this variable toggles rounding of SV1(04) to a whole number.
Table 19. N3
Variable Default Description
POBoxDetect FALSE When set to TRUE this variable will enable evaluation of all N3 segments for POBox values, and will remap the POBox to the second address line in the N3 segment if the second line is blank.
BuildLog FALSE When set to TRUE, this variable will add more detailed RRS logging when creating N3 segments.
KeepTrailingSeparators FALSE When set to TRUE, this variable will not remove blank trailing elements from N3 segments.
Table 20. N4
Variable Default Description
BuildLog FALSE TRUE/FALSE value. Adds more detailed RRS logging when creating N4 segments.
KeepTrailingSeparators FALSE TRUE/FALSE value. Option to not remove blank trailing elements from N4 segments.
Table 21. REF
Variable Default Description
BuildLog FALSE TRUE/FALSE value. Adds more detailed RRS logging when creating REF segments.