ORRDI2 ; SLC/JMH - RDI routine for user interface and data cleanup; 3/24/05 2:31 ;02/08/12 08:36
Source file <ORRDI2.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 5 | OR RDI PARAMS ORKCHK ORMTIM01 ORRDI1 ORRDI2 |
Kernel | 1 | ^DIC(19 |
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 |
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 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
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 |
>> | 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 |