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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ORWGTASK

Package: Order Entry Results Reporting

Routine: ORWGTASK


Information

ORWGTASK ; SLC/STAFF - Graph Task ;3/17/08 10:48

Source Information

Source file <ORWGTASK.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 3 ^%ZTLOAD  ($$DOW,$$FMADD)^XLFDT  $$RES^XUDHSET  
Order Entry Results Reporting 3 (ITEMDATA,TYPES)^ORWGAPI  ITEMS^ORWGAPIR  ($$NOW,$$ZZ)^ORWGAPIX  

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

Package Total Caller Graph
Order Entry Results Reporting 4 ORMTIM02  ORWGAPI  ORWGAPIF  ORWGTEST  

Entry Points

Name Comments DBIA/ICR reference
SETLAST(PAT) ; from ORWGAPI - set whenever patient is graphed
INIT(OK) ; from ORMTIM02 - run by ORMTIME (OK=0)
CLEANALL ;
CLRDATA(DFN) ;
UPDATE(TASKED,DFN,USER,OLDDFN) ; from ORWGAPI
; whenever patient is selected
; to update, cache must exist and user/patient combo has used graphs
COUNT(EVENT,DFN,USER) ;
CLEARPT(DFN,USER) ;
UP ; dequeued from ORWGTASK
; ORUSER, ORPAT, ORTSTMP were saved
START ;
PROCESS(NEXT,TIMES) ;
ALL(GSTAMP,DFN,USER) ;
GETDATA(TYPES,GSTAMP,GTIME,PATUSER,START,BACKTO) ;
SIZE(TYPEITEM,START,DFN,BACKTO,SIZE) ;
RESOURCE ; from ORWGAPIU on post init, setup graphing resource device
GSTAMP(GSTAMP,TIME1,TIME2,PIECE) ;
MNOW() ;
CLEAN ;

External References

