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

Package: Mental Health

Routine: YSBPREFS


Information

YSBPREFS ;BAL/KTL - MHA DASHBOARD USER PREFERENCES ; Apr 01, 2021@16:33

Source Information

Source file <YSBPREFS.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Mental Health 2 ENCODE^YSBJSON  (GETWDGT,TOTMP)^YSBRPC  
Toolkit 1 (EN,GETWP)^XPAR  

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 YSBRPC  

Entry Points

Name Comments DBIA/ICR reference
GETHRSEL(JSONOUT,PARMS) ;
; Given user DUZ and Widget, get the High Risk Patient Selection Criteria
GETMBSEL(JSONOUT) ;
; Given user DUZ and Widget, get the Measurement Based Care (MBC) Patient Selection Criteria
MBSDFLT(JSONOUT) ;Generate default Selection JSON
GETILST(JSONOUT,PARMS) ;
; Given user DUZ and Widget, get the Measurement Based Care (MBC) Patient Selection Criteria
MBCIDFLT(JSONOUT) ;Generate Default MBC Instrument List
GETUSRP(JSONOUT) ;
; Given user DUZ and Widget, get the Patient Selection Criteria
WEBGUSRP(ARGS,RESULTS)
DFLTUP(XJSON)
HRWSEL(JSONOUT,IN) ;
; Save PATIENT SELECTION CRITERIA
; High Risk Widget
MBCWSEL(JSONOUT,IN) ;
; Save PATIENT SELECTION CRITERIA
; Measurement Based Care (MBC) widget
ILST(JSONOUT,IN) ;
; Save the MBC INSTRUMENT SELECTION LIST
; Measurement Based Care (MBC) widget
USRP(JSONOUT,IN) ;
; Save PATIENT Column preference
; Column preference settings
EXTPROP(STR,PROP) ;
; Extract the VALUE from the string based on the PROPerty
ERRHND(TYP,MSG) ;

External References

