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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: YTWJSONU

Package: Mental Health

Routine: YTWJSONU


Information

YTWJSONU ;SLC/KCM - JSON Instrument Spec Utilities ; 7/20/2018

Source Information

Source file <YTWJSONU.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 2 $$FMADD^XLFDT  $$REPLACE^XLFSTR  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
Mental Health 3 YTWJSON  YTWJSONF  YTWJSONO  

Entry Points

Name Comments DBIA/ICR reference
PROMPT(TEXT) ; prompt for text value and return, otherwise ""
BLDTXT(WPREF,TEXT) ; build array of JSON text from WP field
HTMLESC(X) ; return X HTML escaped
WRAPTXT(X,TEXT,MAX) ; Wrap X into MAX length strings in .TEXT
NAMES(OUT) ; build JSON of all active test names
ADDPROP(NAME,VALUE) ; add property to test select object
; expects OUT,LN

External References

Name Field # of Occurrence
^DIR PROMPT+4
$$FMADD^XLFDT PROMPT+6
$$REPLACE^XLFSTR HTMLESC+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,OUT(I)
  • Line Location: NAMES+13
Routine Call
  • DIR
  • Line Location:
    • PROMPT+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^XTMP("YTWPROMPTS" PROMPT+3, PROMPT+6*, PROMPT+7*
^YTT(601.71 - [#601.71] NAMES+3, NAMES+4, NAMES+5, NAMES+7, NAMES+9

Label References

Name Line Occurrences
$$HTMLESC BLDTXT+5
ADDPROP NAMES+6, NAMES+7, NAMES+8, NAMES+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIR PROMPT+1~
DIR("A" PROMPT+2*
DIR("B" PROMPT+3*
DIR(0 PROMPT+2*
DIROUT PROMPT+1~
DIRUT PROMPT+1~, PROMPT+4
DT PROMPT+6
DTOUT PROMPT+1~
DUOUT PROMPT+1~
I BLDTXT+1~, BLDTXT+3*, BLDTXT+4, WRAPTXT+1~, WRAPTXT+3*, WRAPTXT+6
IDX BLDTXT+1~, BLDTXT+2*, BLDTXT+4*, BLDTXT+6, BLDTXT+8
LASTLN BLDTXT+1~, BLDTXT+6*, BLDTXT+7, BLDTXT+8*
LN BLDTXT+1~, BLDTXT+4*, BLDTXT+5*, BLDTXT+6, BLDTXT+7*, BLDTXT+8, WRAPTXT+1~, WRAPTXT+2*, WRAPTXT+4*, WRAPTXT+5*
, WRAPTXT+6, NAMES+1~, NAMES+2*, NAMES+11, NAMES+12*, ADDPROP+4*, ADDPROP+9
MAX WRAPTXT~, WRAPTXT+2*, WRAPTXT+4, WRAPTXT+5
NAME NAMES+1~, NAMES+3*, NAMES+4, NAMES+6, ADDPROP~, ADDPROP+4, ADDPROP+5, ADDPROP+6
OUT NAMES~
OUT( NAMES+2*, NAMES+11*, NAMES+12*, ADDPROP+4*, ADDPROP+9*
SPEC HTMLESC+1~, HTMLESC+7
SPEC("""" HTMLESC+4*
SPEC("<" HTMLESC+6*
SPEC(">" HTMLESC+5*
SPEC("|" HTMLESC+2*
STAFF NAMES+1~, NAMES+9*, NAMES+10
TEST NAMES+1~, NAMES+4*, NAMES+5, NAMES+7, NAMES+9
TEXT PROMPT~, PROMPT+2, PROMPT+3, PROMPT+7, BLDTXT~, BLDTXT+6*, WRAPTXT~
TEXT( WRAPTXT+4, WRAPTXT+5, WRAPTXT+6*
TEXT("\" BLDTXT+8*
U PROMPT+6, NAMES+5, NAMES+7, NAMES+9
VALUE ADDPROP~, ADDPROP+7, ADDPROP+8
WORD WRAPTXT+1~, WRAPTXT+3*, WRAPTXT+4, WRAPTXT+5, WRAPTXT+6
WPREF BLDTXT~, BLDTXT+3, BLDTXT+4
X PROMPT+1~, PROMPT+4*, PROMPT+5, PROMPT+7, PROMPT+8, HTMLESC~, HTMLESC+7, WRAPTXT~, WRAPTXT+3, ADDPROP+2~
, ADDPROP+3*, ADDPROP+4*, ADDPROP+5*, ADDPROP+7*, ADDPROP+8*, ADDPROP+9
Y PROMPT+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All