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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: AGCMATCH

Package: IHS Patient Registration

Routine: AGCMATCH


Information

AGCMATCH ; IHS/ASDS/SDH-Patient Registration ;

Source Information

Source file <AGCMATCH.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
IHS Patient Registration 2 (CTR,RTRN)^AG  $$S^AGVDF  
Kernel 2 ^%ZIS  ^%ZISC  
VA Fileman 2 (NOW,YX)^%DTC  ^DIR  

Entry Points

Name Comments DBIA/ICR reference
WRITE ;writes record to temp global if condition is met. Also checks
ERRCHK ;if more than one error sets priority error
SAVE ;
AGCHECK ;
HDR ;

External References

Name Field # of Occurrence
NOW^%DTC HDR+2
YX^%DTC HDR+3
^%ZIS AGCMATCH+22
^%ZISC AGCMATCH+65
CTR^AG HDR+7, HDR+10
RTRN^AG WRITE+24
$$S^AGVDF HDR+5
^DIR AGCMATCH+19, WRITE+34

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"WARNING: "
  • Line Location: AGCMATCH+9
Function Call: WRITE
  • Prompt: !,"COMPLETE REPORT COULD BE LARGE DEPENDING ON THE SIZE OF YOUR FACILITY!!"
  • Line Location: AGCMATCH+10
Function Call: WRITE
  • Prompt: !,"It is recommended that Medical Records Staff print this report to a capture file on a PC, and not to a printer!"
  • Line Location: AGCMATCH+11
Function Call: WRITE
  • Prompt: !,"Please see the release notes for patch 13 and consult your Site Manager for assistance in printing to a capture file."
  • Line Location: AGCMATCH+12
Function Call: WRITE
  • Prompt: !,"BLANK CITY/COMMUNITY",!
  • Line Location: WRITE+6
Function Call: WRITE
  • Prompt: !,"UNKNOWN/OTHER",!
  • Line Location: WRITE+7
Function Call: WRITE
  • Prompt: !,"MISMATCHES",!
  • Line Location: WRITE+8
Function Call: WRITE
  • Prompt: "-"
  • Line Location: WRITE+28
Function Call: WRITE
  • Prompt: !!,"*** END OF REPORT ***",!!
  • Line Location: WRITE+30
Function Call: WRITE
  • Prompt: $$S^AGVDF("IOF")
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,X
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: !,X
  • Line Location: HDR+11
Function Call: WRITE
  • Prompt: !!?3,"NAME",?26,"A/I",?31,"HRN",?40,"MAIL.ADDR-CITY",?60,"CURRENT COMM",!
  • Line Location: HDR+26
Function Call: WRITE
  • Prompt: "="
  • Line Location: HDR+27
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+28
Routine Call
  • DIR
  • Line Location:
    • AGCMATCH+19
    • WRITE+34
