File Processing |
Top Previous Next |
|
This first part is for those who don't not have the EDI Exchange module enabled!
In order to run the HIPAA Authorizer 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.
The arguments above are concerned with the processing of incoming EDI files. But the export of EDI transactions can also be automated and run through the command line. The syntax is as follows:
Tip: The application window must be closed. Otherwise the CLI commands do not run. Example 1This example calls the HIPAA Authorizer's executable and gives a folder path as first argument and specifies database export(X) as second argument. "C:\Program Files\HIPAAsuite\HIPAA Authorizer\HIPAAAuthorizer.exe" C:\Inbox\EDI,X
Example 2This example issues a SQL query and gives the file name for the 278 file: Select * from EDI_AuthorizerHeader where SubscriberFirstname='Frank', EDI, C:\Temp\file.278
Using Command PromptFollow the instructions below to use the command-line arguments in Windows Command Prompt.
The command returns a system code which is not displayed to the users:
Testing the command line requires that you check the log (See Application 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 The log will help you to debug the command line.
|