Name Field # of Occurrence
^%ZTLOAD UPDATE+24
ITEMDATA^ORWGAPI SIZE+3
TYPES^ORWGAPI ALL+10
ITEMS^ORWGAPIR ALL+17
$$NOW^ORWGAPIX SETLAST+4, INIT+15, INIT+30, INIT+31, UPDATE+16, UP+5, PROCESS+7, ALL+3, ALL+30, ALL+32
, ALL+34
$$ZZ^ORWGAPIX MNOW+1
$$DOW^XLFDT INIT+8, INIT+11
$$FMADD^XLFDT INIT+13, INIT+14, ALL+29
$$RES^XUDHSET RESOURCE+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("ORGAI" ALL+2!, ALL+18*, ALL+25, ALL+36!, GETDATA+10, GETDATA+11, GETDATA+24, GETDATA+25
^TMP("ORGD" GETDATA+2!, GETDATA+32, GETDATA+37!, SIZE+7*
^TMP("ORGI" ALL+2!, ALL+15!, ALL+18, ALL+19!, ALL+36!
^TMP("ORGID" GETDATA+2!, GETDATA+37!, SIZE+2!, SIZE+5, SIZE+6
^TMP("ORGNI" GETDATA+2!, GETDATA+14*, GETDATA+17, GETDATA+18, GETDATA+37!
^TMP("ORGT" ALL+2!, ALL+11, ALL+13, ALL+14, ALL+36!
^XTMP("ORGDATA" SETLAST+6*, SETLAST+7*, SETLAST+8*, INIT+16*, INIT+21, INIT+22, INIT+31*, CLEANALL+1!, CLRDATA+3, CLRDATA+10!
, UPDATE+10, UPDATE+13, UPDATE+14, COUNT+2, COUNT+3, COUNT+4, COUNT+5, COUNT+7, COUNT+8, COUNT+9
, COUNT+10, UP+9*, UP+10*, GETDATA+21*, GETDATA+30*, GSTAMP+1*
^XTMP("ORGRAPH" INIT+3, INIT+7, INIT+8, INIT+11, INIT+17*, INIT+25*, INIT+30*, CLEANALL+2!, CLRDATA+5!, CLRDATA+6!
, CLRDATA+7!, CLRDATA+8!, CLRDATA+9!, UPDATE+7, CLEARPT+3!, CLEARPT+4!, CLEARPT+5!, UP+8*, UP+12*, UP+13
UP+14*, START+1*, START+7, START+12, START+13!, START+15!, PROCESS+7*, ALL+21, ALL+22, ALL+24
, ALL+25*, ALL+26, ALL+27, ALL+35*, GETDATA+8, GETDATA+32*, GETDATA+34, GETDATA+35*, GETDATA+36, CLEAN+1!

Label References

Name Line Occurrences
$$MNOW UPDATE+19, UP+6, ALL+8, ALL+9, GETDATA+20, GETDATA+29, GETDATA+31, GETDATA+38
ALL PROCESS+6
CLEANALL INIT+5, INIT+10
CLEARPT UPDATE+11, UPDATE+17
CLRDATA INIT+24
COUNT SETLAST+9, UPDATE+9
GETDATA ALL+31, ALL+33
GSTAMP UP+11, ALL+8, GETDATA+20, GETDATA+29, GETDATA+38
PROCESS START+14
SIZE GETDATA+19, GETDATA+28
START UP+13
UPDATE INIT+29

Naked Globals

Name Field # of Occurrence
^( COUNT+3*, COUNT+5*, COUNT+8*, COUNT+10*
^("C" COUNT+2*, COUNT+4*
^("CG" COUNT+7*, COUNT+9*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALLSUBS GETDATA+1~, GETDATA+4*, GETDATA+34, GETDATA+35, GETDATA+36
BACKTO INIT+1~, INIT+13*, INIT+24, ALL+1~, ALL+29*, ALL+31, ALL+33, GETDATA~, GETDATA+14, GETDATA+19
, SIZE~, SIZE+3
CNT INIT+1~, INIT+18*, INIT+27*, INIT+30, INIT+31, ALL+1~, ALL+16*, ALL+17, GETDATA+1~, GETDATA+15*
COUNT START+2~, START+4*, START+10*, START+11
DATA GETDATA+1~, SIZE+1~, SIZE+6*, SIZE+7, SIZE+8
DFN INIT+1~, INIT+20*, INIT+21*, INIT+22, INIT+24, INIT+25, INIT+26, CLRDATA~, CLRDATA+3, CLRDATA+4
, CLRDATA+8, CLRDATA+9, CLRDATA+10, UPDATE~, UPDATE+9, UPDATE+12, UPDATE+13, UPDATE+14, UPDATE+17, UPDATE+20
, COUNT~, COUNT+2, COUNT+3, COUNT+5, COUNT+7, COUNT+8, COUNT+10, CLEARPT~, CLEARPT+2, PROCESS+1~
, PROCESS+4*, PROCESS+5, PROCESS+6, ALL~, ALL+4*, ALL+6, ALL+10, ALL+17, ALL+21, ALL+22
, ALL+27, ALL+35, GETDATA+1~, GETDATA+5*, GETDATA+8, GETDATA+19, GETDATA+28, GETDATA+32, GETDATA+35, SIZE~
, SIZE+3
DT INIT+7, INIT+8, INIT+11, INIT+13, INIT+14, INIT+16, INIT+17, ALL+28, ALL+35
DUZ SETLAST+3
EVENT COUNT~, COUNT+1, COUNT+6
GNOW UP+2~, UP+6*, UP+11
GSTAMP UP+2~, UP+4*, UP+9, UP+11, PROCESS+1~, PROCESS+5*, PROCESS+6, ALL~, ALL+8, ALL+31
, ALL+33, GETDATA~, GETDATA+20, GETDATA+21, GETDATA+29, GETDATA+30, GETDATA+38, GSTAMP~, GSTAMP+1
GTIME ALL+9*, ALL+31, ALL+33, GETDATA~, GETDATA+20, GETDATA+29, GETDATA+31*, GETDATA+38
IN PROCESS+1~
ITEM INIT+1~
LASTDATE ALL+1~, ALL+27*, ALL+28*, ALL+29
LASTDFN INIT+1~, INIT+19*, INIT+26*, INIT+29
MAX START+2~, START+3*, START+11
NEXT START+2~, START+6*, START+7*, START+8, START+12, START+13, START+14, START+15, PROCESS~, PROCESS+2
, PROCESS+3, PROCESS+4
NOW SETLAST+1~, SETLAST+4*, SETLAST+6, SETLAST+7, SETLAST+8, INIT+1~, INIT+15*, INIT+16, INIT+25, INIT+30
, UPDATE+4~, UPDATE+16*, UPDATE+21, UP+2~, UP+5*, UP+8, UP+12
NUM ALL+1~, ALL+12*, ALL+13*, ALL+14, GETDATA+1~, GETDATA+16*, GETDATA+17*, GETDATA+18, GETDATA+23*, GETDATA+24*
, GETDATA+25, SIZE+1~, SIZE+4*, SIZE+5*, SIZE+6
NUM1 GETDATA+1~
OK INIT~, INIT+2*, INIT+4*, INIT+6, INIT+9*, INIT+11*, INIT+12, INIT+28*
OLDDFN UPDATE~, UPDATE+11
OLDSUBS GETDATA+1~, GETDATA+3*, GETDATA+8, GETDATA+32, GETDATA+35
>> ORMTIME UP+4, UP+8, UP+10, UP+11
>> ORPAT UP+3, UP+4, UP+10
>> ORTSTMP UP+3
>> ORUSER UP+3, UP+4, UP+10, UP+12
OUT PROCESS+1~
PAT SETLAST~, SETLAST+2*, SETLAST+5, SETLAST+6, SETLAST+7, SETLAST+9
PATUSER CLRDATA+1~, CLRDATA+4*, CLRDATA+5, CLRDATA+6, CLRDATA+7, CLEARPT+1~, CLEARPT+2*, CLEARPT+3, CLEARPT+4, CLEARPT+5
, ALL+1~, ALL+6*, ALL+24, ALL+25, ALL+26, ALL+31, ALL+33, GETDATA~, GETDATA+5, GETDATA+6
, GETDATA+34, GETDATA+35, GETDATA+36
PIECE GSTAMP~, GSTAMP+1
PREV ALL+1~, ALL+20*, ALL+21*, ALL+22*
PURGE INIT+1~, INIT+14*, INIT+16, INIT+17
SIZE GETDATA+7*, GETDATA+19, GETDATA+21, GETDATA+28, GETDATA+30, SIZE~, SIZE+8*
STAMP UP+2~, UP+3*, UP+8
START ALL+1~, ALL+3*, ALL+7, ALL+31, ALL+33, GETDATA~, GETDATA+19, GETDATA+28, SIZE~, SIZE+3
STOP START+2~, START+5*, START+7, START+11*
SUB GETDATA+1~, GETDATA+9*, GETDATA+10*, GETDATA+11, GETDATA+14
TASKED INIT+1~, INIT+29, UPDATE~, UPDATE+6*, UPDATE+8*, UPDATE+15*
TIME INIT+1~, INIT+22*, INIT+23, INIT+24
TIME1 GSTAMP~, GSTAMP+1
TIME2 GSTAMP~, GSTAMP+1
TIMED ALL+1~, ALL+30*
TIMEI ALL+1~, ALL+7*
TIMEL ALL+1~, ALL+32*
TIMES START+2~, START+12*, START+14, PROCESS~, PROCESS+5
TIMEZ ALL+1~, ALL+34*
TSTMP PROCESS+1~, PROCESS+2*
TYPE ALL+1~, ALL+14*, ALL+17
TYPEITEM GETDATA+1~, GETDATA+11*, GETDATA+12, GETDATA+13, GETDATA+14, GETDATA+18*, GETDATA+19, GETDATA+25*, GETDATA+26, GETDATA+27
, GETDATA+28, SIZE~, SIZE+3
TYPES GETDATA~, GETDATA+3, GETDATA+4, GETDATA+12, GETDATA+13, GETDATA+26, GETDATA+27
U INIT+7, INIT+16, INIT+17, INIT+30, INIT+31, CLRDATA+4, CLEARPT+2, UP+3, UP+4, UP+8
UP+10, UP+12, PROCESS+2, PROCESS+3, PROCESS+4, PROCESS+5, PROCESS+7, ALL+6, ALL+14, GETDATA+6
, GETDATA+12, GETDATA+13, GETDATA+14, GETDATA+21, GETDATA+26, GETDATA+27, GETDATA+30, SIZE+7
USER SETLAST+1~, SETLAST+3*, SETLAST+5, SETLAST+7, SETLAST+8, SETLAST+9, CLRDATA+1~, CLRDATA+2*, CLRDATA+3*, CLRDATA+4
, UPDATE~, UPDATE+9, UPDATE+10, UPDATE+11, UPDATE+14, UPDATE+17, UPDATE+22, COUNT~, COUNT+3, COUNT+4
, COUNT+5, COUNT+8, COUNT+9, COUNT+10, CLEARPT~, CLEARPT+2, PROCESS+1~, PROCESS+3*, PROCESS+5, PROCESS+6
, PROCESS+7, ALL~, ALL+5*, ALL+6, ALL+23, GETDATA+1~, GETDATA+6*, GETDATA+33
X RESOURCE+1~, RESOURCE+2*
ZTDESC UPDATE+4~, UPDATE+18*
ZTDTH UPDATE+4~, UPDATE+18*
ZTIO UPDATE+4~, UPDATE+18*
>> ZTQUEUED UP+7
>> ZTREQ UP+7*
ZTRTN UPDATE+4~, UPDATE+23*
ZTSAVE UPDATE+4~!
ZTSAVE("ORMTIME" UPDATE+19*
ZTSAVE("ORPAT" UPDATE+20*
ZTSAVE("ORTSTMP" UPDATE+21*
ZTSAVE("ORUSER" UPDATE+22*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All