IBATOP ;ALB/CPM-TRANSFER PRICING PATIENT LISTING ;21-MAR-99
Source file <IBATOP.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN | ; Option entry point.
 | 
|
| DQ | ; Tasked entry point.
 | 
|
| ;
 ; now call scheduling to look up future appts  | 
||
| ENQ | ||
| ENQ1 | ||
| SET(IBNET,IBSTA,DFN) | ; Create the temporary sort file.
 ; Input: IBNET -- The network/VISN number ; IBSTA -- The Station number ; DFN -- Pointer to the patient in file #2  | 
|
| TXMT(DFN) | ; Find the patient's last treatment date and next sched date
 ; Input: DFN -- Pointer to the patient in file #2 ; Output: 1^2, where ; 1 => last treatment date, or null ; 2 => next scheduled treatment date, or null ; (not including scheduling)  | 
|
| TXMTN | ; - find next scheduled treatment date
 | 
|
| APPT(SDOE0) | ; Determine if appt associated with encounter is valid
 | 
|
| PAUSE | ; Page break
 | 
|
| HDR(IBNET) | ; Write the detail report header.
 | 
|
| DISFAC(X) | ; Display the station number and name.
 ; Input: X -- The Station Number ; Variable input: IBFACN array  | 
|
| DASH(X) | ; Return a dashed line.
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |