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 ;05/02/06

Source Information

Source file <ORMTIM02.m>

Call Graph

Call Graph Total: 5

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

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Order Entry Results Reporting 1 ORMTIME  

Entry Points

Name Comments DBIA/ICR reference
NEEDALRT(PROVIDER,DFN,ORNUM) ; Returns true if order needs an alert
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
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
HASALERT(USER,PATIENT) ; Returns true if alert exists for user and patient

External References

Name Field # of Occurrence
^%DT UNSIGNED+15, UNSIGNED+16
DOALERT^ORB3 UNSIGNED+37
INIT^ORWGTASK MISC+3
$$FMADD^XLFDT UNSIGNED+18, UNSIGNED+19, UNSIGNED+21
$$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+35
CLEAN UNSIGNED+39
MARK UNSIGNED+38, NEEDALRT+10
UNSIGNED MISC+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT UNSIGNED+2~, UNSIGNED+16*, 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+14, UNSIGNED+22!
MINTIME UNSIGNED+4~, UNSIGNED+7*, UNSIGNED+18, UNSIGNED+22!
ORBADUZ UNSIGNED+3~, UNSIGNED+36*
ORBDFN UNSIGNED+3~, UNSIGNED+33*, UNSIGNED+35
ORBPDATA UNSIGNED+3~, UNSIGNED+36*
ORBPMSG UNSIGNED+3~, UNSIGNED+36*
ORMARKID UNSIGNED+3~, UNSIGNED+5*, UNSIGNED+20, MARKED+1, MARK+1, MARK+2, CLEAN+3, CLEAN+5, CLEAN+6, CLEAN+7
ORN UNSIGNED+3~, UNSIGNED+5*
ORNUM UNSIGNED+3~, UNSIGNED+34*, UNSIGNED+35, UNSIGNED+38, 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+34
ORZNOW UNSIGNED+2~, UNSIGNED+17*, UNSIGNED+18, UNSIGNED+19, UNSIGNED+20, UNSIGNED+21, CLEAN+3
ORZPAT UNSIGNED+2~, UNSIGNED+23*, UNSIGNED+24, UNSIGNED+25, UNSIGNED+26, UNSIGNED+27, UNSIGNED+33
ORZPURGE UNSIGNED+2~, UNSIGNED+19*, UNSIGNED+20, UNSIGNED+21*, MARK+2
ORZREC8 UNSIGNED+3~, UNSIGNED+29*, UNSIGNED+30, UNSIGNED+31, UNSIGNED+32, UNSIGNED+35
ORZSDATE UNSIGNED+2~, UNSIGNED+15*, UNSIGNED+25
ORZSIGDT UNSIGNED+3~, UNSIGNED+30*
ORZSTS UNSIGNED+3~, UNSIGNED+31*
ORZSUB UNSIGNED+2~, UNSIGNED+27*, UNSIGNED+28, UNSIGNED+29, UNSIGNED+34
ORZTIME UNSIGNED+2~, UNSIGNED+18*, UNSIGNED+32
ORZWHEN UNSIGNED+3~, UNSIGNED+32*
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+32, UNSIGNED+35, NEEDALRT+8
USER HASALERT~, HASALERT+3, HASALERT+4
X UNSIGNED+2~, UNSIGNED+14*, UNSIGNED+16*, UNSIGNED+22!
XTMPDAYS UNSIGNED+4~, UNSIGNED+10*, UNSIGNED+19, UNSIGNED+22!
XTMPHOUR UNSIGNED+4~, UNSIGNED+11*, UNSIGNED+21, UNSIGNED+22!
Y UNSIGNED+2~, UNSIGNED+15, UNSIGNED+17, UNSIGNED+22!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All