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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: YTQAPI15

Package: Mental Health

Routine: YTQAPI15


Information

YTQAPI15 ;ASF/ALB MHA XML ;Nov 19, 2020@15:02

Source Information

Source file <YTQAPI15.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 ^DIC  $$GET1^DIQ  ^DIR  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Mental Health 1 ^YSLRP  

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: 1

Package Total Caller Graph
Mental Health 1 YTQ XML OUTPUT  

Entry Points

Name Comments DBIA/ICR reference
MAIN ;
DEV
ENQ ;taskman entry
SELAD ;administation filter
SI ;select by instrument
SP ;select by patient
SD ;select by Date Only
SO ;select by Ordered by
SL ;select by location
ADMIN ;extract the data into an XML global
FORM(YSTAG,YSFILE,YSIENS,YSFIELD) ;xml entry
QUEST ;answers out
RESULT ;results out
HEAD ;
CONVSTR(YSIN) ;convert string to valid xml

External References

Name Field # of Occurrence
^%ZIS DEV
HOME^%ZIS DEV+4
^%ZISC ENQ+10
^%ZTLOAD DEV+4
^DIC SELAD+22, SELAD+31, SELAD+37
$$GET1^DIQ FORM+3
^DIR SELAD+3, SELAD+6, SELAD+9, SELAD+12, SELAD+15
$$GETICN^MPIF001 ADMIN+5
^YSLRP SELAD+26

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Please Queue this job",!
  • Line Location: DEV+3
Function Call: WRITE
  • Prompt: ^(N),!
  • Line Location: ENQ+9
Function Call: WRITE
  • Prompt: @IOF,!!,"MHA XML Export"
  • Line Location: SELAD+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV
Routine Call
  • %ZIS
  • Line Location:
    • DEV+4
Routine Call
  • DIC
  • Line Location:
    • SELAD+22
    • SELAD+31
    • SELAD+37
Routine Call
  • DIR
  • Line Location:
    • SELAD+3
    • SELAD+6
    • SELAD+9
    • SELAD+12
    • SELAD+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls
