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

Package: Emergency Department Integration Software

Routine: EDPRPT2


Information

EDPRPT2 ;SLC/MKB - Delay Report ;6/13/12 12:33pm

Source Information

Source file <EDPRPT2.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Emergency Department Integration Software 4 ADD^EDPCSV  $$DXPRI^EDPQPCE  ($$ADMIT,$$DISP,$$ECODE,$$EDATE,$$ENAME,$$EPERS,$$ETIME)^EDPRPT  ($$XMLA,XML)^EDPX  
Kernel 2 $$FMDIFF^XLFDT  $$UP^XLFSTR  
VA FileMan 1 $$GET1^DIQ  

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
Emergency Department Integration Software 5 EDPRPT  EDPRPT10  EDPRPT4  EDPRPT5  EDPRPT8  

Entry Points

Name Comments DBIA/ICR reference
DEL(BEG,END,CSV) ; Get Delay Report for EDPSITE by date range
; CNT = counters
; MIN = accumulate #minutes
D1
D2
D3
D4 ; return counts and averages
INIT ; Initialize counters and sums
VADMIT(X) ; -- Return 1 or 0, if disposition indicates a VA admission
VADMIT1(X) ; -- Return 1 or 0, if disposition indicates a VA admission
LOCTIMES ; -- Returns time in ED and NOT ed locations
; Expects LOG, IN, OUT from above

External References

Name Field # of Occurrence
$$GET1^DIQ D3+7
ADD^EDPCSV DEL+10, D3+28
$$DXPRI^EDPQPCE D3+5
$$ADMIT^EDPRPT D1+2
$$DISP^EDPRPT DEL+18
$$ECODE^EDPRPT DEL+14, DEL+15
$$EDATE^EDPRPT D3+8
$$ENAME^EDPRPT D3+12
$$EPERS^EDPRPT D3+13
$$ETIME^EDPRPT D3+9, D3+20, D3+21, D4+2, D4+4, D4+7
$$XMLA^EDPX D3+22
XML^EDPX DEL+5, D3+22, D3+29, D4+1, D4+3, D4+5, D4+8, D4+9
$$FMDIFF^XLFDT DEL+20, D1+3, D1+5, LOCTIMES+13
$$UP^XLFSTR VADMIT+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^EDP(230 - [#230] DEL+12, DEL+13
^EDP(230.1 - [#230.1] LOCTIMES+4, LOCTIMES+5
^EDPB(231.8 - [#231.8] LOCTIMES+6
^EDPB(233.1 - [#233.1] VADMIT+3, VADMIT+4, VADMIT1+3

Label References

Name Line Occurrences
$$VADMIT DEL+15
$$VADMIT1 DEL+17
INIT DEL+4
LOCTIMES D3+19

Naked Globals

Name Field # of Occurrence
^(1 DEL+13
^(3 DEL+13, LOCTIMES+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACU DEL+3~, DEL+14*, D3+11
ADMDEC DEL+3~, D1+1*, D1+3*, D1+4, D2+4, D3+17
ADMDEL DEL+3~, D1+1*, D1+5*, D2+5, D2+6, D3+18
BEG DEL~, DEL+11
CNT DEL+3~, DEL+14*, D4+2, D4+4, INIT+1*
CNT( INIT+2*
CNT("23+" D3+1*, D4+2
CNT("6+" D3+3*, D4+2
CNT("DEC" D1+4*, D4+2
CNT("VA" D2+2*, D4+4, D4+6, D4+7
CNT("VA6" D3+4*, D4+6
CNT("VADEL6" D2+6*, D4+6
CSV DEL~, DEL+5, D3+8, D3+22, D3+29
DEL DEL+3~, DEL+14*, D3+12
DISP DEL+3~, DEL+15*, DEL+18*, D3+10
DX DEL+3~, D3+5*, D3+14, D3+15, D3+16
ED DEL+3~, D3+20, LOCTIMES+9*, LOCTIMES+15*
>> EDPSITE DEL+12
ELAPSE DEL+3~, DEL+20*, D2+3, D3+1, D3+2, D3+9
END DEL~, DEL+12
I D3+25*, D3+27*, INIT+1~, INIT+2*, INIT+3*, VADMIT+2~, VADMIT+3*, VADMIT+4, LOCTIMES+2~, LOCTIMES+4*
LOCTIMES+5
IN DEL+3~, DEL+11*, DEL+12*, DEL+20, D1+3, D3+8, LOCTIMES+3, LOCTIMES+9, LOCTIMES+10
LIST LOCTIMES+2~
LIST( LOCTIMES+3*, LOCTIMES+7*, LOCTIMES+9, LOCTIMES+11, LOCTIMES+12
LOC LOCTIMES+2~, LOCTIMES+5*, LOCTIMES+6
LOG DEL+3~, DEL+12*, DEL+13, D1+2, D3+5, D3+6, LOCTIMES+4
MIN DEL+3~, DEL+20*, D4+2, D4+4, INIT+1*
MIN( INIT+3*
MIN("DEC" D1+4*, D4+2
MIN("VA" D2+3*, D4+4
MIN("VADEC" D2+4*, D4+7
MIN("VADEL" D2+5*, D4+7
NOT DEL+3~, D3+21, LOCTIMES+9*, LOCTIMES+15*
OUT DEL+3~, DEL+19*, DEL+20, D1+5, LOCTIMES+3, LOCTIMES+12
ROW D3+6~, D3+22
ROW( D3+25, D3+27
ROW("acuity" D3+11*
ROW("admDec" D3+17*
ROW("admDel" D3+18*
ROW("delayReason" D3+12*
ROW("disposition" D3+10*
ROW("dx" D3+14*
ROW("elapsed" D3+9*
ROW("icd" D3+15*
ROW("icdType" D3+16*
ROW("id" D3+6*, D3+23
ROW("inTS" D3+8*
ROW("md" D3+13*
ROW("patientName" D3+7*
ROW("timeInED" D3+20*
ROW("timeOutED" D3+21*
T1 LOCTIMES+2~, LOCTIMES+10*, LOCTIMES+13, LOCTIMES+14*
T2 LOCTIMES+2~, LOCTIMES+10*, LOCTIMES+11*, LOCTIMES+12, LOCTIMES+13, LOCTIMES+14
TAB DEL+6~*, DEL+8
TM LOCTIMES+2~, LOCTIMES+5*, LOCTIMES+7
TYPE LOCTIMES+2~, LOCTIMES+9*, LOCTIMES+12, LOCTIMES+13, LOCTIMES+14*
U DEL+14, DEL+15, DEL+17, DEL+18, DEL+19, D3+5, D3+7, D3+13, D3+14, D3+15
D3+16, VADMIT+4, VADMIT1+3, LOCTIMES+5, LOCTIMES+6
VADISP DEL+3~, DEL+15*, DEL+17*, D2+1, D3+4
X DEL+3~, DEL+8*, DEL+10, D1+2*, D1+3, D1+5, D3+22*, D3+23*, D3+25*, D3+27*
D3+28, D4+2*, D4+3, D4+4*, D4+5, D4+6*, D4+7*, D4+8, VADMIT~, VADMIT+1
, VADMIT+2*, VADMIT+3, VADMIT1~, VADMIT1+1, VADMIT1+3, LOCTIMES+2~, LOCTIMES+6*, LOCTIMES+7, LOCTIMES+12*, LOCTIMES+14
X0 DEL+3~, DEL+13*, DEL+19, D3+5, D3+7
X1 DEL+3~, DEL+13*, DEL+14, DEL+15, DEL+17, DEL+18
X3 DEL+3~, DEL+13*, DEL+14, D3+13
Y VADMIT+2~, VADMIT+4*, VADMIT+5, VADMIT1+2~, VADMIT1+3*, VADMIT1+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All