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 |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: YS187PST

Package: Mental Health

Routine: YS187PST


Information

YS187PST ;BAL/KTL- Patch 187 Post-Init ; 07/28/2021 3:19pm

Source Information

Source file <YS187PST.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 2 FILE^DIE  $$GET1^DIQ  
Kernel 1 ENCODE^XLFJSON  
Mental Health 1 POST^YS187CMT  
Toolkit 1 (EN,GETWP)^XPAR  

Entry Points

Name Comments DBIA/ICR reference
POST ;
; Delete namespaced logging for MCMI4
MKBAT ;Find all users with Battery definitions and create PARAMETER entries
; for MHA Web
BATTC(YSUSR,JARR) ;battery content
; OUTPUT: BATTERY NAME ^ INSTRUMENT list sorted by BATTERY & SEQUENCE
SETPARAM(YSPNAM,YSJSON,YSUSR)
SSRRTN ; Set the Suicide TAG & ROUTINE fileds in 601.71
INSTF ;HIGH RISK/POSTIIVE RESPONSE Instrument updates

External References

Name Field # of Occurrence
FILE^DIE SSRRTN+14
$$GET1^DIQ BATTC+14
ENCODE^XLFJSON MKBAT+12
EN^XPAR SETPARAM+7
GETWP^XPAR MKBAT+8
POST^YS187CMT POST+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"ERROR= ",YSERR
  • Line Location: SSRRTN+15
Routine Call
  • DIE
  • Line Location:
    • SSRRTN+14

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.78 - [#601.78] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("YKTL" POST+3!
^YKTL( POST+4, POST+5!
^YTT(601.71 - [#601.71] SSRRTN+8
^YTT(601.77 - [#601.77] BATTC+5
^YTT(601.78 - [#601.78] BATTC+10, BATTC+11, BATTC+12
^YTT(601.781 - [#601.781] MKBAT+4, BATTC+3, BATTC+4

Label References

Name Line Occurrences
$$SETPARAM MKBAT+13
BATTC MKBAT+11
MKBAT POST+8
SSRRTN POST+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BATNUM BATTC+2~, BATTC+7*, BATTC+9*, BATTC+15, BATTC+16
CNT SSRRTN+1~, SSRRTN+4*
FDA SETPARAM+3~
FDAIEN SETPARAM+3~
G7 BATTC+2~, BATTC+12*, BATTC+13
IENS SETPARAM+3~
II SETPARAM+2~
INAM BATTC+2~, BATTC+14*, BATTC+16
INSTIEN SSRRTN+1~, SSRRTN+8*, SSRRTN+9
ISEQ BATTC+2~, BATTC+13*, BATTC+16
J POST+2~, POST+4*, POST+5
JARR MKBAT+2~, MKBAT+10!, MKBAT+11, BATTC~
JARR("batteries" BATTC+15*, BATTC+16*
PRES MKBAT+2~, MKBAT+13*
TAG SSRRTN+1~, SSRRTN+11*, SSRRTN+12, SSRRTN+13
TEMP SSRRTN+1~, SSRRTN+3*, SSRRTN+5*, SSRRTN+6*, SSRRTN+7, SSRRTN+11
TEST SSRRTN+1~, SSRRTN+7*, SSRRTN+8
U BATTC+4, BATTC+5, BATTC+13, SETPARAM+8, SSRRTN+7, SSRRTN+11
XXX SSRRTN+1~, SSRRTN+9*, SSRRTN+10, SSRRTN+13
YS1 BATTC+2~
YS1( BATTC+6*, BATTC+8
YSBATS BATTC+2~, BATTC+10*, BATTC+11
YSBID BATTC+2~, BATTC+4*, BATTC+5, BATTC+6, BATTC+8*, BATTC+10, BATTC+11
YSBNAME BATTC+2~, BATTC+5*, BATTC+6
YSCONID BATTC+2~, BATTC+11*, BATTC+12, BATTC+14
YSDUZ MKBAT+3~, MKBAT+6*, MKBAT+8, SETPARAM+2~, SETPARAM+6*, SETPARAM+7
YSERR SSRRTN+1~, SSRRTN+15
YSFDA SSRRTN+1~, SSRRTN+2!
YSFDA( SSRRTN+10*, SSRRTN+13*
YSINST SETPARAM+4~, SETPARAM+5*, SETPARAM+7
YSJSON MKBAT+2~, MKBAT+10!, MKBAT+13, SETPARAM~, SETPARAM+7
YSMSG SETPARAM+3~, SETPARAM+7, SETPARAM+8
YSNAME BATTC+2~, BATTC+8*, BATTC+15
YSPNAM SETPARAM~, SETPARAM+7
YSUB BATTC+2~, BATTC+3*, BATTC+4
YSUSR MKBAT+2~, MKBAT+4*, MKBAT+6, MKBAT+11, MKBAT+13, BATTC~, BATTC+3, SETPARAM~, SETPARAM+6
YSWDGT MKBAT+3~, MKBAT+5*, MKBAT+8
YSWPARR MKBAT+3~, MKBAT+7!, MKBAT+8, MKBAT+9

Marked Items

Name Field # of Occurrence
$T(INSTF+CNT SSRRTN+5
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All