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 ;10/25/02 13:54

Source Information

Source file <OREV4.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA Fileman 4 ^DIC  FILE^DIE  ^DIK  EN^DIQ  
Order Entry Results Reporting 2 $$LAPSED^OREVNTX  QUE^ORUTL1  
Kernel 1 $$FMTE^XLFDT  
Toolkit 1 (EN,ENVAL)^XPAR  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Order Entry Results Reporting 3 OR PATIENT EVENT INQUIRY  OREV1  OREV3  

Entry Points

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

External References

Name Field # of Occurrence
^DIC OREV4+11, CHKPRM+5, CHKPRM+8
FILE^DIE CLEAR+2
^DIK FROMTO+5, FROMTO+18
EN^DIQ DQI+3
$$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
Routine Call
  • DIC
  • Line Location:
    • OREV4+11
    • CHKPRM+5
    • CHKPRM+8
Routine Call
  • DIE
  • Line Location:
    • CLEAR+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORE(100.2 - [#100.2] 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
^ORE(100.2 - [#100.2] DELAYED+2, DELAYED+4, DELAYED+5, DELAYED+8

Label References

Name Line Occurrences
CLEAR FROMTO+12, FROMTO+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACT ACTSURG+1~, ACTSURG+2*, ACTSURG+5*, ACTSURG+9*, ACTSURG+11
DA DQI+2*, CHKPRM+17, PARENTOK+10, ACTSURG~, ACTSURG+4, ACTSURG+5, ACTSURG+8, ACTSURG+9, FROMTO+1~, FROMTO+5*
, FROMTO+18*, CLEAR+1~
DA(1 FROMTO+5*, FROMTO+18*
DEL FROMTO+1~, FROMTO+9*, FROMTO+10*, FROMTO+15*, FROMTO+16*, FROMTO+18
DFN DELAYED~, DELAYED+2, DELAYED+4, DELAYED+5
DIC OREV4+10~, OREV4+11*, CHKPRM+4~, CHKPRM+5*
DIC(0 OREV4+11*, CHKPRM+5*
DIE CLEAR+1~
DIK FROMTO+1~, FROMTO+5*, FROMTO+18*
DISP DELAYED+1~, DELAYED+3*, DELAYED+7*
DIV ACTSURG+1~, ACTSURG+4*, ACTSURG+5, ACTSURG+8*, ACTSURG+9
ERR FROMTO+1~, FROMTO+9*, FROMTO+10*, FROMTO+11, FROMTO+15*, FROMTO+16*, FROMTO+17
EVT DELAYED+1~, DELAYED+3*, DELAYED+4*, DELAYED+5
FIELD CLEAR~, CLEAR+2
FILE CLEAR+1~
FILE( CLEAR+2*
I CHKPRM+4~, CHKPRM+15*, CHKPRM+16, CHKPRM+17, ACTSURG+1~, ACTSURG+5*, ACTSURG+9*
IEN OREV4+10~, OREV4+13*, DQI+2
IFN DELAYED+1~, DELAYED+5*, DELAYED+6, DELAYED+8
IO DQI+1
J CHKPRM+4~, CHKPRM+16*, CHKPRM+17
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
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
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
RIEN PARENTOK+3~, PARENTOK+7*, PARENTOK+10
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
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
X CHKPRM+4~, CHKPRM+5*, CHKPRM+8*, FROMTO+1~, CLEAR+1~
Y OREV4+10~, OREV4+12, OREV4+13, CHKPRM+4~, CHKPRM+6, CHKPRM+7, CHKPRM+9, CHKPRM+10, FROMTO+1~, CLEAR+1~
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