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

Package: Master Patient Index VistA

Routine: MPIFBT2


Information

MPIFBT2 ;SLC/ARS-BATCH RESPONSE FROM MPI ;FEB 4, 1997

Source Information

Source file <MPIFBT2.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Master Patient Index VistA 2 (MULT,VFYRDT)^MPIFBT3  A28^MPIFQ3  
Registration 2 XMITFLAG^VAFCDD01  $$PIVNW^VAFHPIVT  
VA FileMan 2 (C,NOW)^%DTC  FILE^DICN  
Clinical Information Resource Network 1 (EXC,START,STOP)^RGHLLOG  
Kernel 1 $$LKUP^XUAF4  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Master Patient Index VistA 2 MPIF ICN-Q02 SERVER  MPIF-STARTUP  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
PROCESS(MPIMSG) ;Process mesage out of array
LOOPS(CNTR,SEP,MPIMSG) ;Loop in the batch
PREPMSG ;prepare for response
ADDPAT ;Called when response from MPI is received for messages sent.
CHDR(HDR,SEP,CNTR,MPIMSG) ;Only process Batch message responses
CHKMSH(MSHDR,SITE,SEP,MPIMSG) ;VERIFY MSH
TFUPDT(PATID,MPIMSG,CNTR) ;treating facility update message to pivot file
TFLIST(TFSITE,PATID) ;adding TFSITE site for patient to Treating Facility List (#391.91)

External References

Name Field # of Occurrence
C^%DTC ADDPAT+1
NOW^%DTC ADDPAT+1, TFUPDT+2
FILE^DICN TFLIST+9
MULT^MPIFBT3 LOOPS+57
VFYRDT^MPIFBT3 LOOPS+53
A28^MPIFQ3 LOOPS+21
EXC^RGHLLOG LOOPS+7, LOOPS+9, LOOPS+11, LOOPS+16, LOOPS+34, LOOPS+39, LOOPS+44, TFLIST+1, TFLIST+6, TFLIST+10
, TFUPDT+4, CHDR+1, CHDR+4, CHKMSH+4, CHKMSH+8
START^RGHLLOG ADDPAT+4
STOP^RGHLLOG ADDPAT+5
XMITFLAG^VAFCDD01 TFUPDT+6
$$PIVNW^VAFHPIVT TFUPDT+3
$$LKUP^XUAF4 TFLIST+2

Used in HL7 Interface

HL7 Protocol Name Call Tags
MPIF ICN-Q02 SERVER ADDPAT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DGCN(391.91 - [#391.91] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGCN(391.91 - [#391.91] TFLIST+4, TFLIST+5, TFLIST+8, TFLIST+9, TFLIST+10
^DPT - [#2] LOOPS+33
^XTMP($J ADDPAT+1!, ADDPAT+2*, ADDPAT+7!, PREPMSG+2*, PREPMSG+3*, PROCESS+1, PROCESS+3, PROCESS+4, LOOPS+1!, LOOPS+2
, LOOPS+4, LOOPS+5, LOOPS+6, LOOPS+7*, LOOPS+8, LOOPS+9*, LOOPS+10, LOOPS+11*, LOOPS+13, LOOPS+14
, LOOPS+15, LOOPS+16*, LOOPS+17, LOOPS+19*, LOOPS+30, LOOPS+32, LOOPS+34*, LOOPS+35, LOOPS+37, LOOPS+38
, LOOPS+39*, LOOPS+40, LOOPS+41, LOOPS+43, LOOPS+44*, LOOPS+47, LOOPS+48, LOOPS+49, LOOPS+50, LOOPS+51
, LOOPS+54, LOOPS+56, TFLIST+1*, TFLIST+10*, CHDR+1*, CHDR+2, CHDR+4*, CHKMSH+1*, CHKMSH+2*, CHKMSH+3*
, CHKMSH+4, CHKMSH+5, CHKMSH+7*, CHKMSH+8

Label References

Name Line Occurrences
CHDR PROCESS+2
CHKMSH LOOPS+3
LOOPS PROCESS+4
PREPMSG ADDPAT+5
PROCESS ADDPAT+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ADDPAT+1, ADDPAT+3!, TFUPDT+1~, TFUPDT+2!
ACK1 ADDPAT+6!, LOOPS+1~, LOOPS+6*, LOOPS+7, LOOPS+9, LOOPS+11
ACK2 ADDPAT+6!, LOOPS+1~, LOOPS+15*, LOOPS+16, LOOPS+18, LOOPS+21, LOOPS+33
ACK3 ADDPAT+6!, LOOPS+1~, LOOPS+38*, LOOPS+39
ACK4 ADDPAT+6!, LOOPS+1~, LOOPS+53
ACK4( LOOPS+43*, LOOPS+44, LOOPS+48*
ACK5 LOOPS+1~, LOOPS+56*, LOOPS+57
CNTR ADDPAT+7!, LOOPS~, LOOPS+2, LOOPS+5*, LOOPS+6, LOOPS+7, LOOPS+9, LOOPS+11, LOOPS+14*, LOOPS+15
, LOOPS+16, LOOPS+30*, LOOPS+31*, LOOPS+34, LOOPS+35*, LOOPS+38, LOOPS+39, LOOPS+41*, LOOPS+43, LOOPS+44
, LOOPS+47, LOOPS+48, LOOPS+50, LOOPS+51*, LOOPS+52, LOOPS+53, LOOPS+54, LOOPS+57, TFUPDT~, TFUPDT+4
, CHDR~
COM ADDPAT+7!
DA ADDPAT+6!
DD TFLIST+5!, TFLIST+11!
DGSENFLG ADDPAT+7!
DIC TFLIST+5~, TFLIST+7*, TFLIST+11!
DIC("DR" TFLIST+7*
DIC(0 TFLIST+7*
DO TFLIST+5!, TFLIST+11!
ENC ADDPAT+7!
ERR TFUPDT+1~, TFUPDT+3*, TFUPDT+4, TFUPDT+5, TFUPDT+6
ESC ADDPAT+7!
EVDT TFUPDT+1~, TFUPDT+2*, TFUPDT+3
HDR ADDPAT+6!, PROCESS+1~*, PROCESS+2, CHDR~, CHDR+1
>> HL("FS" CHDR+3
>> HLMTIEN ADDPAT+3, ADDPAT+4
>> HLNEXT PREPMSG+1
>> HLNODE PREPMSG+2
>> HLNODE( PREPMSG+3
>> HLQUIT PREPMSG+1
I PREPMSG+1~*, PREPMSG+2, PREPMSG+3
J PREPMSG+1~, PREPMSG+2*, PREPMSG+3*
LICN LOOPS+1~
LOCAL ADDPAT+7!, LOOPS+1~, LOOPS+33*, LOOPS+34
MPICKG ADDPAT+6!
MPICNTR ADDPAT+7!, PROCESS+1~*, PROCESS+2, PROCESS+4*
MPIDTH ADDPAT+7!
MPIFOK ADDPAT+7!
MPIFRPC LOOPS+21*!
MPIIN ADDPAT+6!
MPIIPPF ADDPAT+6!
MPIIT ADDPAT+6!
MPIMSG ADDPAT+3~*, ADDPAT+5, PROCESS~, PROCESS+2, PROCESS+4, LOOPS~, LOOPS+3, LOOPS+7, LOOPS+9, LOOPS+11
, LOOPS+16, LOOPS+34, LOOPS+39, LOOPS+44, LOOPS+53, LOOPS+57, TFUPDT~, TFUPDT+4, CHDR~, CHDR+1
, CHKMSH~, CHKMSH+2, CHKMSH+3, CHKMSH+8
MPINUM ADDPAT+6!
MPIPPF ADDPAT+6!
MPITMP ADDPAT+7!, LOOPS+1~, LOOPS+50*, LOOPS+51, LOOPS+54*, LOOPS+55, LOOPS+56
MSHDR ADDPAT+7!, LOOPS+1~, LOOPS+2*, LOOPS+3, CHKMSH~, CHKMSH+1, CHKMSH+2, CHKMSH+3, CHKMSH+6
PATID ADDPAT+7!, LOOPS+1~, LOOPS+33*, LOOPS+34, LOOPS+39, LOOPS+44, LOOPS+53, LOOPS+57, TFLIST~, TFLIST+1
, TFLIST+4, TFLIST+6, TFLIST+7, TFLIST+8, TFLIST+10, TFUPDT~, TFUPDT+3, TFUPDT+4
RDTSEQ LOOPS+42*, LOOPS+43, LOOPS+44, LOOPS+48*, LOOPS+58!
RDTSQ LOOPS+46~*, LOOPS+47*, LOOPS+48
REP ADDPAT+7!
RGLOG ADDPAT+3~
SCOM ADDPAT+7!
SEP ADDPAT+7!, PROCESS+2, PROCESS+4, LOOPS~, LOOPS+3, LOOPS+7, LOOPS+16, LOOPS+21, LOOPS+31, LOOPS+33
, LOOPS+39, LOOPS+44, LOOPS+53, LOOPS+57, CHDR~, CHDR+3*, CHDR+4, CHKMSH~, CHKMSH+1, CHKMSH+2
, CHKMSH+3, CHKMSH+6
SITE ADDPAT+7!, LOOPS+3, LOOPS+53, CHKMSH~, CHKMSH+6*, CHKMSH+7
ST ADDPAT+1*, ADDPAT+2, ADDPAT+3!
STP ADDPAT+2*, ADDPAT+3!
TACK LOOPS+30~*, LOOPS+31
TCNTR LOOPS+30~*, LOOPS+31
TFSITE TFLIST~, TFLIST+1, TFLIST+2*, TFLIST+3, TFLIST+4, TFLIST+6, TFLIST+7, TFLIST+8, TFLIST+10
TRANS TFUPDT+1~
VISTDTH ADDPAT+7!
X ADDPAT+2, ADDPAT+3!, PREPMSG+1~, TFLIST+5~, TFLIST+7*, TFLIST+11!, TFUPDT+1~, TFUPDT+2!
X1 ADDPAT+1*, ADDPAT+3!
X2 ADDPAT+1*, ADDPAT+3!
Y ADDPAT+3!, TFLIST+5~, TFLIST+10, TFLIST+11!, TFUPDT+1~, TFUPDT+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All