FBARCHR0 ; HINOIFO/BNT - ARCH Reports ; 05/09/11 5:30pm
Source file <FBARCHR0.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 1 | $$FMTE^XLFDT |
VA FileMan | 1 | ^DIR |
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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
SELSMDET(DFLT) | ; Display (S)ummary or (D)etail Format
; Input Variable -> DFLT = 1 Summary ; 2 Detail ; ; Return Value -> 1 = Summary ; 0 = Detail ; ^ = Exit |
|
SELEXCEL() | ; - Returns whether to capture data for Excel report.
; Output: EXCEL = 1 - YES (capture data) / 0 - NO (DO NOT capture data) |
|
SELPAT(DFLT) | ; - Returns either a Fee Basis Patient IEN or 0 for All patients
|
|
SELDATE(DFLT) | ; Select Date Range
; Input Variable -> DFLT = 1 - ARCH Eligibility Date ; 0 - All Dates |
|
SELELIG(DFLT) | ; Select ARCH Eligibility Status
; Input Variable -> DFLT = 0 - NO patient is not ARCH eligible ; 1 - YES patient is ARCH eligible ; 2 - BOTH |
|
SELELDET(DFLT) | ; Select ARCH Eligibility Determination
; Input Variable -> DFLT = 0 - CAC ; 1 - SAS DB Update ; 2 - All |
|
SELJUST() | ; Select the ARCH Justification Reason
; Return Value -> FEE BASIS PROJECT ARCH JUSTIFICATION file #161.35 IEN |
|
HEXC | ; - 'Do you want to capture data...' prompt
|
|
EXMSG | ;
|
|
PAUSE | ||
PAUSE2 | ||
CHKKEY(KEY) | ; Check if user holds the appropriate security key
; Return 1 if user holds key, 0 if not and display message |
|
REPORT(REF,FBEXCEL,FBSCR,FBRPTNAM,FBPAT,FBBEGDT,FBENDDT,FBELIG,FBELDET,FBSUMDET,FBPAGE) | ; Display the report
|
|
WRLINE1(FBEXCEL,ID,PATIENT,ELIGDT,ELIGIND,DETERM) | ; Write Line 1 of report
|
|
WRLINE2(FBEXCEL,FBJUST) | ; Write Line 2 of report
|
|
WRLINE3(FBEXCEL,FBMILE) | ; Write Line 3 of report
|
|
CHKP(FBLINES) | ||
ULINE(X) | ||
HDR(FBRPTNAM,FBPAGE) | ;
|
|
EXHDR | ; Write the Excel Report Header
|
|
DATTIM(X) | ;Convert FM date or date.time to displayable (mm/dd/yy HH:MM) format
|
|
HEADLN1 | ; Write the first header line
|
|
HEADLN2 | ; Write the second header line
|
|
HEADLN3 | ; Write the third header line
|
|
XREPORT | ||
LJ(FBST,FBLEN) | ;
|
|
RJ(FBST,FBLEN) |
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: READ |
|
Function Call: WRITE |
|
Function Call: READ |
|
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 |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | REPORT+8, REPORT+29 |
^FBAA(161.35 - [#161.35] | SELJUST+6, SELJUST+7, SELJUST+8, WRLINE2+1, WRLINE2+3 |
^FBAAA - [#161] | REPORT+16 |
^VA(200 - [#200] | REPORT+18 |
^XUSEC( | CHKKEY+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | SELJUST+3~, SELJUST+4*, SELJUST+9*, SELJUST+10, SELJUST+21 |
DATE | DATTIM+1~, DATTIM+2*, DATTIM+6*, DATTIM+7 |
DETERM | WRLINE1~, WRLINE1+1, WRLINE1+3 |
DETUSR | REPORT+1~, REPORT+18*, REPORT+29 |
DFLT | SELSMDET~, SELSMDET+9*, SELSMDET+10, SELPAT~, SELPAT+2*, SELPAT+3, SELDATE~, SELDATE+12*, SELDATE+13, SELELIG~ , SELELIG+11*, SELELIG+12, SELELDET~, SELELDET+11*, SELELDET+12 |
DFN | REPORT+1~, REPORT+7*, REPORT+8, REPORT+10, REPORT+12, REPORT+15, REPORT+16, REPORT+25, REPORT+29, REPORT+36~* , REPORT+38, REPORT+40 |
DIR | SELSMDET+8~, SELEXCEL+3~, SELEXCEL+8!, SELPAT+1~, SELPAT+8~, SELDATE+11~, SELELIG+10~, SELELDET+10~, SELELDET+17~, SELJUST+3~ |
DIR("?" | SELEXCEL+7* |
DIR("A" | SELSMDET+10*, SELEXCEL+6*, SELPAT+3*, SELDATE+13*, SELDATE+19*, SELDATE+27*, SELELIG+12*, SELELDET+12*, SELELDET+20*, SELJUST+21* |
DIR("B" | SELSMDET+10*, SELEXCEL+5*, SELPAT+3*, SELDATE+13*, SELDATE+19*, SELDATE+27*, SELELIG+12*, SELELDET+12* |
DIR("S" | SELPAT+10*, SELELDET+19* |
DIR("T" | SELEXCEL+5* |
DIR(0 | SELSMDET+10*, SELEXCEL+5*, SELPAT+3*, SELPAT+10*, SELDATE+13*, SELDATE+19*, SELDATE+27*, SELELIG+12*, SELELDET+12*, SELELDET+19* , SELJUST+21* |
DIROUT | SELEXCEL+3~, SELEXCEL+8, SELEXCEL+9! |
DIRUT | SELSMDET+8~, SELEXCEL+3~, SELEXCEL+8, SELEXCEL+9!, SELPAT+1~, SELPAT+8~, SELDATE+11~, SELELIG+10~, SELELDET+10~, SELELDET+17~ |
DTIME | SELEXCEL+5, PAUSE+2, PAUSE2+2 |
DTOUT | SELSMDET+8~, SELSMDET+12, SELEXCEL+3~, SELEXCEL+8, SELEXCEL+9!, SELPAT+1~, SELPAT+5, SELPAT+8~, SELPAT+11, SELDATE+11~ , SELDATE+15, SELDATE+23, SELDATE+31, SELELIG+10~, SELELIG+14, SELELDET+10~, SELELDET+14, SELELDET+17~, SELELDET+21, SELJUST+3~ , SELJUST+22 |
DUOUT | SELSMDET+8~, SELSMDET+12, SELEXCEL+3~, SELEXCEL+8, SELEXCEL+9!, SELPAT+1~, SELPAT+5, SELPAT+8~, SELPAT+11, SELDATE+11~ , SELDATE+15, SELDATE+23, SELDATE+31, SELELIG+10~, SELELIG+14, SELELDET+10~, SELELDET+14, SELELDET+17~, SELELDET+21, SELJUST+3~ , SELJUST+22 |
DUZ | CHKKEY+3 |
ELIGDT | REPORT+1~, REPORT+12*, REPORT+14, REPORT+15, REPORT+29, WRLINE1~, WRLINE1+1, WRLINE1+3 |
ELIGIND | REPORT+1~, REPORT+17*, REPORT+20, REPORT+25, REPORT+29, WRLINE1~, WRLINE1+1, WRLINE1+3 |
EXCEL | SELEXCEL+3~, SELEXCEL+10*, SELEXCEL+13, SELEXCEL+15 |
FB11 | REPORT+1~, REPORT+15*, REPORT+16 |
FBAP | DATTIM+1~, DATTIM+5*, DATTIM+6 |
FBARCH0 | REPORT+1~, REPORT+16*, REPORT+17, REPORT+18, REPORT+22, REPORT+23, REPORT+25, REPORT+30, REPORT+31 |
FBBEGDT | REPORT~, REPORT+14, HDR+11 |
FBCNT | REPORT+1~, REPORT+3*, REPORT+26*, REPORT+29 |
>> FBDATA | CHKP+3*, CHKP+4*, HDR+5* |
FBELDET | REPORT~, REPORT+22, REPORT+23 |
FBELIG | REPORT~, REPORT+20, REPORT+44, REPORT+45, REPORT+46 |
FBELPAT | REPORT+2~ |
FBELPAT( | REPORT+25*, REPORT+36, REPORT+38, REPORT+40 |
FBENDDT | REPORT~, HDR+11 |
FBEXCEL | REPORT~, REPORT+29, REPORT+30, REPORT+31, WRLINE1~, WRLINE1+1, WRLINE2~, WRLINE2+1, WRLINE3~, WRLINE3+1 , CHKP, HDR+2 |
FBH | DATTIM+1~, DATTIM+4*, DATTIM+5*, DATTIM+6* |
FBJAR | SELJUST+3~ |
FBJAR( | SELJUST+10*, SELJUST+11, SELJUST+13, SELJUST+15, SELJUST+16, SELJUST+17, SELJUST+18, SELJUST+19, SELJUST+23, SELJUST+24 |
FBJUST | SELJUST+3~, SELJUST+4*, SELJUST+6*, SELJUST+7, SELJUST+10, WRLINE2~, WRLINE2+1, WRLINE2+3 |
FBL | LJ+1~, LJ+2*, LJ+3, RJ+1*, RJ+2 |
FBLEN | LJ~, LJ+2, LJ+3, RJ~, RJ+1, RJ+3 |
FBLINES | CHKP~, CHKP+1*, CHKP+2*, CHKP+5 |
FBLOCNT | REPORT+2~, REPORT+3*, REPORT+38*, REPORT+45 |
FBM | DATTIM+1~, DATTIM+4*, DATTIM+6 |
FBMILE | WRLINE3~, WRLINE3+1, WRLINE3+3 |
FBNCNT | REPORT+2~, REPORT+3*, REPORT+40*, REPORT+44 |
FBNELCNT | REPORT+2~, REPORT+3*, REPORT+42*, REPORT+46 |
>> FBNOW | HDR+10 |
FBNPAT | REPORT+2~, REPORT+11*, REPORT+26, REPORT+29, REPORT+33* |
FBPAGE | REPORT~, REPORT+4, CHKP+5, HDR~, HDR+6*, HDR+9 |
FBPAT | REPORT~, REPORT+10 |
>> FBQ | PAUSE+2*, PAUSE2+2*, REPORT+7, REPORT+12, REPORT+15, REPORT+27, REPORT+34, CHKP+5, HDR+14 |
FBRPTNAM | REPORT~, REPORT+4, CHKP+5, HDR~, HDR+8 |
FBSCR | REPORT~, CHKP+2, CHKP+3, CHKP+5 |
FBST | LJ~, LJ+2, LJ+3, RJ~, RJ+1, RJ+2, RJ+3 |
FBSUMDET | REPORT~, REPORT+28, HDR+8, HDR+16 |
FBT | DATTIM+1~, DATTIM+3*, DATTIM+4, DATTIM+6 |
I | ULINE~, ULINE+1* |
ID | WRLINE1~, WRLINE1+1, WRLINE1+3 |
IEN | SELJUST+3~, SELJUST+7*, SELJUST+8, SELJUST+10 |
IO | PAUSE+3, PAUSE2+3 |
IO(0 | PAUSE+1, PAUSE2+1 |
IOF | HDR+7 |
IOSL | CHKP+5 |
KEY | CHKKEY~, CHKKEY+2, CHKKEY+3, CHKKEY+4 |
NP | REPORT+2~, REPORT+27* |
PATIENT | WRLINE1~, WRLINE1+1, WRLINE1+3 |
REF | REPORT~, REPORT+5, REPORT+7, REPORT+12, REPORT+15 |
U | SELDATE+26, SELDATE+34, SELJUST+8, SELJUST+10, SELJUST+13, SELJUST+15, SELJUST+16, SELJUST+17, SELJUST+18, SELJUST+19 , SELJUST+23, SELJUST+24, REPORT+17, REPORT+18, REPORT+22, REPORT+23, REPORT+25, REPORT+29, REPORT+30, REPORT+31 , WRLINE1+1, WRLINE2+1, WRLINE2+3, WRLINE3+1, EXHDR+1, EXHDR+2, EXHDR+3, EXHDR+4, EXHDR+5, EXHDR+6 , EXHDR+7 |
VAL | SELDATE+11~, SELDATE+19*, SELDATE+23*, SELDATE+25, SELDATE+26*, SELDATE+27, SELDATE+31*, SELDATE+34*, SELDATE+36 |
X | SELSMDET+8~, SELPAT+1~, SELDATE+11~, SELDATE+23, SELDATE+31, SELELIG+10~, SELELDET+10~, SELJUST+3~, SELJUST+4*, SELJUST+11* , SELJUST+12, SELJUST+13, SELJUST+15, SELJUST+16, SELJUST+17, SELJUST+18, SELJUST+19, PAUSE~, PAUSE+2*, PAUSE2~ , PAUSE2+2*, ULINE~, ULINE+1, DATTIM~, DATTIM+2, DATTIM+3 |
Y | SELSMDET+8~, SELSMDET+12*, SELSMDET+13*, SELSMDET+14, SELEXCEL+10, SELPAT+1~, SELPAT+5*, SELPAT+6*, SELPAT+7, SELPAT+11* , SELPAT+12*, SELPAT+13, SELDATE+11~, SELDATE+15*, SELDATE+16*, SELDATE+17, SELDATE+26, SELDATE+34, SELELIG+10~, SELELIG+14* , SELELIG+15*, SELELIG+16, SELELDET+10~, SELELDET+14*, SELELDET+15*, SELELDET+16, SELELDET+21*, SELELDET+22*, SELELDET+23, SELJUST+3~ , SELJUST+22*, SELJUST+23, SELJUST+24 |