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

Package: Mental Health

Routine: YSBDD1


Information

YSBDD1 ;SLC/DSB - MHA DASHBOARD Drilldown ; Apr 01, 2021@16:30

Source Information

Source file <YSBDD1.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Mental Health 6 ENCODE^YSBJSON  (HRINIT,TOTMP)^YSBRPC  $$MHDCDT^YSBWHIG2  ($$DONE7,$$FINDDOC,$$GETDUE,$$ONTRK,$$SAFDECL,CSRELST,SAFLST)^YSBWHIGH  BLDRPT^YTQRRPT  SETERROR^YTQRUTL  
Registration 2 $$GETINF^DGPFAPIH  (ADD,DEM)^VADPT  
Text Integration Utility 2 NOTES^TIUSRVLV  TGET^TIUSRVR1  
VA FileMan 2 ^%DT  $$GET1^DIQ  
Kernel 1 ($$FMADD,$$FMDIFF,$$FMTE,$$FMTH,$$HTFM,$$NOW)^XLFDT  
Scheduling 1 $$SDAPI^SDAMA301  

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 YSBRPC  YSBWHIG2  YSBWHIGH  

Entry Points

Name Comments DBIA/ICR reference
PATIENT(DFN,DATAOUT) ;
HRPTPROF(JSONOUT,DFN) ;
WEBPROF(ARGS,RESULTS) ; MHA Web call for HRPTPROF
DONENUM(TDT) ; Calculate the number of days for Done in 7
ETF(X) ; External to Fileman format
CHKCLIN(NODE) ;
GETNOTE(JSONOUT,YSTIUDA) ;
WEBNOTE(ARGS,RESULTS)
GETRPRT(JSONOUT,ADMIN) ;
WEBRPRT(ARGS,RESULTS) ;

External References

