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

Package: Mental Health

Routine: YSSRU


Information

YSSRU ;SLC/DJP,HIOFO/FT - Utilities for YS Seclusion/Restraint Reports ;10/20/11 16:14

Source Information

Source file <YSSRU.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 4 (,DD)^%DT  ^%DTC  IX^DIC  EN1^DIP  
Mental Health 2 $$SITE^YSFORM  WAIT^YSUTL  

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

Package Total Caller Graph
Mental Health 20 YSCPAG  YSCPAL  YSCPAO  YSSR 10-2683  YSSR 10-2683 PRINT  YSSR DATE MGT HEADER  YSSR DATE MGT PRINT  YSSR MGTRD  
YSSR MGTRI  YSSR MGTRN  YSSR MGTRW  YSSR NURSE MGT HEADER  YSSR NURSE MGT PRINT  YSSR PT INQ HEADER  YSSR PT INQ PRINT  YSSR REVIEW ACTION HEADER  
YSSR REVIEW ACTION PRINT  YSSR REVIEW RPT  YSSR WARD MGT HEADER  YSSR WARD MGT PRINT  

Entry Points

Name Comments DBIA/ICR reference
YSMGT ; Called from MENU option YSSR 10-2683
YSREV ; Called from MENU option YSSR REVIEW RPT
YSDATE ; Called from MENU option YSSR MGTRD
YSWARD ; Called from MENU option YSSR MGTRW
YSNURSE ; Called from MENU option YSSR MGTRN
YSINQ ; Called from MENU option YSSR MGTRI
YSDIP ;
KILL ;
SETUP ;
BEGDT ;
ENDDT ;
INIT ;
SITE ;
HEADER ;
PARSE ;Sets variables for use within the print templates used by File ^YS(615.2) - SECLUSION/RESTRAINT
WARN ;

External References

Name Field # of Occurrence
^%DT BEGDT+1, ENDDT+1
DD^%DT SETUP+4, PARSE+2, PARSE+3
^%DTC PARSE+8
IX^DIC YSINQ+3
EN1^DIP YSDIP+2
$$SITE^YSFORM SITE+1
WAIT^YSUTL YSDIP+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!!?5,"MONTHLY REPORT OF RESTRAINT AND SECLUSION (VA Form 10-2683)",!
  • Line Location: YSMGT+2
Function Call: WRITE
  • Prompt: @IOF,!!?IOM-$L("REVIEW OF SECLUSION/RESTRAINT ACTION REPORT")\2,"REVIEW OF SECLUSION/RESTRAINT ACTION REPORT",!
  • Line Location: YSREV+2
Function Call: WRITE
  • Prompt: @IOF,!!?IOM-$L("S/R MANAGEMENT REPORT BY DATE")\2,"S/R MANAGEMENT REPORT BY DATE",!
  • Line Location: YSDATE+2
Function Call: WRITE
  • Prompt: @IOF,!!?IOM-$L("S/R MANAGEMENT REPORT BY WARD")\2,"S/R MANAGEMENT REPORT BY WARD",!
  • Line Location: YSWARD+2
Function Call: WRITE
  • Prompt: @IOF,!!?IOM-$L("S/R MANAGEMENT REPORT BY NURSING SHIFT")\2,"S/R MANAGEMENT REPORT BY NURSING SHIFT",!
  • Line Location: YSNURSE+2
Function Call: WRITE
  • Prompt: @IOF,!!?IOM-$L("S/R MANAGEMENT REPORT BY PATIENT EPISODE")\2,"S/R MANAGEMENT REPORT BY PATIENT EPISODE",!
  • Line Location: YSINQ+2
Function Call: WRITE
  • Prompt: !
  • Line Location: YSDIP+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: BEGDT+1
Function Call: WRITE
  • Prompt: !!,"WARNING - This report prints out in a 132 column format.",!,"DO NOT SEND TO A TERMINAL."
  • Line Location: WARN+1
