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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: OREV4

Package: Order Entry Results Reporting

Routine: OREV4


Information

OREV4 ;SLC/DAN Event delayed orders cont ;08/03/15 15:25

Source Information

Source file <OREV4.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 6 ^DIC  FILE^DICN  FILE^DIE  ^DIK  EN^DIQ  ^DIR  
Order Entry Results Reporting 2 $$LAPSED^OREVNTX  QUE^ORUTL1  
Kernel 1 $$FMTE^XLFDT  
Toolkit 1 (EN,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: 5

Package Total Caller Graph
Order Entry Results Reporting 5 OR PATIENT EVENT INQUIRY  OREV AUTO DC  OREV CHILD EVENT  OREV1  OREV3  

Entry Points

Name Comments DBIA/ICR reference
DQI ;Tasked entry point or continue if not queued
CHKPRM ;Checks to see if event is defined in either the OREVNT DEFAULT
DELAYED(DFN) ;Display list of delayed events for a patient, identified by DFN
PARENTOK() ;This function determines if the event can be a parent
ACTSURG(ORTYPE,DA) ;Function returns 1 if an active surgery event already exists
FROMTO(MUL,SUB1,SUB2) ;Check FROM - TO entries in file 100.6
CLEAR(TENT,MENT,FIELD) ;Clear selected fields
EXCOI(IEN) ;
EXCOI1 ;
EXCOIX ;
ASK(TEMP,PROMPT,HELP) ;
ADD(IEN) ;
DELETE(IEN,NODE) ;
LOOKUP(ARRAY) ;
HELP(HELP) ;
FILESCR() ;

External References

Name Field # of Occurrence
^DIC OREV4+11, CHKPRM+5, CHKPRM+8, LOOKUP+6
FILE^DICN ADD+8
FILE^DIE CLEAR+2
^DIK FROMTO+5, FROMTO+18, DELETE+5
EN^DIQ DQI+3
^DIR EXCOI1+41, ASK+5
$$LAPSED^OREVNTX DELAYED+6, PARENTOK+9
QUE^ORUTL1 OREV4+16
$$FMTE^XLFDT DELAYED+8
EN^XPAR CHKPRM+17
ENVAL^XPAR CHKPRM+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: OREV4+14
Function Call: WRITE
  • Prompt: !!,"You may not make ",$P($G(^ORD(100.5,DA,0)),U)," a parent",!,"at this time because there are unprocessed delayed orders assigned to it."
  • Line Location: PARENTOK+10
Function Call: WRITE
  • Prompt: !!,"ERROR - Missing FROM or TO location - '",$P(LOC0,U),"' DELETED.",!
  • Line Location: FROMTO+11
Function Call: WRITE
  • Prompt: !!,"WARNING - You've defined a 'FROM ALL' locations to 'TO ALL' locations entry",!,"and it will supercede all other entries.",!
  • Line Location: FROMTO+14
Function Call: WRITE
  • Prompt: !!,"ERROR - Duplicate entry exists - '",$P(LOC0,U),"' DELETED.",!
  • Line Location: FROMTO+17
Function Call: WRITE
  • Prompt: !,"EXCEPT ORDERABLE ITEMS"
  • Line Location: EXCOI1+2
Function Call: WRITE
  • Prompt: !," "_NAME_" ("_$P(EXCLUDE(NAME,OI),U,2)_")"
  • Line Location: EXCOI1+27
Function Call: WRITE
  • Prompt: !!,"Can delete the following orderable item(s):"
  • Line Location: EXCOI1+31
Function Call: WRITE
  • Prompt: !,"Deletion occurs immediately after selection"
  • Line Location: EXCOI1+32
Function Call: WRITE
  • Prompt: !,"Error adding OI "_$P(VAL,U,2)_" to Auto-DC Rule"
  • Line Location: ADD+9
Function Call: WRITE
  • Prompt: !,"Deleting Orderable Item: "_$P(NODE,U,3)
  • Line Location: DELETE+1
Function Call: WRITE
  • Prompt: !,"Select A to add Orderable Item(s) to the 'Exclude Orderble Item List'. Select D "
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !,"to delete Orderable Item(s) from the 'Exclude Orderable List'."
  • Line Location: HELP+2
Routine Call
  • DIC
  • Line Location:
    • OREV4+11
    • CHKPRM+5
    • CHKPRM+8
    • LOOKUP+6
Routine Call
  • DIE
  • Line Location:
    • CLEAR+2
Routine Call
  • DIR
  • Line Location:
    • EXCOI1+41
    • ASK+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORE(100.2 - [#100.2] Classic Fileman Calls
^ORD(101.43 - [#101.43] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(45.7 - [#45.7] FROMTO+4
^ORD(100.5 - [#100.5] DELAYED+8, PARENTOK+10, ACTSURG+4, ACTSURG+5
^ORD(100.6 - [#100.6] ACTSURG+8, ACTSURG+9, FROMTO+3, FROMTO+4, FROMTO+8, FROMTO+15, FROMTO+16, EXCOI1+9, EXCOI1+10
^ORD(100.98 - [#100.98] EXCOI1+13
^ORD(101.43 - [#101.43] EXCOI1+11
^ORE(100.2 - [#100.2] DELAYED+2, DELAYED+4, DELAYED+5, DELAYED+8

Label References

Name Line Occurrences
$$ADD EXCOI1+17, EXCOI1+30
$$ASK EXCOI1+20
ADD EXCOI1+22
CLEAR FROMTO+12, FROMTO+13
DELETE EXCOI1+48
EXCOI1 EXCOI1+17, EXCOI1+22, EXCOI1+30, EXCOI1+49
EXCOIX EXCOI1+17, EXCOI1+21, EXCOI1+30
LOOKUP ADD+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACT ACTSURG+1~, ACTSURG+2*, ACTSURG+5*, ACTSURG+9*, ACTSURG+11
ADD EXCOI1+6~, EXCOI1+17*, EXCOI1+30*
ARRAY EXCOI1+6~, EXCOI1+38, ADD+1~, ADD+2, ADD+3, LOOKUP~
ARRAY( EXCOI1+36*, ADD+4, LOOKUP+8*
C EXCOI1+6~, EXCOI1+8*, EXCOI1+36*, EXCOI1+40
D EXCOI1+3~
D0 EXCOI1+3~
DA DQI+2*, CHKPRM+17, PARENTOK+10, ACTSURG~, ACTSURG+4, ACTSURG+5, ACTSURG+8, ACTSURG+9, FROMTO+1~, FROMTO+5*
, FROMTO+18*, CLEAR+1~, EXCOI1+3~, ADD+5~, DELETE+2~, DELETE+3*
DA(1 FROMTO+5*, FROMTO+18*, ADD+6*, ADD+7, DELETE+3*, DELETE+4
DC EXCOI1+3~
DDES EXCOI1+3~
DE EXCOI1+3~
DEL FROMTO+1~, FROMTO+9*, FROMTO+10*, FROMTO+15*, FROMTO+16*, FROMTO+18
DFN DELAYED~, DELAYED+2, DELAYED+4, DELAYED+5
DG EXCOI1+3~
DH EXCOI1+3~
DI EXCOI1+3~
DIC OREV4+10~, OREV4+11*, CHKPRM+4~, CHKPRM+5*, EXCOI1+3~, ADD+5~, ADD+7*, LOOKUP+1~, LOOKUP+4*
DIC("A" LOOKUP+5*
DIC("S" LOOKUP+4*
DIC(0 OREV4+11*, CHKPRM+5*, ADD+7*, LOOKUP+5*
DIDEL EXCOI1+3~
DIE CLEAR+1~, EXCOI1+3~
DIEDA EXCOI1+3~
DIEIENS EXCOI1+4~
DIEL EXCOI1+3~
DIEN EXCOI1+3~
DIETMP EXCOI1+3~
DIEXREF EXCOI1+4~
DIFLD EXCOI1+4~
DIK FROMTO+1~, FROMTO+5*, FROMTO+18*, DELETE+2~, DELETE+4*
DINUSE EXCOI1+4~
DIP EXCOI1+4~
DIR EXCOI1+3~, ASK+1~
DIR("??" ASK+4*
DIR("A" EXCOI1+38*, EXCOI1+39*, ASK+3*
DIR(0 EXCOI1+40*, ASK+2*
DISP DELAYED+1~, DELAYED+3*, DELAYED+7*
DISPLAY EXCOI1+6~, EXCOI1+13*, EXCOI1+14, EXCOI1+15
DISYS EXCOI1+4~
DIV ACTSURG+1~, ACTSURG+4*, ACTSURG+5, ACTSURG+8*, ACTSURG+9
DK EXCOI1+4~
DL EXCOI1+4~
DM EXCOI1+4~
DP EXCOI1+4~
DQ EXCOI1+4~
DR EXCOI1+4~
DU EXCOI1+4~
DUOUT LOOKUP+1~, LOOKUP+7
EDIT EXCOI1+6~, EXCOI1+17, EXCOI1+18, EXCOI1+30
EDIT( EXCOI1+14*, EXCOI1+33, EXCOI1+34, EXCOI1+35, EXCOI1+36
ERR FROMTO+1~, FROMTO+9*, FROMTO+10*, FROMTO+11, FROMTO+15*, FROMTO+16*, FROMTO+17
EVT DELAYED+1~, DELAYED+3*, DELAYED+4*, DELAYED+5
EXCLUDE EXCOI1+6~, EXCOI1+17, EXCOI1+24
EXCLUDE( EXCOI1+15*, EXCOI1+26, EXCOI1+27
EXIT EXCOI1+6~, EXCOI1+8*, EXCOI1+49
FIELD CLEAR~, CLEAR+2
FILE CLEAR+1~
FILE( CLEAR+2*
HELP EXCOI1+6~, ASK~, ASK+4, HELP~
I CHKPRM+4~, CHKPRM+15*, CHKPRM+16, CHKPRM+17, ACTSURG+1~, ACTSURG+5*, ACTSURG+9*
IEN OREV4+10~, OREV4+13*, DQI+2, EXCOI~, EXCOI1+9, EXCOI1+10, EXCOI1+17, EXCOI1+22, EXCOI1+30, EXCOI1+48
, ADD~, ADD+6, DELETE~, DELETE+3
IFN DELAYED+1~, DELAYED+5*, DELAYED+6, DELAYED+8
IND EXCOI1+6~, EXCOI1+45*, EXCOI1+46
IO DQI+1
J CHKPRM+4~, CHKPRM+16*, CHKPRM+17
LIST EXCOI1+6~, EXCOI1+44*, EXCOI1+46
LOC0 FROMTO+1~, FROMTO+8*, FROMTO+9, FROMTO+10, FROMTO+11, FROMTO+12, FROMTO+13, FROMTO+14, FROMTO+15, FROMTO+16
, FROMTO+17
MENT CLEAR~, CLEAR+2
MUL FROMTO~, FROMTO+2, FROMTO+7
NAME EXCOI1+6~, EXCOI1+12*, EXCOI1+14, EXCOI1+15, EXCOI1+26*, EXCOI1+27, EXCOI1+33*, EXCOI1+34, EXCOI1+35, EXCOI1+36
NODE EXCOI1+6~, EXCOI1+10*, EXCOI1+14, EXCOI1+35*, EXCOI1+47*, EXCOI1+48, DELETE~, DELETE+1, DELETE+3
NUM EXCOI1+6~, EXCOI1+42*, EXCOI1+43, EXCOI1+45
OI EXCOI1+6~, EXCOI1+10*, EXCOI1+11, EXCOI1+14, EXCOI1+15, EXCOI1+27*, EXCOI1+34*, EXCOI1+35, EXCOI1+36
OINODE EXCOI1+6~, EXCOI1+11*, EXCOI1+12, EXCOI1+13
OK PARENTOK+3~, PARENTOK+4*, PARENTOK+6, PARENTOK+10*, PARENTOK+11
ORLST CHKPRM+12!, CHKPRM+13, CHKPRM+14
ORLST( CHKPRM+15, CHKPRM+16, CHKPRM+17
>> ORMGR FILESCR+1
ORTYPE ACTSURG~, ACTSURG+3, ACTSURG+7
PARAM CHKPRM+4~, CHKPRM+11*, CHKPRM+17
PIEN PARENTOK+3~, PARENTOK+8*, PARENTOK+9
PRMC CHKPRM+4~, CHKPRM+7*, CHKPRM+11, CHKPRM+13
PRMD CHKPRM+4~, CHKPRM+10*, CHKPRM+11
PROMPT EXCOI1+6~, EXCOI1+19*, EXCOI1+20, ASK~, ASK+3, ADD+1~
QUIT LOOKUP+1~, LOOKUP+2*, LOOKUP+3, LOOKUP+7*
RESULT EXCOI1+6~
RIEN PARENTOK+3~, PARENTOK+7*, PARENTOK+10
SARRAY EXCOI1+6~
SEQ EXCOI1+6~, EXCOI1+9*, EXCOI1+10, EXCOI1+14, EXCOI1+15, EXCOI1+35*, EXCOI1+36, EXCOI1+46*, EXCOI1+47
>> SEQARRAY( EXCOI1+36*, EXCOI1+47
SUB PARENTOK+3~, PARENTOK+5*, PARENTOK+6*, PARENTOK+7, PARENTOK+8
SUB1 FROMTO~, FROMTO+3, FROMTO+4, FROMTO+5, FROMTO+8, FROMTO+12, FROMTO+13, FROMTO+15, FROMTO+16, FROMTO+18
SUB2 FROMTO~, FROMTO+3, FROMTO+4, FROMTO+5, FROMTO+8, FROMTO+12, FROMTO+13, FROMTO+15, FROMTO+16, FROMTO+18
TEMP EXCOI1+6~, EXCOI1+19*, EXCOI1+20, ASK~, ASK+2, ADD+1~
TENT CLEAR~, CLEAR+2
U DELAYED+8, PARENTOK+10, ACTSURG+4, ACTSURG+5, ACTSURG+8, FROMTO+4, FROMTO+9, FROMTO+10, FROMTO+11, FROMTO+12
, FROMTO+13, FROMTO+14, FROMTO+15, FROMTO+16, FROMTO+17, EXCOI1+10, EXCOI1+12, EXCOI1+13, EXCOI1+14, EXCOI1+15
EXCOI1+27, EXCOI1+35, EXCOI1+36, EXCOI1+49, ASK+4, ADD+9, DELETE+1
VAL EXCOI1+6~, EXCOI1+18*, EXCOI1+20*, EXCOI1+21, EXCOI1+22, ADD+1~, ADD+4*, ADD+6, ADD+9
X CHKPRM+4~, CHKPRM+5*, CHKPRM+8*, FROMTO+1~, CLEAR+1~, EXCOI1+6~, ADD+5~, ADD+6*
Y OREV4+10~, OREV4+12, OREV4+13, CHKPRM+4~, CHKPRM+6, CHKPRM+7, CHKPRM+9, CHKPRM+10, FROMTO+1~, CLEAR+1~
EXCOI1+6~, EXCOI1+42, EXCOI1+44, ASK+1~, ASK+6, ADD+5~, ADD+9, LOOKUP+1~, LOOKUP+7, LOOKUP+8
ZTSAVE OREV4+10~, OREV4+16
ZTSAVE("DIC" OREV4+15*
ZTSAVE("IEN" OREV4+15*
ZTSAVE("IO*" OREV4+15*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All