DGOTHRPT ;SLC/RM - OTHD (OTHER THAN HONORABLE DISCHARGE) APIs ;April 27,2018@21:08
Source file <DGOTHRPT.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 |
---|---|---|
Registration | 5 | DG OTH 90-DAY PERIOD DG OTH STATISTICAL REPORT DGOTHRP1 DGOTHRP3 DGOTHRPT |
Name | Comments | DBIA/ICR reference |
---|---|---|
REPORT1 | ;
|
|
STATUS() | ;prompt OTH-90 STATUS
; 1) Active 90-Day Period ; 2) Expired 90-Day Period ; 3) Both (Active and Expired Period) |
|
DATEBEG() | ;prompt for beginning date
|
|
DATEEND() | ;prompt for ending date
|
|
SORTBY() | ;prompt for sort by
; 1) Patient Name ; 2) Period ; 3) Days Remaining |
|
ANSWER(DGDIRA,DGDIRB,DGDIR0,DGDIRH) | ;
; Input ; DGDIR0 - DIR(0) string ; DGDIRA - DIR("A") string ; DGDIRB - DIR("B") string ; DGDIRH - DIR("?") string ; Output ; Function Value - Internal value returned from ^DIR or -1 if user ; up-arrows, double up-arrows or the read times out. |
|
HELP(DGSEL) | ;provide extended DIR("?") help text.
|
|
ENSTAT | ;
|
|
FISCAL() | ;prompt for fiscal year
|
|
QRTRALL() | ;prompt for statistical report to print
|
|
MQ(DGSORT) | ;prompt month in the quarter
|
|
DTRANGE | ;calculate monthly date range
|
|
CALRNGE(DGSORT,Q,M) | ;calculate date range by month
|
|
FSCLYR | ;calculate fiscal year date range
|
|
MSG(DGSORT) | ;
|
|
DATES | ;store date ranges for each quarter
|
|
MONTH(DGRRDT) | ; Pass in a date (default = today's date)
; this function returns the first and last dates of the month |
|
FY(DGRRDT) | ; Pass in a date (default = today's date),
; and this function returns what FY we are in, ; followed by the FY start date and FY end date. ; ie. S X=$$FY^DGOTHST(3050208) results in X="FY 2005^3041000^3051000" |
Name | Field # of Occurrence |
---|---|
HOME^%ZIS | REPORT1+67, ENSTAT+47 |
ASKCONT^DGOTHMG2 | REPORT1+27 |
$$SELDIV^DGOTHRP1 | REPORT1+50 |
$$SORTRPT^DGOTHRP1 | REPORT1+51 |
^DGOTHRP3 | MQ+11, FSCLYR+11 |
HELP^DGOTHRP3 | FISCAL+8 |
$$ANSWER^DGOTHRPT | ENSTAT+16, QRTRALL+7, MQ+13 |
^DIR | SORTBY+15, ANSWER+14 |
$$FMADD^XLFDT | DATEBEG+6, DATEEND+6, DATEEND+7 |
$$FMTE^XLFDT | MSG+1, MSG+2 |
$$SCH^XLFDT | MONTH+5 |
$$CJ^XLFSTR | REPORT1+27 |
EN^XUTMDEVQ | REPORT1+66, ENSTAT+46 |
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 |
|
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 |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGOTH(33 - [#33] | REPORT1+27, ENSTAT+13 |
Name | Line Occurrences |
---|---|
$$ANSWER | STATUS+10, DATEBEG+8, DATEEND+8, FISCAL+7 |
$$DATEBEG | REPORT1+42 |
$$DATEEND | REPORT1+45 |
$$FISCAL | ENSTAT+29 |
$$MONTH | DTRANGE+6, CALRNGE+7 |
$$MQ | ENSTAT+36 |
$$QRTRALL | ENSTAT+32 |
$$SORTBY | REPORT1+59 |
$$STATUS | REPORT1+40 |
DTRANGE | ENSTAT+38 |
FISCAL | FISCAL+8 |
FSCLYR | ENSTAT+41 |
MSG | DTRANGE+13, FSCLYR+12 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DGASK | STATUS+4~, STATUS+10*, STATUS+11, STATUS+12, DATEBEG+1~, DATEBEG+8*, DATEBEG+9, DATEBEG+10, DATEEND+1~, DATEEND+8* , DATEEND+9, DATEEND+10, SORTBY+16*, SORTBY+17, SORTBY+18, FISCAL+1~, FISCAL+7*, FISCAL+8*, FISCAL+9, FISCAL+10 , QRTRALL+2~, QRTRALL+7*, QRTRALL+8, QRTRALL+9, QRTRALL+10, MQ+2~, MQ+13*, MQ+14, MQ+15, MQ+16 , MQ+17, MQ+19 |
DGBEGDT | DATEBEG+1~, DATEBEG+6*, DATEBEG+7 |
DGCNT | MQ+2~, MQ+8*, MQ+10*, MQ+11 |
DGDIR0 | ANSWER~, ANSWER+10 |
DGDIRA | STATUS+4~, STATUS+6*, STATUS+10, DATEBEG+1~, DATEBEG+3*, DATEBEG+8, DATEEND+1~, DATEEND+3*, DATEEND+8, ANSWER~ , ANSWER+11, FISCAL+1~, FISCAL+3*, FISCAL+7, QRTRALL+2~, QRTRALL+3*, QRTRALL+7, MQ+2~, MQ+3*, MQ+13 |
DGDIRB | STATUS+4~, STATUS+7*, STATUS+10, DATEBEG+1~, DATEBEG+4*, DATEBEG+8, DATEEND+1~, DATEEND+4*, DATEEND+8, ANSWER~ , ANSWER+12, FISCAL+1~, FISCAL+4*, FISCAL+7, QRTRALL+2~, QRTRALL+4*, QRTRALL+7, MQ+2~, MQ+4*, MQ+13 |
DGDIRH | STATUS+4~, STATUS+8*, STATUS+10, DATEBEG+1~, DATEBEG+5*, DATEBEG+8, DATEEND+1~, DATEEND+5*, DATEEND+8, ANSWER~ , ANSWER+13, FISCAL+1~, FISCAL+5*, FISCAL+7, QRTRALL+2~, QRTRALL+5*, QRTRALL+7, MQ+2~, MQ+5*, MQ+13 |
DGDIRO | STATUS+4~, STATUS+9*, STATUS+10, DATEBEG+1~, DATEBEG+7*, DATEBEG+8, DATEEND+1~, DATEEND+7*, DATEEND+8, FISCAL+1~ , FISCAL+6*, FISCAL+7, QRTRALL+2~, QRTRALL+6*, QRTRALL+7, MQ+2~, MQ+12*, MQ+13 |
DGDTEND | DATEEND+1~, DATEEND+6*, DATEEND+7 |
DGDTRNGE | ENSTAT+11~, MSG+1* |
DGFIRST | ENSTAT+1~, ENSTAT+13*, ENSTAT+14 |
DGFYQ | QRTRALL+2~, QRTRALL+8*, QRTRALL+9, MQ+2~ |
DGMAX | MQ+2~, MQ+7*, MQ+9, FSCLYR+1~, FSCLYR+10*, FSCLYR+11 |
DGMIN | MQ+2~, MQ+6*, MQ+9, FSCLYR+1~, FSCLYR+9*, FSCLYR+11 |
DGMON | MQ+2~, DTRANGE+4*, DTRANGE+5*, DTRANGE+6*, DTRANGE+7, DTRANGE+8, CALRNGE+2*, CALRNGE+3*, CALRNGE+5*, CALRNGE+6* , CALRNGE+7*, CALRNGE+8 |
DGMON( | MQ+11*, MQ+15, MQ+16, MQ+18 |
DGMON(1 | MQ+12 |
DGMON(2 | MQ+12 |
DGMON(3 | MQ+12 |
DGQMON | ENSTAT+10~, ENSTAT+34, ENSTAT+36*, ENSTAT+37 |
DGRRDT | MONTH~, MONTH+3*, MONTH+4, FY~, FY+5*, FY+6 |
DGRRMND | MONTH+2~, MONTH+5*, MONTH+6 |
DGRRMST | MONTH+2~, MONTH+4*, MONTH+5, MONTH+6 |
DGRRND | FY+4~, FY+7*, FY+8 |
DGRRST | FY+4~, FY+6*, FY+7, FY+8 |
DGSEL | REPORT1+15~, HELP~, HELP+5, HELP+6, HELP+7, HELP+10, HELP+13, HELP+21 |
DGSORT | REPORT1+16~, REPORT1+38!, ENSTAT+2~, ENSTAT+36, MQ~, DTRANGE+13, CALRNGE~, FSCLYR+12, MSG~ |
DGSORT("DGBEG" | DATEBEG+9*, DATEEND+6, DTRANGE+7*, DTRANGE+11*, FSCLYR+2*, MSG+1, MSG+2 |
DGSORT("DGEND" | DATEEND+9*, DTRANGE+8*, DTRANGE+12*, FSCLYR+3*, MSG+1, MSG+2 |
DGSORT("DGFSCL" | ENSTAT+29, ENSTAT+32, FISCAL+9*, DTRANGE+4, DTRANGE+11, DTRANGE+12, CALRNGE+2, CALRNGE+5, FSCLYR+2, FSCLYR+3 |
DGSORT("DGMON" | MQ+15*, MQ+16*, MQ+18*, DTRANGE+3, DTRANGE+5, CALRNGE+1, CALRNGE+3, CALRNGE+4, CALRNGE+6, FSCLYR+5* , FSCLYR+11* |
DGSORT("DGQTR" | ENSTAT+34, ENSTAT+41, QRTRALL+9*, DTRANGE+4, DTRANGE+11, DTRANGE+12, CALRNGE+2, FSCLYR+5, FSCLYR+7!, FSCLYR+8* |
DGSORT("DGSRTBY" | REPORT1+60*, SORTBY+17* |
DGSORT("DGSTATUS" | REPORT1+59, REPORT1+60, STATUS+11* |
DGSORT("DIVISION" | REPORT1+51, REPORT1+52 |
DGSORT("REPORT" | REPORT1+52*, REPORT1+58*, SORTBY+7 |
DIR | SORTBY+15!, ANSWER+9~ |
DIR("?" | SORTBY+14*, ANSWER+13* |
DIR("??" | SORTBY+14*, ANSWER+13* |
DIR("A" | SORTBY+6*, SORTBY+7*, SORTBY+8*, SORTBY+9*, SORTBY+10*, SORTBY+11*, SORTBY+12*, SORTBY+13*, ANSWER+11* |
DIR("B" | ANSWER+12* |
DIR(0 | SORTBY+5*, ANSWER+10* |
DIROUT | ANSWER+9~, ANSWER+15, ANSWER+17 |
DIRUT | ANSWER+9~ |
DT | DATEBEG+6, DATEBEG+7, DATEEND+7, MONTH+3, FY+5 |
DTOUT | ANSWER+9~, ANSWER+15, ANSWER+17 |
DUOUT | ANSWER+9~, ANSWER+15, ANSWER+17 |
I | MQ+2~, MQ+9*, MQ+11, MQ+18*, DTRANGE+2~, FSCLYR+1~, FSCLYR+6*, FSCLYR+8, FSCLYR+11 |
II | FSCLYR+1~, FSCLYR+11* |
IOF | REPORT1+29, ENSTAT+18 |
M | CALRNGE~, CALRNGE+3, CALRNGE+6 |
Q | CALRNGE~, CALRNGE+5, CALRNGE+6 |
U | REPORT1+58, REPORT1+59, REPORT1+60, STATUS+11, SORTBY+7, SORTBY+17, ANSWER+16, ANSWER+18, ENSTAT+34, ENSTAT+41 , QRTRALL+9, MQ+11, MQ+12, MQ+15, MQ+16, MQ+18, DTRANGE+3, DTRANGE+4, DTRANGE+5, DTRANGE+7 , DTRANGE+8, DTRANGE+11, DTRANGE+12, CALRNGE+1, CALRNGE+2, CALRNGE+3, CALRNGE+4, CALRNGE+6, FSCLYR+11, MONTH+6 , FY+8 |
VAUTD | REPORT1+24~, REPORT1+38! |
X | REPORT1+65*, REPORT1+66, ANSWER+9~, ANSWER+16, ANSWER+18, HELP+5, HELP+6~*, HELP+22, ENSTAT+45*, ENSTAT+46 , FISCAL+1~, FISCAL+8* |
Y | REPORT1+24~, SORTBY+16, ANSWER+9~, ANSWER+16, ANSWER+18 |
Z | ANSWER+9~, ANSWER+15*, ANSWER+16* |
ZTDESC | REPORT1+18~, ENSTAT+4~ |
ZTQUEUED | REPORT1+19~, ENSTAT+5~ |
ZTREQ | REPORT1+20~, ENSTAT+6~ |
ZTRTN | REPORT1+22~, ENSTAT+8~ |
ZTSAVE | REPORT1+17~, REPORT1+66, ENSTAT+3~, ENSTAT+46 |
ZTSAVE("DGSORT(" | REPORT1+64*, ENSTAT+44* |
ZTSK | REPORT1+23~, ENSTAT+9~ |
ZTSTOP | REPORT1+21~, ENSTAT+7~ |