Setting up your own Code Tables

To set up your own external code tables:

  1. Create a text file containing your external code tables, as shown in Example A below.

    You can copy SampleUserTable.txt to a new name and use it. Do not simply edit SampleUserTable.txt itself, since this is overwritten with each update.

    Codes should be unique within a table.

  2. Go to Instream’s or HIPAA Validator Desktop’s Bin directory and edit $Dir.ini (Windows) or fsdir.ini (UNIX) with a text editor such as Notepad.

    Find the [UserTables] section and be sure that the UserTable line is not preceded by a colon (which would comment out the line).

    Change the path and filename to point to the location of the text file containing your external code tables. Example:

    [UserTables]

    UserTable="C:\Foresight\Desktop\Bin\OurUserTable.TXT"

You can use these code tables with the FindUserCode function (see page Specifies that error 32213 should be displayed if the code is not valid for the transaction date.) and FindUserCodeWithDate function (see page FindUserCodeWithDate).

It’s important to know that the validation supports only one entry per key within external tables. If multiple entries for the same key are encountered in an external table, subsequent entries overwrite the previous entries, causing unexpected errors.