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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: EDPRPT

Package: Emergency Department Integration Software

Routine: EDPRPT


Information

EDPRPT ;SLC/MKB - Reports ;2/28/12 08:33am

Source Information

Source file <EDPRPT.m>

Call Graph

Call Graph

Call Graph Total: 19

Package Total Call Graph
Emergency Department Integration Software 16 ADD^EDPCSV  ACT^EDPRPT1  ADM^EDPRPT10  CNT^EDPRPT11  ORD^EDPRPT12  EN^EDPRPT13  DEL^EDPRPT2  MO^EDPRPT3  
SUM^EDPRPT4  SFT^EDPRPT5  PRV^EDPRPT6  EXP^EDPRPT7  ACU^EDPRPT8  XRF^EDPRPT9  EN^EDPRPTBV  ($$ESC,$$MSG,XML)^EDPX  
Kernel 3 ^%ZTLOAD  ($$FMTE,$$NOW)^XLFDT  $$UP^XLFSTR  

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

Package Total Caller Graph
Emergency Department Integration Software 14 EDPCSV  EDPCTRL  EDPQDB  EDPRPT1  EDPRPT10  EDPRPT2  EDPRPT3  EDPRPT4  
EDPRPT5  EDPRPT6  EDPRPT7  EDPRPT7C  EDPRPT8  EDPRPTBV  

Entry Points

Name Comments DBIA/ICR reference
EN(BEG,END,RPT,ID,CSV,TASK) ; Get RPT data for EDPSITE by date range
CONT ; end switch
ERR(MSG) ; -- return error MSG
NOW() ; -- Return local value of NOW, based on EDPSITE
TASK ; -- task report: expects ZTSAVE,ZTRTN,ZTDESC
PROV(MD) ; add list of assigned providers to XML
ECODE(IEN) ; Return external value for a Code
ENAME(IEN) ; Return external value for a code Name
EPERS(IEN) ; Return external value for a Person (file 200)
EDATE(FMDT) ; Return external value for a Date/Time
ETIME(MINS) ; Return #minutes as HH:MM
MD(LOG) ; Return time physician was first assigned
ACUITY(LOG) ; Return time acuity was first assigned
LVWAITRM(LOG) ; Return time patient left waiting room
WAIT(X) ; Return 1 or 0, if X is a waiting room
ADMIT(LOG) ; Return 1st time admitting disposition was assigned
DISP(X) ;Return disposition abbreviation or display name from file 233.2

External References