Name Field # of Occurrence
EN^XPAR HRWSEL+18, MBCWSEL+20, ILST+19, USRP+17
GETWP^XPAR GETHRSEL+8, GETMBSEL+8, GETILST+8, GETUSRP+9
ENCODE^YSBJSON MBSDFLT+13, DFLTUP+15, HRWSEL+20, MBCWSEL+22, ILST+21, USRP+19, ERRHND+3
GETWDGT^YSBRPC DFLTUP+5
TOTMP^YSBRPC WEBGUSRP+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("YTQ-JSON" WEBGUSRP+4
^XTV(8989.51 - [#8989.51] HRWSEL+14, MBCWSEL+16, ILST+15, USRP+13

Label References

Name Line Occurrences
DFLTUP GETUSRP+11, GETUSRP+13
ERRHND HRWSEL+15, MBCWSEL+10, MBCWSEL+17, ILST+10, ILST+16, USRP+14
GETUSRP WEBGUSRP+2
MBSDFLT GETMBSEL+11, GETMBSEL+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARGS WEBGUSRP~
CNT MBSDFLT+1~, HRWSEL+4~, HRWSEL+8*, HRWSEL+11*, MBCWSEL+3~, MBCWSEL+11*, MBCWSEL+14*, ILST+3~, ILST+7*, ILST+13*
, USRP+3~, USRP+7*, USRP+10*
DATAOUT GETHRSEL+2~, GETMBSEL+2~, GETILST+2~, GETUSRP+2~, HRWSEL+5~, MBCWSEL+4~, ILST+4~, USRP+4~, ERRHND+1!
DATAOUT( ERRHND+2*
DATAOUT("high_risk_selection" HRWSEL+19*
DATAOUT("mbc_instrument_selection" ILST+20*
DATAOUT("mbc_selection" MBCWSEL+21*
DATAOUT("user_preference" USRP+18*
DONE MBCWSEL+6~, MBCWSEL+7*, MBCWSEL+8, MBCWSEL+9*, ILST+6~, ILST+7*, ILST+8, ILST+9*
DUZ GETHRSEL+5, GETMBSEL+5, GETILST+5, GETUSRP+6, HRWSEL+13, MBCWSEL+15, ILST+14, USRP+12
DUZPAR GETHRSEL+2~, GETHRSEL+7*, GETHRSEL+8, GETMBSEL+2~, GETMBSEL+7*, GETMBSEL+8, GETILST+2~, GETILST+7*, GETILST+8, GETUSRP+2~
, GETUSRP+8*, GETUSRP+9
ERRARR MBSDFLT+1~
FDA HRWSEL+6~, MBCWSEL+5~, ILST+5~, USRP+5~
FDAIEN HRWSEL+6~, MBCWSEL+5~, ILST+5~, USRP+5~
IENS HRWSEL+6~, MBCWSEL+5~, ILST+5~, USRP+5~
II GETHRSEL+2~, GETHRSEL+13*, GETHRSEL+14, GETMBSEL+14*, GETMBSEL+15, GETILST+15*, GETILST+16, GETUSRP+14*, GETUSRP+15, DFLTUP+2~
, DFLTUP+6*, DFLTUP+7, DFLTUP+9, DFLTUP+10, DFLTUP+11, HRWSEL+4~, HRWSEL+10*, HRWSEL+11, MBCWSEL+3~, MBCWSEL+8*
, MBCWSEL+9, MBCWSEL+13*, MBCWSEL+14, ILST+3~, ILST+8*, ILST+9, ILST+12*, ILST+13, USRP+3~, USRP+9*
, USRP+10
IN HRWSEL~, MBCWSEL~, ILST~, USRP~
IN( HRWSEL+10, HRWSEL+11, MBCWSEL+8, MBCWSEL+9, MBCWSEL+13, MBCWSEL+14, ILST+8, ILST+9, ILST+12, ILST+13
, USRP+9, USRP+10
INSTANCE HRWSEL+7~, HRWSEL+16*, HRWSEL+18, MBCWSEL+6~, MBCWSEL+18*, MBCWSEL+20, ILST+6~, ILST+17*, ILST+19, USRP+6~
, USRP+15*, USRP+17
JSFLG HRWSEL+4~, MBCWSEL+3~, ILST+3~, USRP+3~
JSON HRWSEL+4~, HRWSEL+18, MBCWSEL+3~, MBCWSEL+20, ILST+3~, ILST+19, USRP+3~, USRP+11*, USRP+17
JSON( HRWSEL+11*, MBCWSEL+14*, ILST+13*, USRP+10*
JSONOUT GETHRSEL~, GETHRSEL+3!, GETMBSEL~, GETMBSEL+3!, GETMBSEL+11, GETMBSEL+13, MBSDFLT~, GETILST~, GETILST+3!, MBCIDFLT~
, GETUSRP~, GETUSRP+4!, GETUSRP+11, GETUSRP+13, WEBGUSRP+1~, WEBGUSRP+2, WEBGUSRP+3, HRWSEL~, MBCWSEL~, ILST~
, USRP~
JSONOUT( GETHRSEL+14*, GETMBSEL+15*, GETILST+16*, GETUSRP+15*
JSONOUT(1 GETHRSEL+10*, GETHRSEL+12*, GETILST+10*, GETILST+13*
LARR MBSDFLT+1~
LARR("data" MBSDFLT+10*, MBSDFLT+11*, MBSDFLT+12*
MSG HRWSEL+6~, HRWSEL+18, MBCWSEL+5~, MBCWSEL+20, ILST+5~, ILST+19, USRP+5~, USRP+17, ERRHND~, ERRHND+2
PARMS GETHRSEL~, GETILST~
PDEF HRWSEL+4~, HRWSEL+14*, HRWSEL+15, HRWSEL+18, MBCWSEL+3~, MBCWSEL+16*, MBCWSEL+17, MBCWSEL+20, ILST+3~, ILST+15*
, ILST+16, ILST+19, USRP+3~, USRP+13*, USRP+14, USRP+17
PROP EXTPROP~, EXTPROP+3
RESULTS WEBGUSRP~, WEBGUSRP+4*
SPC DFLTUP+2~, DFLTUP+3*
STR EXTPROP~, EXTPROP+3
STRT MBCWSEL+6~, MBCWSEL+7*, MBCWSEL+9*, MBCWSEL+10, MBCWSEL+13, ILST+6~, ILST+7*, ILST+9*, ILST+10
TYP ERRHND~, ERRHND+2
VAL EXTPROP+2~, EXTPROP+3*, EXTPROP+4*, EXTPROP+5*, EXTPROP+6
WDGT GETHRSEL+2~, GETHRSEL+4*, GETHRSEL+6*, GETHRSEL+8, GETMBSEL+2~, GETMBSEL+4*, GETMBSEL+6*, GETMBSEL+8, GETILST+2~, GETILST+4*
, GETILST+6*, GETILST+8, GETUSRP+2~, GETUSRP+5*, GETUSRP+7*, GETUSRP+9
WPARR GETHRSEL+2~, GETHRSEL+8, GETHRSEL+9, GETHRSEL+11, GETMBSEL+2~, GETMBSEL+8, GETMBSEL+9, GETMBSEL+12, GETILST+2~, GETILST+8
, GETILST+9, GETILST+12, GETUSRP+2~, GETUSRP+9, GETUSRP+10, GETUSRP+12, HRWSEL+4~, MBCWSEL+3~, ILST+3~, USRP+3~
WPARR( GETHRSEL+13, GETHRSEL+14, GETMBSEL+14, GETMBSEL+15, GETILST+15, GETILST+16, GETUSRP+14, GETUSRP+15
XCNT MBSDFLT+1~, DFLTUP+2~, DFLTUP+4*
XDATA DFLTUP+2~, DFLTUP+5
XDATA("widgets" DFLTUP+6, DFLTUP+7, DFLTUP+9!, DFLTUP+10!, DFLTUP+11
XJ DFLTUP+2~
XJ( DFLTUP+11*, DFLTUP+12*, DFLTUP+13*, DFLTUP+14*
XJSON DFLTUP~
XJSON( DFLTUP+4*
XNAM DFLTUP+2~, DFLTUP+7*, DFLTUP+8*, DFLTUP+11, DFLTUP+12, DFLTUP+13, DFLTUP+14
XTABC DFLTUP+2~, DFLTUP+4*
YDUZ GETHRSEL+2~, GETHRSEL+5*, GETHRSEL+7, GETMBSEL+2~, GETMBSEL+5*, GETMBSEL+7, GETILST+2~, GETILST+5*, GETILST+7, GETUSRP+2~
, GETUSRP+6*, GETUSRP+8, HRWSEL+4~, HRWSEL+8*, HRWSEL+13*, HRWSEL+17*, HRWSEL+18, MBCWSEL+3~, MBCWSEL+11*, MBCWSEL+15*
, MBCWSEL+19*, MBCWSEL+20, ILST+3~, ILST+7*, ILST+14*, ILST+18*, ILST+19, USRP+3~, USRP+7*, USRP+12*
, USRP+16*, USRP+17
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All