IBMHVRP ;EDE/YMG - Mental Health Visit Summary/Detail Report; 09/13/2023
Source file <IBMHVRP.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Integrated Billing | 1 | IBMH VISIT REPORT |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; entry point
|
|
COMPILE | ; compile report
|
|
; print report
|
||
PRDET(IBYR,IBMON) | ; Print the details of the summary
|
|
TOTALS | ; Print the totals.
|
|
HDR | ; Print header.
|
|
EXHDR | ; Print Excel version of the header.
|
|
MON(IBMON) | ||
CHKSTOP | ||
DATE | ||
DATAGN | ;Loop entry point
|
|
FIRST(IBDT) | ||
LAST(IBDT) | ||
ASKDT(IBPRMT,IBDFLT) | ;Date input
|
|
GETPRMPT(IBPRMPT) | ;
|
|
GETEXCEL() | ; Export the report to MS Excel?
; Function return values: ; 0 - User selected "No" at prompt. ; 1 - User selected "Yes" at prompt. ; ^ - User aborted. ; This function allows the user to indicate whether the report should be ; printed in a format that could easily be imported into an Excel ; spreadsheet. If the user wants to print in EXCEL format, the variable ; IBEXCEL will be set to '1', otherwise IBEXCEL will be set to '0' for "No" ; or "^" to abort. |
|
PRTEXCEL() | ;Print the MS Excel instructions.
|
|
PAUSE(IBEND) | ;
|
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 |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | GET1^DIQ |
^DIC(4 - [#4] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^IBMH(351.83 - [#351.83] | COMPILE+10, COMPILE+11, COMPILE+13 |
^TMP($J | COMPILE+2!, COMPILE+18, COMPILE+19*, COMPILE+20*, COMPILE+22*, COMPILE+23*, COMPILE+24*, COMPILE+26*, COMPILE+27*, COMPILE+28 , COMPILE+29*, COMPILE+30*, COMPILE+32!, PRINT+8, PRINT+13, PRDET+3, PRDET+4, PRDET+6, TOTALS+3, TOTALS+6 |
Name | Line Occurrences |
---|---|
$$ASKDT | DATAGN+3, DATAGN+6 |
$$FIRST | DATAGN+3 |
$$GETEXCEL | EN+11 |
$$GETPRMPT | EN+8, EN+10 |
$$LAST | DATAGN+6 |
$$MON | PRINT+15, PRINT+18 |
CHKSTOP | PRINT+11, PRDET+5 |
COMPILE | EN+24 |
DATAGN | DATAGN+8 |
DATE | EN+5 |
EXHDR | PRINT+7 |
HDR | PRINT+6, CHKSTOP |
PAUSE | EN+22, PRINT+8, PRINT+33, CHKSTOP |
PRDET | PRINT+27 |
COMPILE+31 | |
PRTEXCEL | EN+12 |
TOTALS | PRINT+30 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%ZIS | EN+2~, EN+16* |
%ZIS("B" | EN+16* |
DIR | ASKDT+1~, GETPRMPT+1~, GETPRMPT+19!, GETEXCEL+11~, GETEXCEL+21!, PAUSE+5~, PAUSE+9! |
DIR("?" | GETPRMPT+8*, GETPRMPT+16*, GETEXCEL+16*, GETEXCEL+17*, GETEXCEL+18* |
DIR("A" | ASKDT+2*, GETPRMPT+5*, GETPRMPT+13*, GETEXCEL+13*, PAUSE+8* |
DIR("B" | ASKDT+3*, GETPRMPT+6*, GETPRMPT+15*, GETEXCEL+14*, GETEXCEL+15* |
DIR(0 | ASKDT+4*, GETPRMPT+7*, GETPRMPT+14*, GETEXCEL+12*, PAUSE+7* |
DIROUT | ASKDT+1~, GETPRMPT+1~, PAUSE+5~ |
DIRUT | ASKDT+1~, ASKDT+5, GETPRMPT+1~, GETEXCEL+11~, GETEXCEL+22, PAUSE+5~ |
DTOUT | GETPRMPT+1~, GETPRMPT+20, PAUSE+5~ |
DUOUT | GETPRMPT+1~, GETPRMPT+20, PAUSE+5~, PAUSE+9 |
IBBDT | EN+1~, EN+5, COMPILE+8, PRINT+10, HDR+11, DATAGN+1*, DATAGN+3*, DATAGN+4, DATAGN+7*, DATAGN+8 |
IBCA | EN+1~, EN+10*, COMPILE+14, HDR+7 |
IBCHG | PRINT+1~, PRINT+5* |
IBCSITE | COMPILE+1~, COMPILE+5*, COMPILE+14 |
IBCTX | COMPILE+1~, COMPILE+15*, COMPILE+20, COMPILE+23, COMPILE+27 |
IBDATA | COMPILE+1~, COMPILE+13*, COMPILE+14, COMPILE+15, PRDET+6*, PRDET+9, PRDET+13, PRDET+14, PRDET+15, PRDET+16 , PRDET+17 |
IBDFLT | ASKDT~, ASKDT+3 |
IBDFN | COMPILE+1~, COMPILE+15*, COMPILE+16, COMPILE+18, COMPILE+19, COMPILE+20, COMPILE+28, COMPILE+29, PRDET+2~, PRDET+4* , PRDET+6, PRDET+9, PRDET+12 |
IBDT | FIRST~*, FIRST+1, LAST~, LAST+1 |
IBDTH | PRINT+2~, PRINT+4*, HDR+13 |
IBEDT | EN+1~, COMPILE+10, PRINT+10, HDR+11, DATAGN+1*, DATAGN+6*, DATAGN+7, DATAGN+8 |
IBEND | PAUSE~, PAUSE+8, PAUSE+10 |
IBEXCEL | EN+1~, EN+11*, EN+12, EN+13, PRINT+6, PRINT+7, PRINT+8, PRINT+11, PRINT+15, PRINT+17 , PRINT+33, PRDET+5, PRDET+8, TOTALS+3, GETEXCEL+14 |
IBFAC | COMPILE+1~, HDR+8 |
IBFACNM | HDR+1~, HDR+8*, HDR+9 |
IBH | HDR+1~, HDR+4*, HDR+5 |
IBH1 | HDR+1~, HDR+6*, HDR+9*, HDR+10 |
IBH2 | HDR+1~, HDR+11*, HDR+12 |
IBHDR | HDR+1~, HDR+3*, HDR+4 |
IBI | TOTALS+1~, TOTALS+5*, HDR+1~, HDR+16* |
IBIEN | COMPILE+1~, COMPILE+11*, COMPILE+13 |
IBLINE | PRINT+1~, PRINT+5* |
IBLP | COMPILE+1~, COMPILE+7*, COMPILE+8*, COMPILE+10*, COMPILE+11, COMPILE+13 |
IBM | LAST~, LAST+1*, LAST+2*, LAST+3*, LAST+4 |
IBMN | COMPILE+1~, COMPILE+13*, COMPILE+18, COMPILE+19, COMPILE+20, COMPILE+22, COMPILE+23, COMPILE+24 |
IBMON | PRINT+1~, PRINT+10*, PRINT+12, PRINT+13, PRINT+15, PRINT+18, PRINT+27, PRDET~, PRDET+3, PRDET+4 , PRDET+6, MON~, MON+1 |
IBNEW | COMPILE+1~, COMPILE+12*, COMPILE+18*, COMPILE+24 |
IBNM | COMPILE+16*, COMPILE+18, COMPILE+19, COMPILE+20, PRDET+2~, PRDET+3*, PRDET+4, PRDET+6 |
IBNOW | DATE~, DATE+1*, DATAGN+3, DATAGN+6 |
IBPAG | PRINT+1~, PRINT+5*, HDR+2, HDR+5*, HDR+13 |
IBPRMPT | GETPRMPT~, GETPRMPT+4, GETPRMPT+12 |
IBPRMT | ASKDT~, ASKDT+2 |
IBQUIT | PRINT+2~, PRINT+5*, PRINT+10, PRINT+11, PRINT+29, PRDET+5, CHKSTOP, PAUSE+9* |
IBSD | EN+1~, EN+8*, PRINT+27, HDR+3 |
IBSITE | COMPILE+1~, COMPILE+5*, COMPILE+15* |
IBSTAT | COMPILE+1~, COMPILE+15* |
IBTOT | PRINT+1~, PRINT+2~, PRINT+5*, PRINT+26*, TOTALS+3, TOTALS+6 |
IBTOTC | PRINT+2~, PRINT+5*, PRINT+26*, TOTALS+3, TOTALS+6 |
IBTOTF | PRINT+2~, PRINT+5*, PRINT+26*, TOTALS+3, TOTALS+6 |
IBTOTN | PRINT+2~, PRINT+5*, PRINT+26*, TOTALS+3, TOTALS+6 |
IBTOTV | PRINT+2~, PRINT+5*, PRINT+26*, TOTALS+3, TOTALS+6 |
IBY | PRINT+1~, PRINT+13*, PRINT+15, PRINT+19, PRINT+20, PRINT+21, PRINT+22, PRINT+23, PRINT+24, PRINT+26 , LAST~, LAST+1*, LAST+2*, LAST+4 |
IBYR | COMPILE+1~, COMPILE+13*, COMPILE+18, COMPILE+19, COMPILE+20, COMPILE+22, COMPILE+23, COMPILE+24, COMPILE+26, COMPILE+27 , PRINT+1~, PRINT+12*, PRINT+13, PRINT+27, PRDET~, PRDET+3, PRDET+4, PRDET+6 |
IO | PRINT+3 |
IO("Q" | EN+15!, EN+17 |
IOF | HDR+2, PAUSE+9, PAUSE+10 |
IOM | PRINT+5, HDR+13 |
IOP | EN+15! |
IOSL | CHKSTOP |
IOST | HDR+2, PAUSE+4 |
POP | EN+2~, EN+16* |
U | COMPILE+14, COMPILE+15, COMPILE+19, COMPILE+20, COMPILE+22, COMPILE+23, COMPILE+24, COMPILE+26, COMPILE+27, PRINT+15 , PRINT+19, PRINT+20, PRINT+21, PRINT+22, PRINT+23, PRINT+24, PRINT+26, PRDET+9, PRDET+13, PRDET+14 , PRDET+15, PRDET+16, PRDET+17, TOTALS+3, EXHDR+1 |
X | TOTALS+1~, ASKDT+1~, GETPRMPT+1~ |
Y | ASKDT+1~, ASKDT+6, ASKDT+7, GETPRMPT+1~, GETPRMPT+20, GETPRMPT+21, GETEXCEL+11~, GETEXCEL+23, PAUSE+5~ |
ZTDESC | EN+2~, EN+18* |
>> ZTQUEUED | PRINT+8, PRINT+11, PRINT+33, PRDET+5 |
ZTRTN | EN+2~, EN+18* |
ZTSAVE | EN+2~ |
ZTSAVE("IBBDT" | EN+19* |
ZTSAVE("IBCA" | EN+19* |
ZTSAVE("IBEDT" | EN+19* |
ZTSAVE("IBEXCEL" | EN+19* |
ZTSAVE("IBSD" | EN+19* |
ZTSAVE("ZTREQ" | EN+20* |
ZTSK | EN+2~, EN+22 |