Using Command Line Arguments (CLI)

In order to run the HIPAA Claim Payment Master from the command line or have it invoked through another program, it is necessary to pass command line arguments to the program to instruct it to perform the desired tasks.

Command line arguments are separated by commas.

1. The first command line argument is the filename or the directory path. The program will automatically decide if this argument denotes a directory or a single file.
2. The second argument is concerned with data export to another database. If the argument is "Y", then the data will be exported according to the settings.
3. The third argument decides whether image file will be created. A "Y" will cause the program to create image files.
4. The fourth argument will send the images to the printer.
5. The fifth argument can contain the printer name, if a printer other than the default printer is specified. It is important to use exactly the same name as it is listed in Windows under printers.



A typical command line would be for example:

"C:\Program Files\HIPAAsuite\HIPAA Claim Payment Master\HIPAAClaimPaymentMaster.exe" C:\EDI\Inbox\835,Y,,Y,Lexmark X500 Series

1. In Quotes you can see the path to the executable. The quotes are necessary in Windows whenever you have a file name with a blank space in it, such as "Program Files".

Tip: Sometimes you need quotes for the file name, so it is easiest to change directory to C:\Program Files\HIPAAsuite\HIPAA Claim Payment Master and then call the executable.

2. The first command line argument is the path to a directory. Alternatively you could have the path to a specific file. The program will see if the argument pertains to a file or a directory.
3. The second argument is a "Y", indicating that the data will be exported.
4. The third argument is blank. It would instruct the program to create image files in accordance to the setup. See Doing Image Setup.
5. The forth argument is a "Y". This instructs the program to print the images of the payments.
6. The fifth argument is the name of the printer to which the output is to be directed.


Using Command Prompt

Follow the instructions below to use the command-line arguments in Windows Command Prompt.

1. Start a Windows Command Prompt. Go to Start arrow Programs arrow Accessories arrow Command Prompt. 

Alternatively, you can go to Start arrow Run arrow type "cmd" without quotes and press <Enter>.
2. Type your command and click Enter.

The Windows Command Prompt screen


The command returns a system code which is not displayed to the users:

-1 means error
0 means everything went okay

So, testing the command line requires that you check the log. In the log, you may see a message like following:

Processing of 'C:\EDI\Inbox\835' started at 3/12/2012 9:21:11 AM

                Printer is not found in system

                Processing stopped at 3/12/2012 9:21:11 AM

So, the log will help you to debug the command line.


No questions yet.

Publish modules to the "offcanvs" position.