^YTT(601.71 - [#601.71] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("YSAD" ENQ+1!, ENQ+4, SI+3*, SP+3*, SD+3*, SO+3*, SL+3*, ADMIN+1
^TMP("YSXML" ENQ+1!, ENQ+4*, ENQ+5*, ENQ+6*, ENQ+8*, ENQ+9, ADMIN+2*, ADMIN+3*, ADMIN+5*, ADMIN+14*
, FORM+6*, QUEST+2*, QUEST+3*, QUEST+5*, QUEST+7*, QUEST+8*, QUEST+14*, QUEST+15*, RESULT+3*, RESULT+4*
RESULT+8*
^YTT(601.71 - [#601.71] SI+1
^YTT(601.72 - [#601.72] QUEST+6
^YTT(601.75 - [#601.75] QUEST+12
^YTT(601.84 - [#601.84] SI+2, SI+3, SP+1, SP+2, SD+1, SD+2, SO+1, SO+2, SL+1, SL+2
ADMIN+5
^YTT(601.85 - [#601.85] QUEST+1, QUEST+4, QUEST+11, QUEST+13
^YTT(601.92 - [#601.92] RESULT+2

Label References

Name Line Occurrences
$$CONVSTR FORM+4
ADMIN ENQ+7
DEV DEV+3
FORM ADMIN+4, ADMIN+6, ADMIN+7, ADMIN+8, ADMIN+9, ADMIN+10, ADMIN+11, QUEST+9, RESULT+5, RESULT+6
RESULT+7
QUEST ADMIN+12
RESULT ADMIN+13
SD ENQ+3
SELAD MAIN+5
SI ENQ+3
SL ENQ+3
SO ENQ+3
SP ENQ+3

Naked Globals

Name Field # of Occurrence
^( ENQ+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %ZIS DEV*
CNT MAIN+3~, CONVSTR+7*, CONVSTR+8, CONVSTR+10, CONVSTR+11
DFN MAIN+3~, SELAD+27, ADMIN+5*
DIC SELAD+18!, SELAD+21*, SELAD+30*, SELAD+36*
DIC("A" SELAD+29*
DIC(0 SELAD+21*, SELAD+30*, SELAD+36*
DIR SELAD+2!, SELAD+6!, SELAD+9!, SELAD+12!, SELAD+15!
DIR("A" SELAD+3*, SELAD+6*, SELAD+9*, SELAD+12*, SELAD+15*
DIR("B" SELAD+6*, SELAD+9*, SELAD+12*, SELAD+15*
DIR(0 SELAD+2*, SELAD+6*, SELAD+9*, SELAD+12*, SELAD+15*
DIRUT MAIN+3~, MAIN+7, SELAD+4, SELAD+7, SELAD+10, SELAD+13, SELAD+16
DTOUT MAIN+3~, MAIN+7
DUOUT MAIN+3~, MAIN+7
G MAIN+1~, FORM+1~, FORM+5*, FORM+6
ICN MAIN+1~, ADMIN+5*
IDX MAIN+3~, CONVSTR+9*, CONVSTR+10*, CONVSTR+11, CONVSTR+12*
IO DEVENQ+9
IO("DOC" DEV+7
IO("Q" DEV+3, DEV+4!
IOF SELAD+1
IOM DEV+8
ION DEV+6
IOSL DEV+9
IOST DEV+6
L1 MAIN+3~
L1( CONVSTR+8, CONVSTR+10
L1(1 CONVSTR+1*
L1(2 CONVSTR+2*
L1(3 CONVSTR+3*
L1(4 CONVSTR+4*
L1(5 CONVSTR+5*
L2 MAIN+3~
L2( CONVSTR+11
L2(1 CONVSTR+1*
L2(2 CONVSTR+2*
L2(3 CONVSTR+3*
L2(4 CONVSTR+4*
L2(5 CONVSTR+5*
LEN MAIN+3~, CONVSTR+8*, CONVSTR+11, CONVSTR+12
N MAIN+1~, ENQ+2*, ENQ+5*, ENQ+6*, ENQ+8*, ENQ+9*, ADMIN+2*, ADMIN+3*, ADMIN+5*, ADMIN+14*
, FORM+2*, FORM+6, QUEST+2*, QUEST+3*, QUEST+5*, QUEST+7*, QUEST+8*, QUEST+10*, QUEST+14, QUEST+15*
RESULT+3*, RESULT+4*, RESULT+8*
POP MAIN+3~, DEV+2
U SELAD+24, SP+2, SD+2, SO+2, SL+2, ADMIN+5, QUEST+4, QUEST+11
Y MAIN+1~, SELAD+5, SELAD+8, SELAD+11, SELAD+14, SELAD+17, SELAD+23, SELAD+24, SELAD+32, SELAD+33
SELAD+38, SELAD+39
Y1 FORM+1~, FORM+3*, FORM+4
Y2 FORM+1~, FORM+4*, FORM+5
YSA MAIN+1~, QUEST+1*, QUEST+4, QUEST+9, QUEST+11, QUEST+13
YSAD MAIN+1~, SI+3*, SP+1*, SP+2, SP+3, SD+1*, SD+2, SD+3, SO+1*, SO+2
SO+3, SL+1*, SL+2, SL+3, ADMIN+1*, ADMIN+3, ADMIN+4, ADMIN+5, ADMIN+6, ADMIN+7
ADMIN+8, ADMIN+9, ADMIN+10, ADMIN+11, QUEST+1, QUEST+3, RESULT+2, RESULT+4
YSB MAIN+1~, SELAD+8*, SI+2, SP+3, SD+3, SO+3, SL+3
YSC MAIN+1~, QUEST+11*, QUEST+12
YSCN MAIN+1~, SI+1*, SI+2, SI+3, QUEST+12*, QUEST+13*, QUEST+14
YSCODE MAIN+1~, SELAD+24*, SI+1
YSD MAIN+1~, SI+2*, SI+3
YSDFN MAIN+1~, SP+1
YSDG MAIN+1~, SP+2*, SP+3, SD+2*, SD+3, SO+2*, SO+3, SL+2*, SL+3
YSE MAIN+1~, SELAD+11*, SI+2, SP+3, SD+3, SO+3, SL+3
YSEA MAIN+1~, SELAD+14*, ADMIN+12
YSER MAIN+2~, SELAD+17*, ADMIN+13
YSF MAIN+2~, ENQ+3, SELAD+5*, SELAD+20, SELAD+25, SELAD+28, SELAD+35
YSFIELD MAIN+2~, FORM~, FORM+3
YSFILE MAIN+2~, FORM~, FORM+3
YSIENS MAIN+2~, FORM~, FORM+3
YSIN CONVSTR~, CONVSTR+6
YSJ MAIN+2~, QUEST+1*, QUEST+8*
YSLOC MAIN+2~, SELAD+39*, SL+1
YSOD MAIN+2~, SELAD+33*, SO+1
YSOUT MAIN+3~, CONVSTR+6*, CONVSTR+10, CONVSTR+11*, CONVSTR+13
YSQNUMB MAIN+2~, QUEST+4*, QUEST+5, QUEST+6
YSQTEXT MAIN+2~, QUEST+6*, QUEST+7
YSQUIT MAIN+3~, MAIN+4*, MAIN+8, SELAD+23*, SELAD+27*, SELAD+32*, SELAD+38*
YSR MAIN+2~, RESULT+1*, RESULT+2*, RESULT+5, RESULT+6, RESULT+7
YSTAG FORM~, FORM+5
YTTLKUP SELAD+19~*
>> ZTDESC DEV+5*
>> ZTIO DEV+6*, DEV+7*, DEV+8*, DEV+9*
>> ZTRTN DEV+5*
>> ZTSAVE("YS*" DEV+5*
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 |  Naked Globals |  Local Variables  | All