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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORRDI2

Package: Order Entry Results Reporting

Routine: ORRDI2


Information

ORRDI2 ; SLC/JMH - RDI routine for user interface and data cleanup; 3/24/05 2:31 ;02/08/12 08:36

Source Information

Source file <ORRDI2.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 4 UNWIND^%ZTER  ^%ZTLOAD  ($$FMADD,$$FMDIFF,$$NOW)^XLFDT  $$PATCH^XPDUTL  
Order Entry Results Reporting 2 ($$MSGERR,PARSE)^ORRDI1  SPAWN^ORRDI2  
Toolkit 1 ($$GET,EN)^XPAR  
VA FileMan 1 ^DIR  
Web Services Client 1 ($$EOFAC,$$GET,$$GETREST,ERRDISP)^XOBWLIB  

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

Package Total Caller Graph
Order Entry Results Reporting 5 OR RDI PARAMS  ORKCHK  ORMTIM01  ORRDI1  ORRDI2  
Kernel 1 ^DIC(19  

Entry Points

Name Comments DBIA/ICR reference
SET ;utility to set RDI related parameters
HELP1 ;
HELP3 ;
LIST ;
CLEANUP ;
DOWNRPC(ORY) ;can be used in an RPC to check if RDI is in an OUTAGE state (HDR DOWN)
DICNPVAL() ;parameter value for dummy patient ICN
FAILPVAL() ;parameter value for failure threshold
SUCCPVAL() ;parameter value for success threshold
PINGPVAL() ;parameter value for ping frequency
DOWNXVAL() ;xtmp value for OUTAGE state
FAILXVAL() ;xtmp value for number of failed reads
SUCCXVAL() ;xtmp value for number of successful reads
PINGXVAL() ;xtmp value for last ping time
LDPTTVAL(DFN) ;tmp value for if the local data only message has been shown to the user during ordering session
SPAWN ;subroutine to spawn the DOWNTSK task
DOWNTSK ;subroutine to check if HDR is back up
TCOLD() ;call to send a test call to CDS...returns 1 if successful, 0 OR -9 if not
TESTCALL() ;call to send a test call to CDS...returns 1 if successful, 0 or -9 if not
ERRH

External References

Name Field # of Occurrence
UNWIND^%ZTER ERRH+5
^%ZTLOAD SPAWN+7
^DIR SET+14, SET+29
$$MSGERR^ORRDI1 TESTCALL+10
PARSE^ORRDI1 TESTCALL+9
SPAWN^ORRDI2 CLEANUP+14
$$FMADD^XLFDT CLEANUP+4
$$FMDIFF^XLFDT CLEANUP+11, CLEANUP+14, DOWNTSK+5
$$NOW^XLFDT CLEANUP+3, CLEANUP+11, CLEANUP+14, SPAWN+6, DOWNTSK+2, DOWNTSK+5, DOWNTSK+9, DOWNTSK+17
$$EOFAC^XOBWLIB ERRH+1
$$GET^XOBWLIB TCOLD+4, TESTCALL+6
$$GETREST^XOBWLIB TCOLD+3, TESTCALL+5
ERRDISP^XOBWLIB ERRH+2
$$GET^XPAR SET+8, SET+19, SET+23, LIST+2, LIST+3, CLEANUP+2, DICNPVAL+1, FAILPVAL+1, SUCCPVAL+1, PINGPVAL+1
EN^XPAR SET+17, SET+32
$$PATCH^XPDUTL SET+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"This menu is locked until patch OR*3.0*238 is installed."
  • Line Location: SET+2
Function Call: WRITE
  • Prompt: !!,"Sets System wide parameters to control order checking against"
  • Line Location: SET+4
Function Call: WRITE
  • Prompt: !," remote data",!
  • Line Location: SET+5
Function Call: WRITE
  • Prompt: "Set this to ""YES"" if this system has an HDR system that"
  • Line Location: HELP1+1
Function Call: WRITE
  • Prompt: !," it uses to access remote data."
  • Line Location: HELP1+2
Function Call: WRITE
  • Prompt: "Set this to the number of minutes that the retrieved data is "
  • Line Location: HELP3+1
Function Call: WRITE
  • Prompt: !," to be considered valid for order checking purposes."
  • Line Location: HELP3+2
Function Call: WRITE
  • Prompt: !
  • Line Location: LIST+1
Function Call: WRITE
  • Prompt: $$GET^XPAR("SYS","OR RDI HAVE HDR")," "
  • Line Location: LIST+2
Function Call: WRITE
  • Prompt: $$GET^XPAR("SYS","OR RDI CACHE TIME")
  • Line Location: LIST+3
Function Call: WRITE
  • Prompt: !!
  • Line Location: ERRH+2
Routine Call
  • DIR
  • Line Location:
    • SET+14
    • SET+29

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J LDPTTVAL+1, TESTCALL+8!, TESTCALL+10!, TESTCALL+11!
^XTMP("ORRDI" CLEANUP+6, CLEANUP+7, CLEANUP+8!, CLEANUP+11!, DOWNXVAL+1, FAILXVAL+1, SUCCXVAL+1, PINGXVAL+1, SPAWN+1!, DOWNTSK+2*
DOWNTSK+9*, DOWNTSK+13*, DOWNTSK+15*, DOWNTSK+16!, DOWNTSK+17*, TESTCALL+3, TESTCALL+4

Label References

Name Line Occurrences
$$DOWNXVAL CLEANUP+13, DOWNRPC+1, DOWNTSK+3
$$PINGPVAL CLEANUP+14, DOWNTSK+6
$$PINGXVAL CLEANUP+14, DOWNTSK+5
$$SUCCPVAL DOWNTSK+3
$$SUCCXVAL DOWNTSK+3, DOWNTSK+13
$$TCOLD TESTCALL+3
$$TESTCALL DOWNTSK+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN CLEANUP+1~, CLEANUP+5*, CLEANUP+6*, CLEANUP+7, CLEANUP+8, LDPTTVAL~, LDPTTVAL+1
DIR SET+7~, SET+22~
DIR("?" SET+12*, SET+27*
DIR("A" SET+10*, SET+25*
DIR("B" SET+11*, SET+26*
DIR(0 SET+13*, SET+28*
DOM CLEANUP+1~, CLEANUP+6*, CLEANUP+7, CLEANUP+8
DTOUT SET+7~, SET+15, SET+22~, SET+30
NOW CLEANUP+1~, CLEANUP+3*, CLEANUP+4
ORDIFF CLEANUP+10~, CLEANUP+11*
ORDT CLEANUP+10~*, CLEANUP+11*
ORERR TCOLD+1~, TCOLD+4, TESTCALL+1~, TESTCALL+6, ERRH+1*, ERRH+2
ORLE DOWNTSK+1~*, ERRH+4*
ORREQ TCOLD+1~, TCOLD+2*, TCOLD+4, TESTCALL+1~, TESTCALL+4*, TESTCALL+6
ORRET TCOLD+1~, TCOLD+4*, TCOLD+5, TESTCALL+1~, TESTCALL+6*, TESTCALL+7
ORXML TCOLD+1~, TCOLD+3*, TCOLD+4, TESTCALL+1~, TESTCALL+5*, TESTCALL+6
ORY DOWNRPC~, DOWNRPC+1*
QUIT SET+3~, SET+6, SET+16*, SET+20*, SET+21, SET+31*
QUITALL SET+3~, SET+6, SET+15*, SET+18, SET+21, SET+30*
RSLT DOWNTSK+4~, DOWNTSK+11*, DOWNTSK+13, DOWNTSK+15
THRESH CLEANUP+1~, CLEANUP+4*, CLEANUP+8
TIME CLEANUP+1~, CLEANUP+7*, CLEANUP+8
VAL SET+7~, SET+8*, SET+9, SET+22~, SET+23*, SET+24, CLEANUP+1~, CLEANUP+2*, CLEANUP+4
VALEXT SET+7~, SET+9*, SET+11, SET+22~, SET+24*, SET+26
WAIT DOWNTSK+4~, DOWNTSK+5*, DOWNTSK+6*, DOWNTSK+8
XML TCOLD+1~, TCOLD+7
Y SET+7~, SET+15, SET+16, SET+17, SET+22~, SET+30, SET+31, SET+32
ZTDESC SPAWN+2~, SPAWN+3*
ZTDTH SPAWN+2~, SPAWN+6*
ZTIO SPAWN+2~, SPAWN+5*
ZTRTN SPAWN+2~, SPAWN+4*
ZTSAVE SPAWN+2~
ZTSK SPAWN+2~, ERRH+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All