Name Field # of Occurrence
^%DT ETF+1
$$GETINF^DGPFAPIH HRPTPROF+22
$$GET1^DIQ HRPTPROF+58, HRPTPROF+98
$$SDAPI^SDAMA301 HRPTPROF+49
NOTES^TIUSRVLV HRPTPROF+102
TGET^TIUSRVR1 GETNOTE+3
ADD^VADPT PATIENT+3
DEM^VADPT PATIENT+2
$$FMADD^XLFDT HRPTPROF+44, HRPTPROF+53
$$FMDIFF^XLFDT DONENUM+20
$$FMTE^XLFDT HRPTPROF+87, HRPTPROF+116, HRPTPROF+137, HRPTPROF+144
$$FMTH^XLFDT HRPTPROF+34, HRPTPROF+35, DONENUM+19
$$HTFM^XLFDT DONENUM+19
$$NOW^XLFDT HRPTPROF+5
ENCODE^YSBJSON HRPTPROF+147, GETNOTE+6, GETRPRT+13
HRINIT^YSBRPC HRPTPROF+7
TOTMP^YSBRPC WEBPROF+5, WEBNOTE+5, WEBRPRT+5
$$MHDCDT^YSBWHIG2 HRPTPROF+122
$$DONE7^YSBWHIGH HRPTPROF+123
$$FINDDOC^YSBWHIGH HRPTPROF+133, HRPTPROF+142
$$GETDUE^YSBWHIGH HRPTPROF+36, HRPTPROF+124
$$ONTRK^YSBWHIGH HRPTPROF+125
$$SAFDECL^YSBWHIGH HRPTPROF+136
CSRELST^YSBWHIGH HRPTPROF+141
SAFLST^YSBWHIGH HRPTPROF+132
BLDRPT^YTQRRPT GETRPRT+3
SETERROR^YTQRUTL WEBPROF+3, WEBNOTE+3, WEBRPRT+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^DIC(40.7 - [#40.7] GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVPRV - [#9000010.06] HRPTPROF+94
^AUPNVPRV("AD" HRPTPROF+93
^DGPF(26.15 - [#26.15] HRPTPROF+19, HRPTPROF+21
^DPT - [#2] PATIENT+16
^SCE - [#409.68] HRPTPROF+57, HRPTPROF+85
^SCE("ADFN" HRPTPROF+54, HRPTPROF+56
^TMP("TIULIST" HRPTPROF+101!, HRPTPROF+104, HRPTPROF+105, HRPTPROF+106, HRPTPROF+108, HRPTPROF+109, HRPTPROF+149!
^TMP("YTQ-JSON" WEBPROF+6, WEBNOTE+6, WEBRPRT+6
^TMP("YTQRERRS" GETRPRT+2!, GETRPRT+9, GETRPRT+10, GETRPRT+11, GETRPRT+12, GETRPRT+14!
^TMP($J HRPTPROF+40!, HRPTPROF+50, HRPTPROF+117!, HRPTPROF+148!

Label References

Name Line Occurrences
$$CHKCLIN HRPTPROF+63, HRPTPROF+70
$$DONENUM HRPTPROF+127
$$ETF DONENUM+17
GETNOTE WEBNOTE+4
GETRPRT WEBRPRT+4
HRPTPROF WEBPROF+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT ETF+1~*
ACTARR DONENUM+2~
ACTARR( DONENUM+15
ACTARR("CONTINUE" DONENUM+7*
ACTARR("NEW A SSIGNMENT" , DONENUM+8*
ACTARR("REACTIVATE" DONENUM+6*
ACTDT DONENUM+1~
ACTSTR DONENUM+2~, DONENUM+14*, DONENUM+15
ADMIN GETRPRT~, GETRPRT+3, WEBRPRT+1~, WEBRPRT+2*, WEBRPRT+3, WEBRPRT+4
APPTLIST HRPTPROF+2~, HRPTPROF+50*
APPTLIST( HRPTPROF+55, HRPTPROF+58*, HRPTPROF+62, HRPTPROF+63!, HRPTPROF+64, HRPTPROF+66, HRPTPROF+67!, HRPTPROF+69, HRPTPROF+70, HRPTPROF+72
ARGS WEBPROF~, WEBNOTE~, WEBRPRT~
ARGS("adminId" WEBRPRT+2
ARGS("dfn" WEBPROF+2
ARGS("noteId" WEBNOTE+2
CSREHEAD HRPTPROF+1~, HRPTPROF+7, HRPTPROF+142
CSRENEW HRPTPROF+4~, HRPTPROF+7, HRPTPROF+141
CSREUPD HRPTPROF+4~, HRPTPROF+7, HRPTPROF+141
DATAOUT PATIENT~, HRPTPROF+1~, GETNOTE+1~, GETRPRT+1~, WEBRPRT+1~
DATAOUT("high_risk_patient_profile" HRPTPROF+13*, HRPTPROF+14*, HRPTPROF+15*, HRPTPROF+16*, HRPTPROF+17*, HRPTPROF+30*, HRPTPROF+32*, HRPTPROF+36*, HRPTPROF+37*, HRPTPROF+38*
, HRPTPROF+86*, HRPTPROF+87*, HRPTPROF+88*, HRPTPROF+89*, HRPTPROF+91*, HRPTPROF+92*, HRPTPROF+100*, HRPTPROF+108*, HRPTPROF+109*, HRPTPROF+110*
, HRPTPROF+115*, HRPTPROF+116*, HRPTPROF+118*, HRPTPROF+119*, HRPTPROF+124*, HRPTPROF+125*, HRPTPROF+126*, HRPTPROF+127*, HRPTPROF+128*, HRPTPROF+135*
, HRPTPROF+136*, HRPTPROF+137*, HRPTPROF+138*, HRPTPROF+144*, HRPTPROF+145*, HRPTPROF+146*, DONENUM+10, DONENUM+11, DONENUM+14, DONENUM+16
DATAOUT("note_text" GETNOTE+4*, GETNOTE+5*
DATAOUT("patient_information" PATIENT+4*, PATIENT+5*, PATIENT+6*, PATIENT+7*, PATIENT+8*, PATIENT+9*, PATIENT+10*, PATIENT+11*, PATIENT+12*, PATIENT+13*
, PATIENT+14*, PATIENT+15*, PATIENT+16*
DATAOUT("report" GETRPRT+7*, GETRPRT+8*, GETRPRT+10*, GETRPRT+11*, GETRPRT+12*
DATE HRPTPROF+2~, HRPTPROF+104*, HRPTPROF+105, HRPTPROF+106, HRPTPROF+108, HRPTPROF+109
DATEFOUND HRPTPROF+1~, HRPTPROF+133*, HRPTPROF+137, HRPTPROF+142*, HRPTPROF+144
DFN PATIENT~, PATIENT+16, HRPTPROF~, HRPTPROF+22, HRPTPROF+46, HRPTPROF+50, HRPTPROF+54, HRPTPROF+56, HRPTPROF+122, HRPTPROF+123
, HRPTPROF+125, HRPTPROF+133, HRPTPROF+136, HRPTPROF+142, WEBPROF+1~, WEBPROF+2*, WEBPROF+3, WEBPROF+4
DHRR HRPTPROF+1~, HRPTPROF+18*, HRPTPROF+34, HRPTPROF+35*
DIFF DONENUM+1~, DONENUM+20*, DONENUM+21
DSTAT HRPTPROF+121~, HRPTPROF+123*, HRPTPROF+126
ENCOUNTER HRPTPROF+2~, HRPTPROF+84*, HRPTPROF+85
ERRARY HRPTPROF+1~, GETRPRT+1~, WEBRPRT+1~
FIDX HRPTPROF+1~, HRPTPROF+52*, HRPTPROF+71*, HRPTPROF+72, HRPTPROF+112*, HRPTPROF+113, HRPTPROF+115, HRPTPROF+116
FROMTO HRPTPROF+41~, HRPTPROF+43*, HRPTPROF+44, HRPTPROF+53
FTRLIST HRPTPROF+2~
FTRLIST( HRPTPROF+72*, HRPTPROF+112, HRPTPROF+113
HFCLIST HRPTPROF+4~, HRPTPROF+132, HRPTPROF+133, HRPTPROF+140!, HRPTPROF+141, HRPTPROF+142
HISTIDX HRPTPROF+20~, HRPTPROF+25*, HRPTPROF+27, HRPTPROF+28, HRPTPROF+32, HRPTPROF+36, HRPTPROF+38
HRRVWDT HRPTPROF+1~, HRPTPROF+18*, HRPTPROF+35*, HRPTPROF+124
I HRPTPROF+2~, HRPTPROF+105*, HRPTPROF+106, HRPTPROF+108, HRPTPROF+109
IDX HRPTPROF+1~, HRPTPROF+19*, HRPTPROF+26*, HRPTPROF+30, HRPTPROF+32, HRPTPROF+36, HRPTPROF+37, HRPTPROF+38, HRPTPROF+131*, HRPTPROF+134*
, HRPTPROF+135, HRPTPROF+136, HRPTPROF+137, HRPTPROF+138, HRPTPROF+142*, HRPTPROF+143*, HRPTPROF+144, HRPTPROF+145, HRPTPROF+146, GETNOTE+4*
, GETNOTE+5, GETRPRT+5~, GETRPRT+6*, GETRPRT+7
IEN HRPTPROF+2~, HRPTPROF+93*, HRPTPROF+94
II DONENUM+1~, DONENUM+10*, DONENUM+11, DONENUM+14, DONENUM+16
JSONOUT HRPTPROF~, WEBPROF+1~, WEBPROF+4, WEBPROF+5, GETNOTE~, WEBNOTE+1~, WEBNOTE+4, WEBNOTE+5, GETRPRT~, WEBRPRT+1~
, WEBRPRT+4, WEBRPRT+5
LST DONENUM+1~, DONENUM+9*, DONENUM+18*, DONENUM+19*, DONENUM+20
LSTHIST HRPTPROF+20~, HRPTPROF+24*, HRPTPROF+32, HRPTPROF+36
LSTNM DONENUM+2~, DONENUM+9*, DONENUM+12*, DONENUM+13
NIDX HRPTPROF+2~, HRPTPROF+76*, HRPTPROF+107*, HRPTPROF+108, HRPTPROF+109, HRPTPROF+110
NMARR DONENUM+2~
NMARR( DONENUM+13
NMARR("BEHAVIORAL" DONENUM+4*
NMARR("HIGH R ISK FOR SUICIDE" , DONENUM+3*
NMARR("MISSIN G PATIENT" , DONENUM+5*
NMSTR DONENUM+2~, DONENUM+11*, DONENUM+12
NODE HRPTPROF+2~, HRPTPROF+57*, HRPTPROF+58, HRPTPROF+77*, HRPTPROF+78, HRPTPROF+79, HRPTPROF+83, HRPTPROF+84, HRPTPROF+86, HRPTPROF+89
, HRPTPROF+92, HRPTPROF+94*, HRPTPROF+95, HRPTPROF+113*, HRPTPROF+114, HRPTPROF+115, CHKCLIN~, CHKCLIN+2
NOW HRPTPROF+1~, HRPTPROF+5*, HRPTPROF+6, HRPTPROF+61, HRPTPROF+127
NXTHDT HRPTPROF+20~, HRPTPROF+29*, HRPTPROF+32
NXTHIDX HRPTPROF+20~, HRPTPROF+28*
OPCUT HRPTPROF+2~, HRPTPROF+53*, HRPTPROF+54
OUTPXENC HRPTPROF+2~, HRPTPROF+56*, HRPTPROF+57, HRPTPROF+58
PATTYP HRPTPROF+3~, HRPTPROF+122*, HRPTPROF+128
PIDX HRPTPROF+1~, HRPTPROF+52*, HRPTPROF+65*, HRPTPROF+66, HRPTPROF+75*, HRPTPROF+77, HRPTPROF+86, HRPTPROF+87, HRPTPROF+88, HRPTPROF+89
, HRPTPROF+91, HRPTPROF+92, HRPTPROF+100, HRPTPROF+108, HRPTPROF+109, HRPTPROF+110
PREFS HRPTPROF+2~
PRFACT HRPTPROF+20~, HRPTPROF+27*, HRPTPROF+32, HRPTPROF+36, HRPTPROF+37
PRFDATA HRPTPROF+20~
PRFDATA("HIST" HRPTPROF+24, HRPTPROF+25, HRPTPROF+27, HRPTPROF+28, HRPTPROF+38
PRFDATA("REVIEWDT" HRPTPROF+31*, HRPTPROF+32, HRPTPROF+34, HRPTPROF+35, HRPTPROF+36
PRFIEN HRPTPROF+19*, HRPTPROF+20~, HRPTPROF+21*, HRPTPROF+22, HRPTPROF+33
PRFNAME HRPTPROF+1~, HRPTPROF+19*, HRPTPROF+21, HRPTPROF+30
PRV HRPTPROF+2~, HRPTPROF+93*, HRPTPROF+95*, HRPTPROF+97, HRPTPROF+98*, HRPTPROF+99*, HRPTPROF+100
PRVLIST HRPTPROF+2~
PRVLIST( HRPTPROF+66*, HRPTPROF+75, HRPTPROF+77
PSTAT HRPTPROF+74~, HRPTPROF+78*, HRPTPROF+80, HRPTPROF+81, HRPTPROF+82
RCNT DONENUM+1~, DONENUM+9*, DONENUM+16*, DONENUM+17*, DONENUM+18
REPORT GETRPRT+1~, GETRPRT+3, GETRPRT+4, GETRPRT+8, WEBRPRT+1~
REPORT( GETRPRT+6, GETRPRT+7
RESULTS WEBPROF~, WEBPROF+6*, WEBNOTE~, WEBNOTE+6*, WEBRPRT~, WEBRPRT+6*
RSLT HRPTPROF+20~, HRPTPROF+22*, HRPTPROF+23
SAFDCL HRPTPROF+1~, HRPTPROF+7, HRPTPROF+123, HRPTPROF+132
SAFHEAD HRPTPROF+1~, HRPTPROF+7, HRPTPROF+123, HRPTPROF+133
SAFREV HRPTPROF+4~, HRPTPROF+7, HRPTPROF+123, HRPTPROF+132
SAFSCNO HRPTPROF+4~, HRPTPROF+7, HRPTPROF+123, HRPTPROF+132
SAFSCYES HRPTPROF+4~, HRPTPROF+7, HRPTPROF+123, HRPTPROF+132
SDCOUNT HRPTPROF+1~, HRPTPROF+49*
SDTIME HRPTPROF+1~, HRPTPROF+53*, HRPTPROF+54*, HRPTPROF+55, HRPTPROF+56, HRPTPROF+58, HRPTPROF+61*, HRPTPROF+62*, HRPTPROF+63, HRPTPROF+64
, HRPTPROF+66, HRPTPROF+67, HRPTPROF+69*, HRPTPROF+70, HRPTPROF+72, HRPTPROF+83*, HRPTPROF+87, HRPTPROF+114*, HRPTPROF+116
SITES HRPTPROF+4~, HRPTPROF+7
STATUS HRPTPROF+2~, HRPTPROF+78*, HRPTPROF+79*, HRPTPROF+80, HRPTPROF+81, HRPTPROF+82*
STOPCODE CHKCLIN+1~, CHKCLIN+2*, CHKCLIN+3, CHKCLIN+4
TDT DONENUM~, DONENUM+20
TIUFND HRPTPROF+130~, HRPTPROF+131*, HRPTPROF+133, HRPTPROF+142
TIUIDX HRPTPROF+1~, HRPTPROF+133, HRPTPROF+135, HRPTPROF+142, HRPTPROF+145
TIUINVDT HRPTPROF+1~, HRPTPROF+131*, HRPTPROF+133, HRPTPROF+136, HRPTPROF+142*
U PATIENT+5, PATIENT+6, PATIENT+8, PATIENT+13, PATIENT+16, HRPTPROF+27, HRPTPROF+31, HRPTPROF+32, HRPTPROF+34, HRPTPROF+35
, HRPTPROF+36, HRPTPROF+38, HRPTPROF+58, HRPTPROF+64, HRPTPROF+78, HRPTPROF+79, HRPTPROF+84, HRPTPROF+85, HRPTPROF+86, HRPTPROF+89
, HRPTPROF+92, HRPTPROF+95, HRPTPROF+106, HRPTPROF+109, HRPTPROF+115, CHKCLIN+2
VADM PATIENT+1~
VADM(1 PATIENT+4
VADM(2 PATIENT+8
VADM(3 PATIENT+6
VADM(4 PATIENT+7
VADM(5 PATIENT+5
VAPA PATIENT+1~
VAPA(1 PATIENT+9
VAPA(2 PATIENT+10
VAPA(3 PATIENT+11
VAPA(4 PATIENT+12
VAPA(5 PATIENT+13
VAPA(6 PATIENT+14
VAPA(8 PATIENT+15
X ETF~, ETF+1*
Y ETF+1~
YSDARRAY HRPTPROF+1~, HRPTPROF+49
YSDARRAY("FLDS" HRPTPROF+47*
YSDARRAY("SORT" HRPTPROF+48*
YSDARRAY(1 HRPTPROF+44*
YSDARRAY(3 HRPTPROF+45*
YSDARRAY(4 HRPTPROF+46*
YSDT HRPTPROF+1~, HRPTPROF+6*, HRPTPROF+36, HRPTPROF+44, HRPTPROF+53, HRPTPROF+123, HRPTPROF+124
YSTEXT GETNOTE+1~, GETNOTE+3, GETNOTE+4
YSTIUDA GETNOTE~, GETNOTE+3, WEBNOTE+1~, WEBNOTE+2*, WEBNOTE+3, WEBNOTE+4
YSVISIT HRPTPROF+2~, HRPTPROF+85*, HRPTPROF+90, HRPTPROF+93, HRPTPROF+102
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All