RCDPENER ;AITC/CJE - NEGATIVE ERA LINE REPORT ;Dec 20, 2014@18:42
Source file <RCDPENER.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
RPT | ; entry point for Negative ERA Line Report [RCDPE NEGATIVE ERA LINE REPORT]
|
|
REPORT | ; Compile and print report
; Input: RCDISP - 0 - Output to paper or screen, 1 - Output to Excel ; RCDIV - 1 - All divisions, 2 - Selected divisions ; RCDIVS()- Array of selected divisions if RCDIV=2 ; RCRANGE - 1^Start Date^End Date ; RCJOB - $J ; RCLAIM - "M" - Medical Claims, "P" - Pharmacy Claims, "B" - Both ; RCPAGE - Initialized to 0 ; RCPARRAY- Array of selected payers ; RCPROG - "RCDPENER" ; RCSORT - 0 - Sort by Payer Name, 1 - Sort by Payer TIN ; RCWHICH - 1 - Filter by Payer Name, 2 - Filter by Payer TIN ; ^TMP("RCDPEU1",$J) - Selected payerers (see SELPAY^RCDPEU1 for details) |
|
DISP | ; Format the display for screen/printer or MS Excel
; Input: GLOB - ^TMP("RCDPENER",$J) (See SAVE^RCDPENE1 for field order) ; RCDISP - 1 - Output to Excel, 0 otherwise ; RCDIV - 1 - All Divisions selected ; RCDIVS - Array of selected Divisions (if all not selected) ; RCPARRAY- Array of selected Payers ; RCPAY - 1 - All Payers selected |
|
HDR(DIVS,PAYERS) | ; Print the report header
; Input: DIVS() - Array of selected Division lines for Header ; PAYERS() - Array of selected Payer lines for Header ; RCDISP - 1 - Output to Excel, 0 otherwise ; RCHDRDT - External Print Date/Tim ; RCPAGE - Current Page number ; RCRANGE - Selected Date Range ; RCSORT - 0 - Sort by Payer Name, 1 - Sort by Payer TIN ; RCSTOP - 1 if display aborted ; Output: RCPAGE - Updated Page Number ; RCSTOP - 1 if display aborted |
|
DTRNG() | ; Get the date range for the report
; Input: None ; Returns: 0 - User ^ or timed out ; 1^Start Date^End Date |
|
DATES(BDATE,EDATE) | ; Get a date range.
; Input: None ; Output: BDATE - Internal Begin date ; EDATE - Internal End date |
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 |
|