Example 3

Top  Previous 

This example shows how to set up batch queues for different groups of doctors, with each queue being managed by a different secretary.  Doctors 1000 and 1001 are managed by Mary and doctors 2000 and 2001 are managed by Susan.  All doctors dictate progress notes.  When Mary and Susan print their batches, the system will print the reports to their Windows Default printer. 

 

 

Special things to notice

 

The %LOCATION% variable in the Device Output Path will be substituted with the Provider's Location code before creating the batch queue output path, thus dynamically creating a separate queue by location.

 

The %PARAM% variable in the Batch Control Input Path will be substituted with the /Param code from the command-line so that each secretary will only see the batch queue for their doctors.

 

 

Summary of what's needed

 

Devices records:1
Batch Control records:1
Print Definititions records:1

 

 

Devices

 

Code:  BATCH-PLAIN

Desc:  BATCH QUEUE FOR PLAIN PAPER

Type:  OUTBOUND FILE

Location:  REMOTE

Interface Type:  HEADER

Output Path:  %ROOT%\BATCH\%SITE%\%LOCATION%\PLAIN

Filename:  REPORT_ID

Extension:  HED

 

 

Forms

 

Code:  PRG

Desc:  PROGRESS NOTES

Distribution Device:  BATCH-PLAIN

 

 

Providers

 

Code:  1000

Name:  John Smith, M.D.

Location:  001

 

Code:  1001

Name:  William Tell, M.D.

Location:  001

 

Code:  2000

Name:  Sam Johnson, M.D.

Location:  002

 

Code:  2001

Name: Steve Hill, M.D.

Location:  002

 

 

Batch Control

 

Batch ID:  120-1

Batch Desc:  PLAIN PAPER BATCH

Site:  120

Input Path:  %ROOT%\BATCH\%SITE%\%PARAM%\PLAIN

Sort 1:  DOCTOR

 

 

Print Definitions

 

Batch ID:  120-1

Description:  Print reports on plain paper

Device:  [Default]

 

 

Batch Controller Icon Target Properties

 

Mary's PC\chartnet\bin\mtbatch.exe  /Param=001
 
Susan's PC\chartnet\bin\mtbatch.exe  /Param=002