FBARCHR0 ; HINOIFO/BNT - ARCH Reports ; 05/09/11 5:30pm
Source file <FBARCHR0.m>
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 |
|