Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: RCDPENR1

Package: Accounts Receivable

Routine: RCDPENR1


Information

RCDPENR1 ;ALB/SAB - EPay National Reports ;12/10/14

Source Information

Source file <RCDPENR1.m>

Entry Points

Name Comments DBIA/ICR reference
835837()
AUTO(RCDISP,RCBGDT,RCENDDT,RCPYRLST,RCRQDIV,RCSUMFLG) ;
; RCDISP - Display results to screen or archive file flag
; RCBGDT - begin date of the report
; RCENDDT - End date of the report
; RCPYRLST - Payers to report on (All, range, or single payer)
; RCRQDIV - Division to report on - (A)ll or a single division
; RCSUMFLG - (S)ummary or (G)rand Total Report
REPORT
COMPILE(RCSUMFLG) ;
PRINT(RCSUMFLG) ;Print the results
HEADER ;Print the results
RPTHDR ;
DIVTXT() ;
PAYERTXT(RCFILE) ;
SUMMARY(RCTFLG) ;Print the Payer Summary portion of the report
GRAND(RCTFLG) ;
GET835(RCSDATE,RCEDATE,RCSUMFLG) ;
BILLIEN(RCEOB)
GET837(RCSDATE,RCEDATE,RCSUMFLG) ;
UPDTMPB(RCSEND,RCTOTFLG,RCMP,RCCLAIM,RCSUMFLG,RCPAYER) ;
; RCSEND - Date 837 or NCPDP sent from site.
; RCTOTFLG - Add to the total count or not (1 yes, 837 sent this period, 0 if 837 sent in prior period
; RCMP - Is this a (P)harmacy or (M)edical
; RCCLAIM - The IEN for the Bill/Claim
; RCSUMFLG - If this flag is 1, add payer level entry for the Payer Summary report, otherwise send 0 for Grand Total only
; RCPAYER - Payer for the claim (if generating a Payer Summary Report
UPDTMP8(RCRCVD,RCMP,RCCLAIM,RCSUMFLG,RCPAYER,RCEOB) ;
; RCRCVD - Date 835 is received.
; RCMP - Is this a (P)harmacy or (M)edical
; RCCLAIM - The IEN for the Bill/Claim
; RCSUMFLG - If this flag is 1, add payer level entry for the Payer Summary report, otherwise send 0 for Grand Total only
; RCPAYER - Payer for the claim (if generating a Payer Summary Report
; RCEOB - EOB IEN for the 361.1 file.
GETNCPDP(RCSDATE,RCEDATE,RCSUMFLG) ;
GETECME(RCIEN) ;
; Used by:
; Routine RCDPENR1
; Routine PRCABJ1
SAVEDATA(RCDATA,IEN) ;
INITARCH(RPT) ;
REPRINT(RCHDR,RCDATA) ;

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Task number "_ZTSK_" has been queued."
  • Line Location: AUTO+17
Function Call: WRITE
  • Prompt: !!,"Unable to queue this job."
  • Line Location: AUTO+18
Function Call: WRITE
  • Prompt: !!,"There was no data available for the requested report. Please try again."
  • Line Location: REPORT+21
Function Call: WRITE
  • Prompt: !,$$ENDORPRT^RCDPEARL
  • Line Location: PRINT+35
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINT+36
Function Call: WRITE
  • Prompt: @IOF,?15,"EDI VOLUME STATISTICS REPORT"
  • Line Location: RPTHDR+3
Function Call: WRITE
  • Prompt: ?70,"PAGE ",$J(RCPAGE,3),!
  • Line Location: RPTHDR+4
Function Call: WRITE
  • Prompt: ?5,RCDIVTXT,?41,RCPYRTXT,!
  • Line Location: RPTHDR+5
Function Call: WRITE
  • Prompt: ?5,RCDATE,?52,"RUN DATE: ",RCRUNDT,!
  • Line Location: RPTHDR+6
Function Call: WRITE
  • Prompt: RCLINE,!
  • Line Location: RPTHDR+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IBM(361.1 - [#361.1] GET1^DIQ
^IBA(364.1 - [#364.1] GET1^DIQ
^DGCR(399 - [#399] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call