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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: IVMCQ2

Package: Income Verification Match

Routine: IVMCQ2


Information

IVMCQ2 ;ALB/KCL - API FOR FINANCIAL QUERIES (continued) ; 27-APR-95

Source Information

Source file <IVMCQ2.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 4 NOW^%DTC  ^DIE  ^DIK  $$EXTERNAL^DILFD  
Income Verification Match 3 $$NEED^IVMCQ  $$QUERY^IVMCQ1  $$GETPAT^IVMUFNC  
Kernel 2 ^%ZTLOAD  $$FMADD^XLFDT  
MailMan 1 ^XMD  

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
Income Verification Match 7 IVM FINANCIAL QUERY FOR ADMISSION  IVMCM  IVMCMC  IVMCQ  IVMCQ1  IVMPTRN  IVMPXFR  
Registration 3 DGMTCOR  DGMTR  DGMTU  
Enrollment Application System 1 EASCM  

Entry Points

Name Comments DBIA/ICR reference
MONITOR ; Description: This entry point is used to monitor the IVM FINANCIAL
; QUERY LOG file and check for query transmissions that have not been
; responded to for more than 2 days. If a query is > 2 days old, the
; corresponding entry in the IVM FINANCIAL QUERY LOG file will be
; updated/closed and a new financial query may be sent.
FIND(DFN,IVMMSG,IVMRECD,IVMCR,IVMCS) ; Description: Used to find and update
; entry in IVM FINANCIAL QUERY LOG file.
FINDQ
UPD(DFN,IVMDA,IVMRECD,IVMCR,IVMCS) ; Description: Used to update record found in IVM FINANCIAL QUERY LOG file.
UPDQ
FINDMSG(MSGID) ;
; Description: Used to find a record in the IVM FINANCIAL QUERY LOG
; file, given the unique message id assigned to the query by the
; HL7 package.
GET(IEN,IVMQRY) ;
; Description: Used to obtain a record in the IVM FINANCIAL QUERY LOG
; file. The values are returned in the IVMQRY() array.
DELETE(IEN) ;
; Description: Delete record in the IVM FINANCIAL QUERY LOG file,
; given the internal entry number (IEN).
LASTQRY(DFN) ; Description: Used to find the last financial query for a patient.
OPEN(DFN) ; Description: Used to determine if a patient has a financial query that is open (QUERY STATUS=TRANSMITTED).
SENT(DFN,IVMDT) ; Description: Used to determine if a query was sent for a patien on a specific date.
SENTQ
QRYQUE(DFN) ; Description: Queue off job to send a financial query to the
; the HEC. This does first check to see if a query is needed.
QRYQUE2(DFN,DUZ,NOTIFY,OPTION) ; Description: Queue off job to send a financial query to the
; the HEC. This version does NOT first check to see if a query is
; needed, but does check to see if a query is currently open.
QUERY(DFN) ; Description: Determine if a financial query should be sent to the HEC.
NOTIFY(QRYIEN) ; Description: Send notification message of reply received for financial query.
MSGQ

External References

