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

Package: Order Entry Results Reporting

Routine: ORMTIM02


Information

ORMTIM02 ; JM/SLC-ISC - PERFORM MISC TIME BASED ACTIVITIES ;04/30/13 05:29

Source Information

Source file <ORMTIM02.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 3 DOALERT^ORB3  CSVALUE^ORDEA  INIT^ORWGTASK  
Kernel 2 $$FMADD^XLFDT  $$GETSURO^XQALSURO  
VA FileMan 1 ^%DT  

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
Order Entry Results Reporting 1 ORMTIME  

Entry Points

Name Comments DBIA/ICR reference
MISC ; Perform misc time based activities
UNSIGNED ; Generate alerts for unsigned orders that were not alerted by CPRS
; This happens when CPRS crashes - through network connection drops or other causes
NEEDALRT(PROVIDER,DFN,ORNUM) ; Returns true if order needs an alert
HASALERT(USER,PATIENT) ; Returns true if alert exists for user and patient
MARKED(ORNUM) ; Returns true if the order has been marked as not needing an alert
MARK(ORNUM) ; Marks an order as already having been alerted
CLEAN ; Clean up old entries in ^XTMP

External References

Name Field # of Occurrence
^%DT UNSIGNED+16, UNSIGNED+17
DOALERT^ORB3 UNSIGNED+42
CSVALUE^ORDEA UNSIGNED+33
INIT^ORWGTASK MISC+3
$$FMADD^XLFDT UNSIGNED+19, UNSIGNED+21, UNSIGNED+36
$$GETSURO^XQALSURO NEEDALRT+8

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] UNSIGNED+24
^OR(100 - [#100] UNSIGNED+23, UNSIGNED+25, UNSIGNED+26, UNSIGNED+27, UNSIGNED+28, UNSIGNED+29
^XTMP( UNSIGNED+20*, MARKED+1, MARK+1*, MARK+2*, CLEAN+3, CLEAN+5, CLEAN+6!, CLEAN+7!
^XTV(8992 - [#8992] HASALERT+3, HASALERT+4

Label References

Name Line Occurrences
$$HASALERT NEEDALRT+6, NEEDALRT+9
$$MARKED NEEDALRT+2
$$NEEDALRT UNSIGNED+40
CLEAN UNSIGNED+44
MARK UNSIGNED+43, NEEDALRT+10
UNSIGNED MISC+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT UNSIGNED+2~, UNSIGNED+17*, UNSIGNED+22!
ALERTID HASALERT+1~, HASALERT+2*, HASALERT+3, HASALERT+4
DATE HASALERT+1~, HASALERT+4*, HASALERT+5
DFN NEEDALRT~, NEEDALRT+6, NEEDALRT+9
IDX CLEAN+1~, CLEAN+2*, CLEAN+3*, CLEAN+5, CLEAN+7
MINDAYS UNSIGNED+4~, UNSIGNED+8*, UNSIGNED+15, UNSIGNED+22!
MINTIME UNSIGNED+4~, UNSIGNED+7*, UNSIGNED+14, UNSIGNED+22!
ORBADUZ UNSIGNED+3~, UNSIGNED+41*
ORBDFN UNSIGNED+3~, UNSIGNED+38*, UNSIGNED+40
ORBPDATA UNSIGNED+3~, UNSIGNED+41*
ORBPMSG UNSIGNED+3~, UNSIGNED+41*
ORCSVAL UNSIGNED+32~, UNSIGNED+33, UNSIGNED+35
ORMARKID UNSIGNED+3~, UNSIGNED+5*, UNSIGNED+20, MARKED+1, MARK+1, MARK+2, CLEAN+3, CLEAN+5, CLEAN+6, CLEAN+7
ORMINT UNSIGNED+32~, UNSIGNED+34*, UNSIGNED+35*, UNSIGNED+36
ORMINTIM UNSIGNED+3~, UNSIGNED+14*, UNSIGNED+34
ORN UNSIGNED+3~, UNSIGNED+5*
ORNUM UNSIGNED+3~, UNSIGNED+39*, UNSIGNED+40, UNSIGNED+43, NEEDALRT~, NEEDALRT+2, NEEDALRT+10, MARKED~, MARKED+1, MARK~
, MARK+1, MARK+2, CLEAN+1~, CLEAN+4*, CLEAN+5*, CLEAN+6, CLEAN+7
ORZDATE UNSIGNED+2~, UNSIGNED+25*, UNSIGNED+26, UNSIGNED+27
ORZIEN UNSIGNED+2~, UNSIGNED+26*, UNSIGNED+27, UNSIGNED+28, UNSIGNED+29, UNSIGNED+33, UNSIGNED+39
ORZNOW UNSIGNED+2~, UNSIGNED+18*, UNSIGNED+19, UNSIGNED+20, UNSIGNED+21, UNSIGNED+36, CLEAN+3
ORZPAT UNSIGNED+2~, UNSIGNED+23*, UNSIGNED+24, UNSIGNED+25, UNSIGNED+26, UNSIGNED+27, UNSIGNED+38
ORZPURGE UNSIGNED+2~, UNSIGNED+19*, UNSIGNED+20, UNSIGNED+21*, MARK+2
ORZREC8 UNSIGNED+3~, UNSIGNED+29*, UNSIGNED+30, UNSIGNED+31, UNSIGNED+37, UNSIGNED+40
ORZSDATE UNSIGNED+2~, UNSIGNED+16*, UNSIGNED+25
ORZSIGDT UNSIGNED+3~, UNSIGNED+30*
ORZSTS UNSIGNED+3~, UNSIGNED+31*
ORZSUB UNSIGNED+2~, UNSIGNED+27*, UNSIGNED+28, UNSIGNED+29, UNSIGNED+39
ORZTIME UNSIGNED+2~, UNSIGNED+36*, UNSIGNED+37
ORZWHEN UNSIGNED+3~, UNSIGNED+37*
PATIENT HASALERT~, HASALERT+2
PROVIDER NEEDALRT~, NEEDALRT+6, NEEDALRT+8
RESULT NEEDALRT+4~, NEEDALRT+5*, NEEDALRT+6*, NEEDALRT+9*, NEEDALRT+10, NEEDALRT+11, HASALERT+1~, HASALERT+2*, HASALERT+5*, HASALERT+6
SUROGATE NEEDALRT+4~, NEEDALRT+8*, NEEDALRT+9
U UNSIGNED+20, UNSIGNED+24, UNSIGNED+30, UNSIGNED+31, UNSIGNED+37, UNSIGNED+40, NEEDALRT+8
USER HASALERT~, HASALERT+3, HASALERT+4
X UNSIGNED+2~, UNSIGNED+15*, UNSIGNED+17*, UNSIGNED+22!
XTMPDAYS UNSIGNED+4~, UNSIGNED+10*, UNSIGNED+19, UNSIGNED+22!
XTMPHOUR UNSIGNED+4~, UNSIGNED+11*, UNSIGNED+21, UNSIGNED+22!
Y UNSIGNED+2~, UNSIGNED+16, UNSIGNED+18, UNSIGNED+22!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All