|
<< Click to Display Table of Contents >> Using Command Line Arguments (CLI) |
![]() ![]()
|
EDI Exchange allows users to set different degrees of automation for file processing. There are two ways you can automate the application:
oFull Automation
oUsing Commands
See the details in the sections below.
To run EDI files automatically using EDI Exchange, the only argument needed is "Auto." The directory to look for new files and the processing options are defined in the setup screens for EDI Exchange. For more information on EDI Exchange automation, see Defining Auto-Processing Options.

Sample of the "Auto" command in the Command Prompt window.
HIPAA Authorizer can accept command line arguments. This is an important feature if you want to put the application on a scheduler and automate the processing of files or directories. See Running the Application via Scheduler.
First Argument
Filename or the Directory Path — If not applicable, leave blank.
Note: Please ensure you have tested printing images before trying the command line mode.
Second Argument(s)
The second argument or combination of arguments contains the processing options.
oP — Print: If "P" is used as an argument, the claim will be printed.
oX — Export to database: If "X" is used as an argument, the claim file will be exported to the database.
oI — Image: If "I" is used as an argument, the claim file will be created as an image.
Note: using multiple processing options is possible.
Example: Exporting a Authorization Response to the database and printing it:

Third Argument
The third command line argument is the image output filename or the EDI output filename when you create a 278 EDI file.
oIf your options specify a single file name, you will have a multi-page image file.
oIf your options specify one file per image, passing the image filename in the command line only makes sense in conjunction with a query.
Fourth Argument
The fourth argument is your Query; you must have "Q" as the second argument. If you try to find one specific claim within an EDI file and create an image file for it and there are multiple matches, then the application will create an enumeration in the filename such as "Filename," "Filename_1," "Filename_2," and so on.
Fifth Argument
The fifth argument is the destination Trading Partner to whom you send an EDI file; this only works with the EDI Exchange module enabled.
Sixth Argument
In the sixth argument, you specify whether to use a Test (T) or Production (P) database connection should you have "Q" as the second argument.
You can combine the above arguments. Here is the sample syntax for the command line arguments:
oFirst argument: Filename to be processed.
oSecond argument: Command options (S for search, F for PDF).
oThird argument: Image file full path and filename.
oFourth argument: Search conditions in the form of Pipe (|) separated key-value pairs. (This is the backslash key in Shift mode).
Keys that can be searched at this time are:
oClaimNo — CLM_01 (you can look for several claim IDs at once, separating the IDs with "&" symbols)
oSubscriberID — NM1*IL_09
oSegment — A complete segment such as "HI*BF*3544"