IBTUBAV ;ALB/AAS - UNBILLED AMOUNTS - AVERAGE BILL AMOUNT LOGIC ; 29-SEP-94
Source file <IBTUBAV.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| DATE | ; - Select date.
 | 
|
| DEV | ; - Select device.
 | 
|
| AUTO | ; - Entry point for scheduled option (update monthly number of bills
 ; and prior 12 months fields).  | 
|
| DQ | ; - Entry point for user options when queued.
 | 
|
| END | ||
| MONTH(IBYRMO,IBOVRW) | ; - Calculate/update Inpatient Unbilled Amounts
 ; Input: IBYRMO - YEAR/MONTH (YYYMM00) being calculated/updated ; IBOVRW - Overwrite the data currently on file? (1-YES/0-NO)  | 
|
| INPT | ; - For inpatient bills (add count of bills/total dollars).
 | 
|
| INP1 | ; - Add number of inpatient episodes.
 | 
|
| INPQ | ||
| YEAR(IBYRMO,IBOVRW) | ; - Calculate YEARLY totals, and store if necessary
 ; - Input: IBYRMO - YEAR/MONTH (YYYMM00) being calculated/updated ; IBOVRW - Overwrite the data currently on file? (1-YES/0-NO)  | 
|
| YEARQ | ||
| SEND | ; - Send a mail message to the Unbilled Amounts mail group informing
 ; which months had their data (MONTHLY & YEARLY) updated.  | 
|
| ADD(IBYRMO) | ; - Add entry to file 356.19 (unbilled amounts file).
 ; Input: IBYRMO=date/time in month year format no days allowed ; Output: IBADD=1-entry or entry added, 0-not added or error  | 
|
| ADDQ | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^IBE(356.19 - [#356.19] | Classic Fileman Calls |