Routine Call
  • DIC
  • Line Location:
    • YSINQ+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YS(615.2 - [#615.2] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^YS(615.2 - [#615.2] YSINQ+3, PARSE+1

Label References

Name Line Occurrences
BEGDT SETUP+1
ENDDT SETUP+2
INIT YSINQ+2, SETUP+1
KILL YSMGT+2, YSREV+2, YSDATE+2, YSWARD+2, YSNURSE+2, YSINQ+3, YSDIP+1
SETUP YSMGT+2, YSREV+2, YSDATE+2, YSWARD+2, YSNURSE+2
WARN YSMGT+2
YSDIP YSMGT+4, YSREV+3, YSDATE+3, YSWARD+3, YSNURSE+3, YSINQ+4

Naked Globals

Name Field # of Occurrence
^(40 PARSE+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT BEGDT+1*!, ENDDT+1*!
%DT("A" BEGDT+1*, ENDDT+1*
%DT("B" ENDDT+1*
%DT(0 BEGDT+1*, ENDDT+1*
BY YSMGT+3*, YSREV+3*, YSDATE+3*, YSWARD+3*, YSNURSE+3*, YSINQ+4*, KILL+1!
>> D YSINQ+3*
>> D0 PARSE+1
DIC YSMGT+3*, YSREV+3*, YSDATE+3*, YSWARD+3*, YSNURSE+3*, YSINQ+3*, YSINQ+4*, KILL+1!
DIC("A" YSINQ+3*!
DIC(0 YSINQ+3*
DIOBEG YSDIP+2, KILL+1!
DIOEND YSDIP+2*, KILL+1!
>> DIS(0 YSMGT+3*, YSREV+3*, YSDATE+3*, YSWARD+3*, YSNURSE+3*, YSINQ+4*
>> DLAYGO YSINQ+3*
>> DTOUT BEGDT+2, ENDDT+2
>> DUOUT BEGDT+2, ENDDT+2
FLDS YSMGT+3*, YSREV+3*, YSDATE+3*, YSWARD+3*, YSNURSE+3*, YSINQ+4*, KILL+1!
FR YSINQ+4*, KILL+1!
IOF YSMGT+2, YSREV+2, YSDATE+2, YSWARD+2, YSNURSE+2, YSINQ+2
IOM YSREV+2, YSDATE+2, YSWARD+2, YSNURSE+2, YSINQ+2
>> L YSDIP+2*
L1 KILL+1!
L2 KILL+1!
R1 PARSE+1*, PARSE+2, PARSE+4!, PARSE+5, PARSE+10!
R2 PARSE+1*, PARSE+3, PARSE+4!, PARSE+5, PARSE+10!
R3 PARSE+9*, PARSE+10!
R4 PARSE+9*, PARSE+10!
TO YSINQ+4*, KILL+1!
U YSINQ+3, PARSE+1
>> X SETUP+3*, PARSE+5*, PARSE+7*, PARSE+8*, PARSE+9
>> X1 PARSE+5*, PARSE+7
>> X2 PARSE+7*
>> Y YSINQ+3, SETUP+1, SETUP+2, SETUP+4*, BEGDT+2, ENDDT+2, PARSE+2*, PARSE+3*, PARSE+7*, PARSE+8
YSB KILL+1!, SETUP+1*, SETUP+3*, SETUP+4
YSCLN KILL+1!
YSDIPA KILL+1!
YSDIPA("HLN" HEADER+1*
YSDIPA("HLN2" HEADER+1*
YSDIPA("YSAT" PARSE+1!, PARSE+2*
YSDIPA("YSAT1" PARSE+1!, PARSE+2*
YSDIPA("YSBEG" SETUP+4*
YSDIPA("YSEND" SETUP+4*
YSDIPA("YSLCN" SITE+1*
YSDIPA("YSRT" PARSE+1!, PARSE+3*, PARSE+4*
YSDIPA("YSRT1" PARSE+1!, PARSE+3*, PARSE+4*
YSDIPA("YSTT" PARSE+1!, PARSE+9*
YSE KILL+1!, SETUP+2*, SETUP+3*, SETUP+4
YSEND KILL+1!
YSH KILL+1!, PARSE+9*, PARSE+10!
>> YSI YSINQ+3*, YSINQ+4
YSLCN KILL+1!, INIT+1*, SITE+1*
YSM KILL+1!
YSMIN KILL+1!, PARSE+9*, PARSE+10!
YSQT YSDIP+1, KILL+1!
YSSRCTR KILL+1!, INIT+1*, PARSE+1*
YSTIME KILL+1!
>> YSTOUT YSMGT+2, YSREV+2, YSDATE+2, YSWARD+2, YSNURSE+2, SETUP+1, SETUP+2, BEGDT+2*, ENDDT+2*
>> YSUOUT YSMGT+2, YSREV+2, YSDATE+2, YSWARD+2, YSNURSE+2, SETUP+1*, SETUP+2*, BEGDT+2*, ENDDT+2*
YSVAR KILL+1!, INIT+1*, PARSE+10!
YSY KILL+1!
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