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

Package: Order Entry Results Reporting

Routine: OREV1


Information

OREV1 ;SLC/DAN Event delayed orders set up continued ;1/14/03 11:54

Source Information

Source file <OREV1.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA FileMan 3 FILE^DICN  ^DIE  ^DIR  
Order Entry Results Reporting 2 UPDTCHLD^OREV3  $$ACTSURG^OREV4  
Kernel 1 $$NOW^XLFDT  
List Manager 1 FULL^VALM1  
Toolkit 1 ENVAL^XPAR  

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

Package Total Caller Graph
Order Entry Results Reporting 8 OREV  OREV2  OREV3  ^ORD(100.5  ^ORD(100.6  MAS MOVEMENT TYPES  OREV SWITCH  OREV SWITCH IN DETAIL  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
SCR ;Sets DIC("S") for MAS MOVEMENT TYPE field of either file
ACT ;Inactivate or reactivate an event or auto dc rule
FLIP(DA) ;Check status and flip if necessary
SET(MIEN,X) ;add new multiple to activation history
INUSE(MULT) ;determine if location or treating specialty is already in use
CANACT(DA,USED) ;Function returns whether or not an entry can be activated.
INUSEDC() ;Checks AUTO-DC rules for unique movement types
HASREQD() ;Function returns whether entry has required entries or not
CHKTYP(IEN) ;Check type of event and delete fields that are no longer needed based on the event type
ORDERS(ACTION) ; -- Return order numbers to act on, if action chosen first
CANDEL(FILE) ;Determines if event or rule can be deleted
ASKOBS() ;Function to determine if 'except from observation' field should be asked.
DELMUL(FILE,IEN,LOC) ;Delete multiple entries for entry IEN in file FILE stored at location LOC
RELEVNTS(DA) ;Check to see if release event is currently being pointed to

External References

Name Field # of Occurrence
FILE^DICN SET+4
^DIE FLIP+32, FLIP+33, CHKTYP+5, CHKTYP+8, DELMUL+3
^DIR FLIP+10, FLIP+13, FLIP+21, FLIP+28, FLIP+30, ORDERS+6
UPDTCHLD^OREV3 FLIP+33
$$ACTSURG^OREV4 FLIP+8
FULL^VALM1 ACT+2
$$NOW^XLFDT FLIP+3
ENVAL^XPAR CANDEL+9, CANDEL+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,NAME," is currently ",$S(STAT:"IN",1:"")_"ACTIVE."
  • Line Location: FLIP+5
Function Call: WRITE
  • Prompt: !!,"There are delayed orders awaiting release that are associated with this event.",!,"This event, even if inactivated, will still be applied to these delayed orders.",!!
  • Line Location: FLIP+6
Function Call: WRITE
  • Prompt: !!,"Inactivating auto-dc rules takes effect immediately.",!
  • Line Location: FLIP+7
Function Call: WRITE
  • Prompt: !,"Nothing changed!"
  • Line Location: FLIP+31
Function Call: WRITE
  • Prompt: !,NAME," is now "_$S(STAT:"",1:"IN")_"ACTIVATED!"
  • Line Location: FLIP+32
Function Call: WRITE
  • Prompt: !!,"Enter item number to edit or press enter to create a new entry"
  • Line Location: ORDERS+3
Function Call: WRITE
  • Prompt: !,">>>Too many entries selected, try using smaller ranges"
  • Line Location: ORDERS+7
Function Call: WRITE
  • Prompt: !,"< Can't delete this event because file 100.2 is pointing to it > "
  • Line Location: CANDEL+6
Function Call: WRITE
  • Prompt: !,"< Can't delete parent events that have children > "
  • Line Location: CANDEL+7
Function Call: WRITE
  • Prompt: !,"< Can't delete event because parameters are pointing to it > "
  • Line Location: CANDEL+15
Function Call: WRITE
  • Prompt: !,"< Can't delete this rule because file 100.2 is pointing to it > "
  • Line Location: CANDEL+18
Routine Call
  • DIE
  • Line Location:
    • FLIP+32
    • FLIP+33
    • CHKTYP+5
    • CHKTYP+8
    • DELMUL+3
Routine Call
  • DIR
  • Line Location:
    • FLIP+10
    • FLIP+13
    • FLIP+21
    • FLIP+28
    • FLIP+30
    • ORDERS+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(405.2 - [#405.2] FLIP+26
^DIC(42 - [#42] FLIP+19
^DIC(45.7 - [#45.7] FLIP+19
^ORD(100.5 - [#100.5] FLIP+11, INUSE+3, INUSE+4, INUSE+5, INUSE+6, INUSE+7, INUSE+8, INUSE+9, CANACT+7, HASREQD+4
, HASREQD+5, HASREQD+6, CHKTYP+3, CANDEL+7
^ORD(100.6 - [#100.6] FLIP+26, CANACT+11, INUSEDC+3, INUSEDC+4, HASREQD+8, HASREQD+9, HASREQD+10, CHKTYP+7, ASKOBS+3, ASKOBS+4
^ORE(100.2 - [#100.2] CANDEL+6, CANDEL+18, RELEVNTS+3
^TMP("OREDO" ACT+5
^XTV(8989.51 - [#8989.51] CANDEL+3, CANDEL+4

Label References

Name Line Occurrences
$$CANACT FLIP+14, FLIP+22
$$INUSE CANACT+8
$$INUSEDC CANACT+12
$$ORDERS ACT+4
$$RELEVNTS FLIP+6
DELMUL CHKTYP+4, CHKTYP+9, CHKTYP+10, CHKTYP+11
FLIP ACT+5
SET FLIP+34

Naked Globals

Name Field # of Occurrence
^( CANACT+8, CANACT+12, INUSEDC+4
^(0 FLIP+2, FLIP+11
^(1 FLIP+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTION ORDERS~, ORDERS+3, ORDERS+5
ACTIVE INUSE+1~, INUSE+6*, INUSE+7, INUSE+8, INUSE+9
ANS ASKOBS+1~, ASKOBS+2*, ASKOBS+3*, ASKOBS+4*, ASKOBS+5
CANACT CANACT+4~, CANACT+5*, CANACT+8*, CANACT+12*, CANACT+13
CDT FLIP+1~, FLIP+3*, FLIP+32, FLIP+33, FLIP+34
DA SCR+3, ACT+1~, ACT+5*, FLIP~, FLIP+2, FLIP+4, FLIP+6, FLIP+8, FLIP+11, FLIP+14
, FLIP+22, FLIP+33*, FLIP+34, SET+1~, INUSE+2, CANACT~, CANACT+7, CANACT+11, INUSEDC+3, HASREQD+4
, HASREQD+5, HASREQD+6, HASREQD+8, HASREQD+9, HASREQD+10, CHKTYP+1~, CHKTYP+5*, CHKTYP+8*, CANDEL+6, CANDEL+7
, CANDEL+11, CANDEL+14, CANDEL+18, ASKOBS+3, ASKOBS+4, DELMUL+1~, DELMUL+3*, RELEVNTS~, RELEVNTS+3
DA(1 FLIP+33*, SET+2*, SET+3, INUSE+2, DELMUL+3*
DEL CANDEL+1~, CANDEL+2*, CANDEL+6*, CANDEL+7*, CANDEL+15*, CANDEL+18*, CANDEL+20
DFN RELEVNTS+1~, RELEVNTS+2*, RELEVNTS+3*
DI DELMUL+1~
DIC ACT+1~, SET+1~, SET+3*, CHKTYP+1~, DELMUL+1~
DIC("S" SCR+3*
DIC(0 SET+3*
DIE FLIP+1~, FLIP+32*, FLIP+33*, CHKTYP+1~, CHKTYP+5*, CHKTYP+8*, DELMUL+1~, DELMUL+3*
DIR FLIP+1~, FLIP+10!, FLIP+13!, FLIP+21!, FLIP+28!, ORDERS+1~
DIR("?" ORDERS+5*
DIR("A" FLIP+10*, FLIP+13*, FLIP+21*, FLIP+28*, FLIP+30*, ORDERS+4*
DIR("B" FLIP+30*
DIR(0 FLIP+10*, FLIP+13*, FLIP+21*, FLIP+28*, FLIP+30*, ORDERS+4*
DIV INUSE+1~, INUSE+4*, INUSE+7, INUSEDC+1~, INUSEDC+3*, INUSEDC+4
DK DELMUL+1~
DL DELMUL+1~
DM DELMUL+1~
DP DELMUL+1~
DQ DELMUL+1~
DR FLIP+1~, FLIP+32*, FLIP+33*, CHKTYP+1~, CHKTYP+5*, CHKTYP+8*, DELMUL+1~, DELMUL+3*
DR(1 SCR+2
>> DTOUT ORDERS+6
>> ETYPE ASKOBS+3, ASKOBS+4
EVENT CANDEL+1~, CANDEL+3*, CANDEL+12, RELEVNTS+1~, RELEVNTS+2*, RELEVNTS+3*, RELEVNTS+4
EVNTYPE FLIP+1~, FLIP+2*, FLIP+8
FILE SCR+1~, SCR+2*, SCR+3, CANDEL~, CANDEL+5, CANDEL+17, DELMUL~, DELMUL+2, DELMUL+3
FMIEN INUSE+1~, INUSE+2*, INUSE+3, INUSE+4
>> FND CANDEL+8*, CANDEL+10, CANDEL+11*, CANDEL+12, CANDEL+13, CANDEL+14*, CANDEL+15
GLOB DELMUL+1~, DELMUL+2*, DELMUL+3
I CANDEL+1~, CANDEL+10*, CANDEL+11, CANDEL+13*, CANDEL+14, DELMUL+1~, DELMUL+3*
IEN FLIP+1~, FLIP+17*, FLIP+18, FLIP+19, FLIP+24*, FLIP+25, FLIP+26, CHKTYP~, CHKTYP+3, CHKTYP+4
, CHKTYP+5, CHKTYP+7, CHKTYP+8, CHKTYP+9, CHKTYP+10, CHKTYP+11, DELMUL~, DELMUL+2, DELMUL+3
J CHKTYP+1~, CANDEL+1~, CANDEL+11*, CANDEL+14*
LIST CANDEL+1~, CANDEL+4*, CANDEL+9
LOC DELMUL~, DELMUL+3
LST CANDEL+9!, CANDEL+12!
LST( CANDEL+10, CANDEL+11, CANDEL+13, CANDEL+14
MAX ORDERS+1~, ORDERS+2*, ORDERS+4
MIEN SET~, SET+2
MULT FLIP+1~, FLIP+16*, FLIP+17, FLIP+18, FLIP+19, INUSE~, INUSE+9, CANACT+4~, CANACT+6*, CANACT+7
, CANACT+8
NAME FLIP+1~, FLIP+2*, FLIP+5, FLIP+9, FLIP+12, FLIP+15, FLIP+23, FLIP+32, INUSE+1~, INUSE+2*
, INUSE+5*, INUSE+6
ORGLOB ACT+1~, ACT+3*, FLIP+2, FLIP+4, FLIP+19, FLIP+32, FLIP+33, SET+3
ORJ ACT+1~, ACT+5*
>> ORNMBR ACT+4*, ACT+5
ORTMP ACT+1~, ACT+5*
>> ORTYPE ACT+3, FLIP+6, FLIP+7, FLIP+8, FLIP+11, FLIP+14, FLIP+22, FLIP+33, CANACT+6, CANACT+10
, HASREQD+3, HASREQD+7, CHKTYP+2
REQD HASREQD+1~, HASREQD+2*, HASREQD+4*, HASREQD+5*, HASREQD+6*, HASREQD+8*, HASREQD+9*, HASREQD+10*, HASREQD+11
STAT FLIP+1~, FLIP+4*, FLIP+5, FLIP+6, FLIP+7, FLIP+8, FLIP+11, FLIP+14, FLIP+22, FLIP+30
, FLIP+32, FLIP+33
SUB FLIP+1~, FLIP+18*, FLIP+19, FLIP+25*, FLIP+26, CANACT+4~, CANACT+7*, CANACT+8, CANACT+11*, CANACT+12
TYPE INUSE+1~, INUSE+3*, INUSE+8, CHKTYP+1~, CHKTYP+3*, CHKTYP+4, CHKTYP+7*, CHKTYP+8, CHKTYP+10, CHKTYP+11
U FLIP+2, FLIP+11, FLIP+26, INUSEDC+3, HASREQD+4, HASREQD+8, HASREQD+9, HASREQD+10, CHKTYP+3, CHKTYP+7
USED FLIP+1~, FLIP+14, FLIP+22, INUSE+1~, INUSE+2*, INUSE+5, INUSE+6, INUSE+9*, INUSE+10, CANACT~
, INUSEDC+1~, INUSEDC+2*, INUSEDC+4*, INUSEDC+5
USED( FLIP+16, FLIP+17, FLIP+18, FLIP+24, FLIP+25, CANACT+8*, CANACT+12*
>> VALMBCK ACT+2*
>> VALMCNT ORDERS+2
WHO INUSE+9*, CANACT+4~, CANACT+8, CANACT+12, INUSEDC+4*
X SET~, ORDERS+1~
Y ACT+1~, FLIP+1~, FLIP+31, INUSE+9, CANACT+4~, CANACT+8*, CANACT+12*, INUSEDC+4, ORDERS+1~, ORDERS+6*
, ORDERS+7*, ORDERS+8, DELMUL+1~
Y(1 ORDERS+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All