Name Field # of Occurrence
NOW^%DTC MONITOR+18
^%ZTLOAD QRYQUE+14, QRYQUE2+18
^DIE UPD+17
^DIK DELETE+14
$$EXTERNAL^DILFD NOTIFY+33, NOTIFY+34, NOTIFY+36, NOTIFY+37
$$NEED^IVMCQ MONITOR+21, QUERY+9
$$QUERY^IVMCQ1 MONITOR+24, QUERY+12
$$GETPAT^IVMUFNC NOTIFY+21
$$FMADD^XLFDT MONITOR+15
^XMD NOTIFY+39

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IVM(301.62 - [#301.62] Classic Fileman Calls,  EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^IVM(301.62 - [#301.62] MONITOR+9, FIND+14, FIND+15, FINDMSG+15, GET+26, GET+38, LASTQRY+11, LASTQRY+13
^IVM(301.94 - [#301.94] UPD+13
^XMB("NETNAME" NOTIFY+25

Label References

Name Line Occurrences
$$GET MONITOR+12, OPEN+11, SENT+15, NOTIFY+15
$$LASTQRY OPEN+10, SENT+14
$$NOTIFY UPD+20
FINDQ FIND+12, UPD+11
MSGQ NOTIFY+12, NOTIFY+15, NOTIFY+18, NOTIFY+21
SENTQ SENT+12
UPD MONITOR+18, FIND+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% MONITOR+6~, MONITOR+18
DA UPD+12~, UPD+14*, DELETE+11~, DELETE+13*
DFN FIND~, FIND+12, FIND+14, FIND+17, UPD~, UPD+11, LASTQRY~, LASTQRY+9, LASTQRY+11, LASTQRY+13
, OPEN~, OPEN+10, SENT~, SENT+12, SENT+14, QRYQUE~, QRYQUE2~, QUERY~, QUERY+8, QUERY+9
, QUERY+12
DIE UPD+12~, UPD+14*
DIFROM NOTIFY+8~
DIK DELETE+11~, DELETE+12*
DR UPD+12~, UPD+15*, UPD+16*
DT MONITOR+15, SENT+13
DUZ QRYQUE2~
IEN GET~, GET+24, GET+26, GET+38, DELETE~, DELETE+10, DELETE+13
IVM FIND+13~, FIND+14*, FIND+15, FIND+17
IVMCR FIND~, FIND+12, FIND+17, UPD~, UPD+11, UPD+13
IVMCRP UPD+12~, UPD+13*, UPD+16
IVMCS FIND~, FIND+12, FIND+17, UPD~, UPD+11, UPD+16
IVMD FIND+13~, FIND+15*, FIND+16
IVMDA UPD~, UPD+11, UPD+14, UPD+20
IVMDT SENT~, SENT+13
IVMIDT SENT+9~, SENT+13*, SENT+16
IVMIEN OPEN+8~, OPEN+10*, OPEN+11, SENT+9~, SENT+14*, SENT+15
IVMLDT SENT+9~
IVMMSG FIND~, FIND+16
IVMNODE GET+22~, GET+26*, GET+27, GET+29, GET+30, GET+31, GET+32, GET+33, GET+34, GET+35
, GET+36, GET+38*, GET+39, GET+40, GET+41
IVMOPT UPD+12~
IVMQLOG MONITOR+6~, MONITOR+12
IVMQLOG("DFN" MONITOR+18, MONITOR+21, MONITOR+24
IVMQLOG("NOTIFY" MONITOR+24
IVMQLOG("OPTION" MONITOR+24
IVMQLOG("SENT" MONITOR+15
IVMQLOG("TRANBY" MONITOR+24
IVMQRY GET~, GET+23!*, OPEN+8~, OPEN+11, SENT+9~, SENT+15
IVMQRY("CLOSU RE RSN" , GET+39*, RE SRC" , GET+41*
IVMQRY("CLOSURE" GET+40*
IVMQRY("DFN" GET+29*
IVMQRY("MSGID" GET+33*
IVMQRY("NOTIFY" GET+36*
IVMQRY("OPTION" GET+35*
IVMQRY("RESPONSE" GET+34*
IVMQRY("SENT" GET+30*, SENT+16
IVMQRY("STATUS" GET+31*, OPEN+12
IVMQRY("TRANBY" GET+32*
IVMRECD FIND~, FIND+17, UPD~, UPD+15
IVMTEXT NOTIFY+8~
IVMTEXT(1 NOTIFY+28*
IVMTEXT(10 NOTIFY+37*
IVMTEXT(2 NOTIFY+29*
IVMTEXT(3 NOTIFY+30*
IVMTEXT(4 NOTIFY+31*
IVMTEXT(5 NOTIFY+32*
IVMTEXT(6 NOTIFY+33*
IVMTEXT(7 NOTIFY+34*
IVMTEXT(8 NOTIFY+35*
IVMTEXT(9 NOTIFY+36*
MSGID FINDMSG~, FINDMSG+14, FINDMSG+15
NOTIFY QRYQUE2~
OPEN OPEN+8~, OPEN+9*, OPEN+12*, OPEN+13
OPTION QRYQUE2~
PATIENT NOTIFY+8~, NOTIFY+21
PATIENT("NAME" NOTIFY+26, NOTIFY+30
PATIENT("SSN" NOTIFY+26, NOTIFY+31
QARRAY NOTIFY+8~, NOTIFY+15
QARRAY("CLOSU RE RSN" , NOTIFY+36, RE SRC" , NOTIFY+37
QARRAY("DFN" NOTIFY+21
QARRAY("NOTIFY" NOTIFY+18
QARRAY("RESPONSE" NOTIFY+34
QARRAY("SENT" NOTIFY+33
QARRAY("TRANBY" NOTIFY+25
QRYDT LASTQRY+10~, LASTQRY+11*, LASTQRY+12, LASTQRY+13
QRYIEN MONITOR+6~, MONITOR+9*, MONITOR+12, MONITOR+18, NOTIFY~, NOTIFY+12, NOTIFY+15
SAMEDAY SENT+9~, SENT+11*, SENT+16*, SENTQ
SUCCESS NOTIFY+8~, NOTIFY+10*, NOTIFY+41*, MSGQ
XMDUZ NOTIFY+8~, NOTIFY+24*
XMSUB NOTIFY+8~, NOTIFY+26*
XMTEXT NOTIFY+8~, NOTIFY+27*
XMY NOTIFY+8~
XMY( NOTIFY+25*
XMZ NOTIFY+8~
ZTDESC QRYQUE+8~, QRYQUE+9*, QRYQUE2+12~, QRYQUE2+13*
ZTDTH QRYQUE+8~, QRYQUE+10*, QRYQUE2+12~, QRYQUE2+14*
ZTIO QRYQUE+8~, QRYQUE+13*, QRYQUE2+12~, QRYQUE2+17*
ZTRTN QRYQUE+8~, QRYQUE+11*, QRYQUE2+12~, QRYQUE2+15*
ZTSAVE QRYQUE+8~, QRYQUE2+12~
ZTSAVE("DFN" QRYQUE+12*, QRYQUE2+16*
ZTSAVE("DUZ" QRYQUE2+16*
ZTSAVE("NOTIFY" QRYQUE2+16*
ZTSAVE("OPTION" QRYQUE2+16*
ZTSK QRYQUE+8~, QRYQUE2+12~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All