RCBEPAYF ;WISC/RFJ-first party payment processing(called by rcbepay) ;1 Jun 00
Source file <RCBEPAYF.m>
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 |
Package | Total | Caller Graph |
---|---|---|
Accounts Receivable | 1 | RCBEPAY |
Name | Comments | DBIA/ICR reference |
---|---|---|
FIRSTPTY() | ; apply payment to first party account
; called by rcbepay |
|
PROC | ;
; loop all the bills for a patients account and keep looping them ; until either there is no more bills or the money paid is zero. ; the bills are looped in case of repayments. if there is money ; left over, this will apply more money to the repayment bills ; instead of creating a prepayment. a prepayment should only be ; created if all bills for the account is collected/closed. |
|
CS5B(RCBILLDA) | ; logs ADJ for 5B CS reporting if Cross-Serviced bill ; prca*4.5*301 ; LEG
; Changed description from DEC ADJ to ADJ since increase adjustments will also use this code 315/DRF ; note: can use either I +$G(^PRCA(430,RCBILLDA,15)) D ; bill is Cross-Serviced |
FileNo | Call Tags |
---|---|
^PRCA(430 - [#430] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD(430 | CS5B+18 |
^PRCA(430 - [#430] | FIRSTPTY+7, FIRSTPTY+21, FIRSTPTY+23, FIRSTPTY+29, FIRSTPTY+31, FIRSTPTY+32, FIRSTPTY+33, FIRSTPTY+35, PROC+15, PROC+16 , PROC+23, PROC+26, PROC+31, PROC+46, PROC+55, PROC+56, PROC+61, PROC+66*!, PROC+68, CS5B+3 , CS5B+8, CS5B+9 |
^PRCA(433 - [#433] | PROC+49, PROC+52 |
^RCD(340 - [#340] | FIRSTPTY+17, PROC+73, PROC+76, PROC+89 |
^RCY(344 - [#344] | PROC+80 |
^TMP("RCBEPAY" | FIRSTPTY+3!, FIRSTPTY+30*, FIRSTPTY+31*, FIRSTPTY+32*, FIRSTPTY+34*, FIRSTPTY+35*, PROC+10, PROC+13, PROC+14, PROC+32! , PROC+65!, PROC+70! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | PROC+79~ |
%H | PROC+79~ |
%I | PROC+79~ |
%X | PROC+79~ |
CSBILL | FIRSTPTY+2~, FIRSTPTY+5*, FIRSTPTY+7 |
CSBILLDA | FIRSTPTY+2~, FIRSTPTY+5*, FIRSTPTY+7*, FIRSTPTY+8*, FIRSTPTY+30, FIRSTPTY+34, PROC+56, PROC+66 |
CSDEP | FIRSTPTY+2~, FIRSTPTY+5*, FIRSTPTY+6*, FIRSTPTY+7, FIRSTPTY+9, FIRSTPTY+28, FIRSTPTY+33, PROC+23, PROC+55, PROC+56 |
D | PROC+79~ |
D0 | PROC+79~ |
DA | CS5B+13!, CS5B+22* |
DA(1 | CS5B+15*, CS5B+16 |
DD | CS5B+13! |
DFN | PROC+79~ |
DI | PROC+79~ |
DIC | PROC+79~, CS5B+5*, CS5B+13!, CS5B+16*, CS5B+21! |
DIC("DR" | CS5B+24* |
DIC("P" | CS5B+18* |
DIC(0 | CS5B+5*, CS5B+17* |
DICR | PROC+79~ |
DIE | CS5B+13!, CS5B+21* |
DIG | PROC+79~ |
DIH | PROC+79~ |
DIU | PROC+79~ |
DIV | PROC+79~ |
DIW | PROC+79~ |
DO | CS5B+13! |
DQ | PROC+79~ |
DR | CS5B+13!, CS5B+23*, CS5B+24 |
DUZ | PROC+80 |
I | PROC+79~ |
IDX | FIRSTPTY+2~, CS5B+7*, CS5B+8*, CS5B+9 |
PAYMENT | FIRSTPTY+2~, PROC+38*, PROC+39*, PROC+40*, PROC+41*, PROC+45 |
PRCA | PROC+79~ |
PREV | FIRSTPTY+2~, CS5B+7*, CS5B+9*, CS5B+10 |
>> RCACCT | FIRSTPTY+13, FIRSTPTY+14, PROC+80 |
>> RCBETYPE | FIRSTPTY+9* |
RCBILBAL | FIRSTPTY+2~, PROC+27*, PROC+29, PROC+39, PROC+40, PROC+62*, PROC+63 |
RCBILLDA | FIRSTPTY+2~, FIRSTPTY+21*, FIRSTPTY+23, FIRSTPTY+29, FIRSTPTY+30, FIRSTPTY+31, FIRSTPTY+32, FIRSTPTY+33, FIRSTPTY+34, FIRSTPTY+35 , PROC+14*, PROC+15, PROC+16, PROC+20, PROC+23, PROC+26, PROC+30, PROC+31, PROC+32, PROC+45 , PROC+46, PROC+55, PROC+56, PROC+61, PROC+64, PROC+65, PROC+66, PROC+68, CS5B~, CS5B+3 , CS5B+5, CS5B+8, CS5B+9, CS5B+15 |
>> RCDATA | FIRSTPTY+5, FIRSTPTY+8 |
RCDATE | FIRSTPTY+2~, PROC+13*, PROC+14, PROC+32, PROC+65 |
RCDEBTDA | FIRSTPTY+2~, FIRSTPTY+13*, FIRSTPTY+14, FIRSTPTY+17, FIRSTPTY+21, PROC+73, PROC+76, PROC+89 |
RCERROR | FIRSTPTY+2~, PROC+7*, PROC+10, PROC+13, PROC+14, PROC+16*, PROC+46*, PROC+73, PROC+80, PROC+82 , PROC+83*, PROC+87*, PROC+90 |
>> RCPAYAMT | PROC+10, PROC+13, PROC+14, PROC+38, PROC+41, PROC+49*, PROC+76, PROC+80, PROC+85 |
>> RCPAYDA | PROC+45, PROC+52, PROC+85 |
>> RCPAYDAT | PROC+20, PROC+45, PROC+80 |
>> RCRECTDA | PROC+45, PROC+52, PROC+80, PROC+85 |
RCREF | PROC+79~ |
RCREPAMT | FIRSTPTY+2~, PROC+23*, PROC+40 |
RCSTATUS | FIRSTPTY+2~, FIRSTPTY+21* |
RCTRANDA | FIRSTPTY+2~, PROC+45*, PROC+46, PROC+49, PROC+52, CS5B+9, CS5B+14 |
VA | PROC+79~ |
VADM | PROC+79~ |
X | FIRSTPTY+2~, PROC+26*, PROC+27, PROC+61*, PROC+62, CS5B+5*, CS5B+14* |
>> Y | CS5B+22 |