Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: IBARXMN

Package: Integrated Billing

Routine: IBARXMN


Information

IBARXMN ;LL/ELZ-PHARMCAY COPAY CAP RX PROCESSING ;17-NOV-2000

Source Information

Source file <IBARXMN.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA FileMan 4 IX^DIC  FILE^DICN  ^DIE  (,IX)^DIK  
Integrated Billing 2 ($$NEXTMO,$$PARENT,CAP,FLAG)^IBARXMC  ($$FAC,$$PRIORITY,$$SITE,$$TFL,ADD,UQUERY)^IBARXMU  
Kernel 1 $$NOW^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 11

Package Total Caller Graph
Integrated Billing 11 IBARX  IBARX1  IBARXMB  IBARXMC  IBARXMI  IBARXMQ  IBARXMR  IBARXPFS  
IBECEA22  IBECEA3  IBECEA4  

Entry Points

Name Comments DBIA/ICR reference
TRACK(DFN) ; checks out patient if tracked already
QUERY(DFN,IBDT) ; if there are treating facilities, perform query
ACCT(DFN,IBB,IBU,IBDT,IBS) ; - update amount in patient account
; IBB = amount to be added to pt account (billed)
; IBU = amount to be added to pt account (not billable)
; IBDT = effective date for amount
; IBS = flag, if passed the amounts are totals not to be added to what is already there
UPCHG(IBX,IBU,IBC) ; update a charge (from one that is on hold only)
; IBX = ien in 354.71
; IBU = updated # of units
; IBC = updated charge amount
CLEAN(IBX) ; clean out transmission record
CANCEL(DFN,IBX,IBY,IBR) ; cancel a transaction (flags old one and creates a new one)
; IBX is the ien from 354.71, IBY is the error flag (y) passed by ref
; IBR is optional, it is the reason to cancel
CANQ
ADD(DFN,IBD,IBT,IBPFSS) ; adds a transaction to 354.71
; IBD = data in 354.71 format, if $p(IBD,"^")="" create new number
; IBT = action type pointer (optional, but needed for local site)
; returns ien in 354.71
; IBPFSS optional to indicate came from PFSS system
TRANF(DFN,IBA,IBD,IBT,IBPFSS) ; file transaction data in 354.71
; DFN = patient's dfn
; IBA = ien from file 354.71
; IBD = data in global file format for file 354.71
; piece 2 will be changed to dfn
; pieces 10 and 13 will be resolved
; pieces 14,15 will be created new if they don't exist
; pieces 16,17 will be created new
; piece 18 will be filled if not $g(IBT)=""

External References

Name Field # of Occurrence
IX^DIC TRANF+14
FILE^DICN ACCT+12, ADD+11, ADD+18
^DIE ACCT+19, UPCHG+11, CANCEL+16
^DIK CLEAN+2
IX^DIK TRANF+20
$$NEXTMO^IBARXMC QUERY+11
$$PARENT^IBARXMC TRANF+13
CAP^IBARXMC QUERY+5
FLAG^IBARXMC ACCT+21
$$FAC^IBARXMU CANCEL+21
$$PRIORITY^IBARXMU QUERY+2
$$SITE^IBARXMU CANCEL+21, ADD+13
$$TFL^IBARXMU QUERY+4
ADD^IBARXMU QUERY+3, ADD+8
UQUERY^IBARXMU QUERY+12
$$NOW^XLFDT CANCEL+14, TRANF+16

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This patient has never had billing information tracked before",!,"Now querying other facilities..."
  • Line Location: QUERY+7
Function Call: WRITE
  • Prompt: !,"Now sending query to ",$P(IBT(IBX),"^",2)," ..."
  • Line Location: QUERY+8
Function Call: WRITE
  • Prompt: !,"Updating copay cap account records..."
  • Line Location: UPCHG+5
Function Call: WRITE
  • Prompt: !!,"Unable to update records, entry locked!!"
  • Line Location: UPCHG+10
Routine Call
  • DIC
  • Line Location:
    • TRANF+14