Routine Call
  • %ZIS
  • Line Location:
    • AGCMATCH+22

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AGTMP($J SAVE+7*, WRITE+5, WRITE+9, WRITE+10, WRITE+11, WRITE+12, WRITE+13, WRITE+35!
^AUPNPAT - [#9000001] AGCMATCH+42, SAVE+2, AGCHECK+4, AGCHECK+5
^AUTTLOC - [#9999999.06] HDR+9
^DPT - [#2] AGCMATCH+40, AGCMATCH+43, SAVE+3
^DPT("B" AGCMATCH+32, AGCMATCH+34

Label References

Name Line Occurrences
AGCHECK AGCMATCH+37
ERRCHK AGCMATCH+49
HDR WRITE+3, WRITE+26
SAVE AGCMATCH+50, AGCMATCH+53, AGCMATCH+57, AGCMATCH+63
WRITE AGCMATCH+64

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AG HDR+27*
>> AG1 AGCMATCH+29*, AGCMATCH+32*, AGCMATCH+34, AGCMATCH+41
AG2 AGCMATCH+33*, AGCMATCH+34*, AGCMATCH+40, AGCMATCH+42, AGCMATCH+43, AGCMATCH+66!, SAVE+2, SAVE+3, AGCHECK+4, AGCHECK+5
>> AGADD SAVE+4*, SAVE+5*, SAVE+7, WRITE+4*, WRITE+10*, WRITE+11, WRITE+12, WRITE+13, WRITE+18
AGADDR AGCMATCH+26~, AGCMATCH+43*, AGCMATCH+45, AGCMATCH+46, AGCMATCH+47, AGCMATCH+48, AGCMATCH+51, AGCMATCH+55, AGCMATCH+60, AGCMATCH+61
, AGCMATCH+62, AGCMATCH+66!, ERRCHK+1, ERRCHK+2, ERRCHK+3, SAVE+7, WRITE+4*, WRITE+14*, WRITE+20
>> AGALL AGCMATCH+7*, AGCMATCH+21*, AGCMATCH+44, AGCMATCH+51, AGCMATCH+55, AGCMATCH+59, HDR+12*, HDR+13*, HDR+16, HDR+19
, HDR+22
>> AGBM AGCMATCH+24*, WRITE+23
AGCNT AGCMATCH+26~
AGCNT1 AGCMATCH+8*, AGCMATCH+67!, SAVE+8*, HDR+17, HDR+18
AGCNT2 AGCMATCH+8*, AGCMATCH+67!, SAVE+9*, HDR+20, HDR+21
AGCNT3 AGCMATCH+8*, AGCMATCH+67!, SAVE+10*, HDR+23, HDR+24
>> AGCOM WRITE+4*, WRITE+9*, WRITE+10, WRITE+11, WRITE+12, WRITE+13, WRITE+15, WRITE+16
AGCOMM AGCMATCH+42*, AGCMATCH+45, AGCMATCH+46, AGCMATCH+47, AGCMATCH+48, AGCMATCH+51, AGCMATCH+55, AGCMATCH+60, AGCMATCH+61, AGCMATCH+62
, AGCMATCH+66!, ERRCHK+2, ERRCHK+3, SAVE+6*, SAVE+7, WRITE+15*, WRITE+16*, WRITE+21
>> AGDOD SAVE+3*, SAVE+4
>> AGDUZ2 SAVE+2, AGCHECK+3*, AGCHECK+4*, AGCHECK+5
>> AGEFLG AGCMATCH+36*, AGCMATCH+46*, AGCMATCH+47*, AGCMATCH+48*, AGCMATCH+49
>> AGER WRITE+4*, WRITE+5*, WRITE+6, WRITE+7, WRITE+8, WRITE+9, WRITE+10, WRITE+11, WRITE+12, WRITE+13
>> AGERROR AGCMATCH+36*, AGCMATCH+46*, AGCMATCH+47*, AGCMATCH+48*, AGCMATCH+52*, AGCMATCH+56*, AGCMATCH+61*, AGCMATCH+62*, ERRCHK+1*, ERRCHK+2*
, ERRCHK+3*, SAVE+7, SAVE+8, SAVE+9, SAVE+10
>> AGFLAG AGCMATCH+39, AGCHECK+2*, AGCHECK+4, AGCHECK+5*
AGFLAG1 AGCMATCH+30*, AGCMATCH+32, AGCMATCH+34, AGCMATCH+66!, WRITE+5, WRITE+9, WRITE+10, WRITE+11, WRITE+12, WRITE+25*
, WRITE+27
>> AGHRN WRITE+4*, WRITE+12*, WRITE+13, WRITE+19
>> AGINACT SAVE+2*, SAVE+4
AGMAIL AGCMATCH+26~
AGNAME AGCMATCH+28*, AGCMATCH+40*, AGCMATCH+41, AGCMATCH+66!, SAVE+7
>> AGNM WRITE+4*, WRITE+11*, WRITE+12, WRITE+13, WRITE+17
AGPAGE AGCMATCH+31*, AGCMATCH+66!, HDR+6, HDR+14, HDR+29*
>> AGREC WRITE+13*, WRITE+14
AGWFLG AGCMATCH+35*, AGCMATCH+66!, SAVE+11*
>> DATE HDR+4*, HDR+6
>> DFOUT WRITE+25
DIR AGCMATCH+19!
DIR("A" AGCMATCH+17*, WRITE+33*
DIR("B" AGCMATCH+18*
DIR(0 AGCMATCH+13*, AGCMATCH+14*, AGCMATCH+15*, AGCMATCH+16*, WRITE+32*
>> DIROUT AGCMATCH+20
>> DIRUT AGCMATCH+20
>> DTOUT AGCMATCH+20, WRITE+25
>> DUOUT WRITE+25
DUZ(2 HDR+9, AGCHECK+5
>> HRN AGCMATCH+38, SAVE+1*, SAVE+7, AGCHECK+5*
IO AGCMATCH+25, WRITE+31
IOSL AGCMATCH+24
>> POP AGCMATCH+23
TOT AGCMATCH+67!, HDR+1*, HDR+18*, HDR+21*, HDR+24*, HDR+25
U AGCMATCH+27*, AGCMATCH+40, AGCMATCH+42, AGCMATCH+43, SAVE+2, SAVE+3, WRITE+14, HDR+9, AGCHECK+5
>> X HDR+6*, HDR+8, HDR+9*, HDR+11
>> Y AGCMATCH+21, HDR+4
>> Z WRITE+28*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All