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

Package: IHS Patient Registration

Routine: AGCVT6


Information

AGCVT6 ; IHS/ASDS/EFG - ONE TIME, EXPORT PATIENTS WITH MEDICAID COVERAGE ;

Source Information

Source file <AGCVT6.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 3 ^%ZIS  ^%ZISC  (,KILL)^%ZTLOAD  
VA Fileman 3 ^%DT  ^DIC  WAIT^DICD  
IHS Patient Registration 1 $$S^AGVDF  

Entry Points

Name Comments DBIA/ICR reference
COMMENT ;This routine is a one-time-only run.
END
FACILITY
READ
DEV
START ;EP - TaskMan.
QUE
USER
TEST
ENTRY ;EP
CHKHRN

External References

Name Field # of Occurrence
^%DT START+1
^%ZIS START+2
^%ZISC DEV+1
^%ZTLOAD DEV+1
KILL^%ZTLOAD END
$$S^AGVDF ENTRY+1
^DIC USER, FACILITY
WAIT^DICD START+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"IF YOU ARE SURE YOU WANT TO RUN THIS ROUTINE",!!,"PLEASE ENTER AT 'ENTRY', I.E. 'D ENTRY^AGCVT6'.",!
  • Line Location: AGCVT6+2
Function Call: WRITE
  • Prompt: $$S^AGVDF("IOF"),!!?5,"THIS REGISTRATION UTILITY READS THRU THE 'B' INDEX OF THE",!!?5,"MEDICAID ELIGIBLE FILE (^AUPNMCD), AND SETS ^AGPATCH SO MEDICAID",!!?5,"ELIGIBLE PATIENTS ARE EXPORTED DURING THE NEXT REGISTRATION EXPORT.",!!
  • Line Location: ENTRY+1
Function Call: WRITE
  • Prompt: ?5,"THE ENTRIES IN ^AGPATCH WILL BE YESTERDAY'S DATE SO YOU CAN RUN",!?5,"THIS ROUTINE AND THE EXPORT ON THE SAME DATE.",!!
  • Line Location: ENTRY+2
Function Call: WRITE
  • Prompt: !!
  • Line Location: USER+0
Function Call: WRITE
  • Prompt: !!
  • Line Location: FACILITY+0
Function Call: WRITE
  • Prompt: !!,*7,"You can 'q' this process to TaskMan to run at another time.",!
  • Line Location: QUE+0
Function Call: WRITE
  • Prompt: !!,"Task Number = ",ZTSK,!!,"Press RETURN..."
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !!
  • Line Location: START+2
Function Call: WRITE
  • Prompt: AGTOTAL
  • Line Location: START+3
Function Call: WRITE
  • Prompt: " MEDICAID's added to ^AGPATCH."
  • Line Location: START+4
Function Call: READ
  • Timeout: $S($D(DTIME):DTIME,1:300)
  • Variable: Y
  • Line Location: READ+0
Function Call: READ
  • Timeout: 5
  • Variable: Y
  • Line Location: READ+0
Routine Call
  • DIC
  • Line Location:
    • USER
    • FACILITY
Routine Call
  • %ZIS
  • Line Location:
    • START+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls
^AUTTLOC - [#9999999.06] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("UCI" DEV
^AGPATCH( START+3, TEST!
^AUPNMCD("B" START+3
^AUPNPAT - [#9000001] CHKHRN+1

Label References

Name Line Occurrences
CHKHRN START+3
END ENTRY+3, USER, FACILITY, QUE
ENTRY ENTRY+3, TEST
FACILITY QUE
QUE QUE, DEV+1
READ ENTRY+3, QUE, DEV+1, READ
START QUE

Naked Globals

Name Field # of Occurrence
^( CHKHRN+1, START+3*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT START+1*, END!
AGDATE START+1*, START+3, END!, TEST*
AGTOTAL START+2*, START+3*, END!
DFN CHKHRN+1, START+3*, END!
DFOUT ENTRY+3, QUE, END!, READ!, READ+1*
>> DIC USER*, FACILITY*
>> DIC("A" USER*, FACILITY*!
>> DIC(0 USER*, FACILITY*
DLOUT ENTRY+3, END!, READ!, READ+1*
DQOUT ENTRY+3, QUE, END!, READ!, READ+1*
DTIME READ
DTOUT ENTRY+3, QUE, END!, READ!*
DUOUT ENTRY+3, QUE, END!, READ!, READ+1*
DUZ USER*
DUZ(2 CHKHRN, FACILITY*
DUZ2 CHKHRN*, CHKHRN+1*, FACILITY*, START+3, END!
DX START+2*, END!
DY START+2*, END!
G DEV+1!
ION START+2
>> IOP START+2*
J CHKHRN+1*, END!
U CHKHRN+1
X START+1*, END!
XY START+3, END!
Y ENTRY+3, USER, FACILITY, QUE*, DEV, START+1, END!, READ*, READ+1*
ZTDESC DEV*, DEV+1!
ZTIO DEV*, DEV+1!
>> ZTQUEUED START+2, START+3, START+4, END
ZTRTN DEV*, DEV+1!
ZTSAVE DEV*, DEV+1!
ZTSK DEV+1!
ZTUCI DEV*, DEV+1!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All