Name Field # of Occurrence
^%ZTLOAD TASK+5
ADD^EDPCSV ERR+2
ACT^EDPRPT1 EN+18
ADM^EDPRPT10 EN+25
CNT^EDPRPT11 EN+26
ORD^EDPRPT12 EN+27
EN^EDPRPT13 EN+30
DEL^EDPRPT2 EN+19
MO^EDPRPT3 EN+21
SUM^EDPRPT4 EN+20
SFT^EDPRPT5 EN+16
PRV^EDPRPT6 EN+22
EXP^EDPRPT7 EN+14
ACU^EDPRPT8 EN+23
XRF^EDPRPT9 EN+24
EN^EDPRPTBV EN+28
$$ESC^EDPX PROV+4
$$MSG^EDPX ERR+1
XML^EDPX EN+3, ERR+3, TASK+7, PROV+2, PROV+5, PROV+6
$$FMTE^XLFDT EDATE+1
$$NOW^XLFDT NOW+1
$$UP^XLFSTR EN+11

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^EDP(230 - [#230] ADMIT+6, ADMIT+8
^EDP(230.1 - [#230.1] MD+2, MD+4, ACUITY+2, ACUITY+4, LVWAITRM+3, LVWAITRM+5, ADMIT+2, ADMIT+3
^EDPB(231.8 - [#231.8] WAIT+1
^EDPB(233.1 - [#233.1] ECODE+3, ENAME+2, ADMIT+4, ADMIT+7
^EDPB(233.2 - [#233.2] ECODE+4, ECODE+5, ENAME+3, ENAME+4, DISP+5, DISP+6, DISP+7
^VA(200 - [#200] PROV+4, EPERS+1
^XTMP("EDIS-" EN+3, EN+4, EN+5!

Label References

Name Line Occurrences
$$NOW EN+8
$$WAIT LVWAITRM+10
CONT EN+14, EN+15, EN+16, EN+17, EN+18, EN+19, EN+20, EN+21, EN+22, EN+23
, EN+24, EN+25, EN+26, EN+27, EN+28, EN+30
ERR EN+15, EN+17, EN+32, TASK+5

Naked Globals

Name Field # of Occurrence
^( ADMIT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BEG EN~, EN+8, EN+9*, EN+15, EN+16, EN+18, EN+19, EN+20, EN+21, EN+22
, EN+23, EN+24, EN+25, EN+26, EN+27, EN+28, EN+30
CSV EN~, EN+12*, EN+14, EN+16, EN+18, EN+19, EN+20, EN+21, EN+22, EN+23
, EN+24, EN+25, EN+26, EN+27, EN+28, EN+30, ERR+2, TASK+4
D MD+1~, MD+4*, MD+5, ACUITY+1~, ACUITY+4*, ACUITY+5, LVWAITRM+1~, LVWAITRM+5*, LVWAITRM+6, LVWAITRM+8*
, LVWAITRM+9, ADMIT+1~, ADMIT+2*, ADMIT+4
D1 LVWAITRM+1~, LVWAITRM+8*, LVWAITRM+9, LVWAITRM+10
DA ECODE+2~, ECODE+4*, ECODE+5, ENAME+1~, ENAME+3*, ENAME+4, DISP+3~, DISP+5*, DISP+6, DISP+7
DISP DISP+3~, DISP+6*, DISP+7*, DISP+8
>> EDPSTA ECODE+3, ENAME+2, DISP+4
EDPXML EN+4*, TASK+6!
EDPXML(0 EN+5!
END EN~, EN+8, EN+9*, EN+10*, EN+17, EN+18, EN+19, EN+20, EN+21, EN+22
, EN+23, EN+24, EN+25, EN+26, EN+27, EN+28, EN+30
FMDT EDATE~, EDATE+1
H ETIME+1~, ETIME+2*, ETIME+3
I TASK+1~, TASK+3*, PROV+1~, PROV+3*, PROV+4, ADMIT+1~, ADMIT+2*, ADMIT+3
ID EN~, EN+14
IDX MD+1~, MD+2*, MD+3*, MD+4, ACUITY+1~, ACUITY+2*, ACUITY+3*, ACUITY+4, LVWAITRM+1~, LVWAITRM+3*
, LVWAITRM+4*, LVWAITRM+5
IEN ECODE~, ECODE+2*, ECODE+3, ECODE+4, ECODE+5, ENAME~, ENAME+1*, ENAME+2, ENAME+3, ENAME+4
, EPERS~, EPERS+1
LIST ECODE+2~, ECODE+3*, ECODE+4, ECODE+5, ENAME+1~, ENAME+2*, ENAME+3, ENAME+4
LOG MD~, MD+1*, MD+2, ACUITY~, ACUITY+1*, ACUITY+2, LVWAITRM~, LVWAITRM+1*, LVWAITRM+3, ADMIT~
, ADMIT+1*, ADMIT+2, ADMIT+6, ADMIT+8
M ETIME+1~, ETIME+2*, ETIME+3
MD PROV~
MD( PROV+3
MINS ETIME~, ETIME+1*, ETIME+2
MSG ERR~, ERR+1
NOW EN+7~, EN+8*
NXT LVWAITRM+9~*, LVWAITRM+10
OUT ADMIT+1~, ADMIT+8*
RM LVWAITRM+9~*, LVWAITRM+10
ROOM LVWAITRM+1~
ROOM( LVWAITRM+6*, LVWAITRM+8, LVWAITRM+9
ROOT MD+1~, MD+2*, MD+3, ACUITY+1~, ACUITY+2*, ACUITY+3, LVWAITRM+1~, LVWAITRM+3*, LVWAITRM+4
RPT EN~, EN+11*, EN+14, EN+16, EN+18, EN+19, EN+20, EN+21, EN+22, EN+23
, EN+24, EN+25, EN+26, EN+27, EN+28, EN+30
TASK EN~, EN+2, EN+3, EN+4, EN+5
U PROV+4, ECODE+3, ECODE+5, ECODE+6, ENAME+2, ENAME+4, ENAME+5, EPERS+1, MD+4, ACUITY+4
, LVWAITRM+5, WAIT+1, ADMIT+4, ADMIT+7, ADMIT+8, DISP+6, DISP+7
X EN+9~*, ERR+1~*, ERR+2, ERR+3, PROV+1~, PROV+4*, PROV+5, MD+1~, MD+4*, MD+5
, ACUITY+1~, ACUITY+4*, ACUITY+5, LVWAITRM+1~, LVWAITRM+5*, LVWAITRM+6, WAIT~, WAIT+1, ADMIT+1~, DISP~
, DISP+2, DISP+5, DISP+6, DISP+7
X0 PROV+1~, PROV+4*, ECODE+2~, ECODE+3*, ECODE+6, ENAME+1~, ENAME+2*, ENAME+5, ADMIT+1~, ADMIT+3*
, ADMIT+4
X1 ADMIT+6~*, ADMIT+7
Y ECODE+2~, ECODE+4*, ECODE+5*, ECODE+6*, ECODE+7, ENAME+1~, ENAME+3*, ENAME+4*, ENAME+5*, ENAME+6
, ETIME+1~, ETIME+3*, ETIME+4, MD+1~*, MD+3, MD+5*, MD+6, ACUITY+1~*, ACUITY+3, ACUITY+5*
, ACUITY+6, LVWAITRM+1*, LVWAITRM+8, LVWAITRM+10*, LVWAITRM+11, ADMIT+1~*, ADMIT+2, ADMIT+4*, ADMIT+5, ADMIT+7*
, ADMIT+8*, ADMIT+9, DISP+3~, DISP+4*, DISP+5, DISP+6, DISP+7
ZTDESC EN+7~
ZTDTH TASK+1~, TASK+2*
ZTIO TASK+1~, TASK+2*
ZTRTN EN+7~
ZTSAVE EN+7~
ZTSAVE( TASK+3*
ZTSAVE("CSV" TASK+4*
ZTSAVE("EDPCSV(" TASK+4*
ZTSK TASK+1~, TASK+5, TASK+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All