RCDPARC ;ALB/TJB - CARC REPORT ON PAYER OR CARC CODE ;9/15/14 3:00pm
Source file <RCDPARC.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| EN | ; Entry point for Report
|
|
| ENQ | ; Queue point for report.
|
|
| REPORT | ; Print out the report
; Set up Division Header Text and CARC Header Text |
|
| ARCQ | ; Clean-up and quit
|
|
| PRTREP(DATA,SUMM,SORT,CD,RA,RCSTOP) | ; Print report data out of the "REPORT" subarray
; Input: DATA - Compiled report data in ^TMP("RCDPARC_REPORT",$J) ; SUM - Compiled grand totals in ^TMP("RCDPARC_REPORT",$J,"~~SUM") ; SORT - Selected Sort Option ; CD - 'D' - Detail report, 'S' - Summary report ; RA - Always 0 for now to not display CARCS on report ; Output: RCSTOP - 1 if user quit out of the display, 0 otherwise |
|
| DETAIL(DATA,L1,L2,RCSL,DSTOP) | ; Print detail information for this entry
|
|
| HDR(CD,RA) | ; Report header
|
|
| HDRP(Z,X,Z1) | ; Print Header (Z=String, X=1 (line feed) X=0 (no LF), Z1 (page number right justified)
|
|
| NEWPG(RCPG,RCNEW,RCSL,CD,RA) | ; Check for new page needed, output header
; RCPG = Page number passwd by referece ; RCNEW = 1 to force new page ; RCSL = page length passed by reference ; Function returns 1 if user chooses to stop output |
|
| CARC | ;
|
|
| GETDATA(GCARC,GPAYER,GTIN,GSORT,GRARC,GSTART,GSTOP,GARRAY,GDIV) | ;
; Input: GCCARC - Range of CARC codes to include ; GPAYER - Range of payers to include ; GTIN - Range of TINs to include ; GSORT - Sort order ; GRARC - Flag to display RARC codes on the report (0 = No) ; GSTART - Start date ; GSTOP - End date ; GARRAY - Root of the array in which to store the output data ; GDIV - Range of Divisions to include ; Output: @GARRAY("BILLS",IEN,0)=A1^A2^A3^A4^A5^A6^A7 ; A1=Pointer to BILL/CLAIM file (#399) ; A2=Bill Number ; A3=Pointer to patient file (#2) ; A4=Payer Name from EOB, pointer to Insurance file (#36) ; A5=TIN from EOB ; A6=Total Charges ; A7=Paid amount |
| 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 |
|
| FileNo | Call Tags |
|---|---|
| ^IBM(361.1 - [#361.1] | GET1^DIQ, GETS^DIQ |
| ^DGCR(399 - [#399] | GET1^DIQ |