Routine Call
  • DIE
  • Line Location:
    • ACCT+19
    • UPCHG+11
    • CANCEL+16

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IBAM(354.71 - [#354.71] Classic Fileman Calls
^DIC(4 - [#4] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^IBAM(354.7 - [#354.7] TRACK+1, ACCT+11, ACCT+15, ACCT+17, ACCT+19, CANCEL+11
^IBAM(354.71 - [#354.71] UPCHG+6, UPCHG+10, UPCHG+11, CLEAN+2, CANCEL+7, CANCEL+8, CANCEL+15, CANCEL+16, ADD+9, ADD+16
, ADD+17, ADD+18, ADD+19, TRANF+10, TRANF+16, TRANF+18*, TRANF+19*

Label References

Name Line Occurrences
$$ADD QUERY+18, CANCEL+22
ACCT UPCHG+14, ADD+12, ADD+21
CANQ CANCEL+7, CANCEL+15
CLEAN UPCHG+17, CANCEL+17
QUERY TRACK+1
TRANF ADD+12, ADD+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
D TRANF+10~, TRANF+14*
DA QUERY+1~, ACCT+6~, ACCT+11*, ACCT+12*, ACCT+15, UPCHG+4~, UPCHG+9*, UPCHG+10, UPCHG+11, CLEAN+1~
, CLEAN+2*, CANCEL+4~, CANCEL+14*, TRANF+10~, TRANF+20*
DA(1 ACCT+8*, CLEAN+2*
DFN TRACK~, TRACK+1, QUERY~, QUERY+2, QUERY+3, QUERY+4, QUERY+12, QUERY+18, ACCT~, ACCT+8
, ACCT+11, ACCT+12, ACCT+15, ACCT+17, ACCT+18, ACCT+19, ACCT+21, CANCEL~, CANCEL+11, CANCEL+22
, ADD~, ADD+7, ADD+8, ADD+12, ADD+21, TRANF~, TRANF+18
DIC ACCT+6~, ACCT+12*, ADD+6~, ADD+11*, ADD+13*, TRANF+10~, TRANF+14*
DIC(0 ACCT+12*, ADD+11*, ADD+13*, TRANF+14*
DIE QUERY+1~, ACCT+6~, ACCT+18*, UPCHG+4~, UPCHG+9*, CANCEL+4~, CANCEL+14*
DIK CLEAN+1~, CLEAN+2*, TRANF+10~, TRANF+20*
DO ACCT+6~, ADD+13!
DR QUERY+1~, ACCT+6~, ACCT+18*, UPCHG+4~, UPCHG+9*, CANCEL+4~, CANCEL+14*
DT TRACK+1
DUZ CANCEL+14, TRANF+18
IBA QUERY+1~, QUERY+18*, ACCT+6~, ACCT+15*, ACCT+16, CLEAN+1~, CLEAN+2*, ADD+6~, ADD+9*, ADD+11*
, ADD+12, ADD+18*, ADD+21, ADD+24, TRANF~, TRANF+10, TRANF+16, TRANF+18, TRANF+19, TRANF+20
>> IBAMP CANCEL+8*
IBB QUERY+1~, QUERY+2*, QUERY+18*, ACCT~, ACCT+16*
IBC UPCHG~, UPCHG+14
>> IBCAP CANCEL+11*
>> IBCAP( CANCEL+25*
IBD QUERY+1~, QUERY+12, QUERY+15, QUERY+19!, CANCEL+4~, CANCEL+7*, CANCEL+8, CANCEL+11, CANCEL+21*, CANCEL+22
, CANCEL+25, ADD~, ADD+9, ADD+11, ADD+12, ADD+21, TRANF~, TRANF+12, TRANF+13*, TRANF+14
, TRANF+18, TRANF+19
IBD( QUERY+18
IBDT QUERY~, QUERY+5, QUERY+11*, QUERY+12, ACCT~, ACCT+8*, ACCT+11, ACCT+12, ACCT+21
>> IBDUZ TRANF+18
IBFD QUERY+1~, QUERY+5, QUERY+6, QUERY+11
IBN CANCEL+4~, CANCEL+7*, CANCEL+15*, CANCEL+22*, CANQ, ADD+6~, ADD+16*, ADD+17*, ADD+18*, TRANF+10~
, TRANF+16*, TRANF+18
IBO UPCHG+4~, UPCHG+6*, UPCHG+14
IBP QUERY+1~, QUERY+2*, QUERY+3, QUERY+5
IBPAR TRANF+10~, TRANF+13*
IBPFSS ADD~, ADD+21, TRANF~
IBR CANCEL~, CANCEL+14
IBS QUERY+1~, ACCT~, ACCT+16, ADD+6~, ADD+13*, ADD+17, ADD+18, TRANF+15*, TRANF+18
IBT QUERY+1~, QUERY+4*, ADD~, ADD+12, ADD+21, TRANF~, TRANF+18
IBT( QUERY+8, QUERY+18
IBTD QUERY+1~, QUERY+5, QUERY+6, QUERY+11
IBU ACCT~, ACCT+16*, UPCHG~, TRANF+10~, TRANF+16*, TRANF+18
IBX QUERY+1~, QUERY+8*, QUERY+12, QUERY+18, UPCHG~, UPCHG+6, UPCHG+9, UPCHG+17, CLEAN~, CLEAN+2
, CANCEL~, CANCEL+7, CANCEL+14, CANCEL+15, CANCEL+16, CANCEL+17
IBY QUERY+1~, QUERY+5, UPCHG+4~, CANCEL~, CANCEL+15*, CANCEL+22*
IBZ QUERY+1~, QUERY+5, TRANF+10~
X QUERY+1~, QUERY+18*, ACCT+12*, CLEAN+1~, CANCEL+4~, ADD+6~, ADD+11*, ADD+18*, TRANF+10~, TRANF+14*
Y ACCT+6~, ACCT+12, CLEAN+1~, CANCEL+4~, ADD+11, ADD+18, TRANF+10~, TRANF+15
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All