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

Package: DSS Extracts

Routine: ECXWRD


Information

ECXWRD ;BIR/CML,ALB/JAP Print Active Wards for Fiscal Year ;11/8/17 14:59

Source Information

Source file <ECXWRD.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
DSS Extracts 4 REVERSE^ECXDSSD  ($$EXPORT,EXPDISP)^ECXUTL1  DEVICE^ECXUTLA  START^ECXWRD  
Kernel 3 HOME^%ZIS  ^%ZISC  $$FMTE^XLFDT  
VA FileMan 3 NOW^%DTC  EN^DIQ1  ^DIR  

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

Package Total Caller Graph
DSS Extracts 1 ECXWRD  

Entry Points

Name Comments DBIA/ICR reference
EN ;entry point from option
START ;
CHK ;has this ward been active?
; output
; X = 1 if inactive (out-of-service), 0 otherwise
HDR ;header and page control
GETSTAT(DIVNUM,STATNO,FACNUM) ; 181 - Added the following sections
GETOFAC(HDR,OFAC) ;181

External References

Name Field # of Occurrence
NOW^%DTC EN+2, START+33
HOME^%ZIS EN+22
^%ZISC EN+21, START+50
EN^DIQ1 START+11, START+18, CHK+7, GETSTAT+4, GETSTAT+7, GETOFAC+6, GETOFAC+13
^DIR START+48, HDR+2
REVERSE^ECXDSSD START+26
$$EXPORT^ECXUTL1 EN+7
EXPDISP^ECXUTL1 EN+13
DEVICE^ECXUTLA EN+17
START^ECXWRD EN+20
$$FMTE^XLFDT EN+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This option prints a list of all wards that were active at any time"
  • Line Location: EN+3
Function Call: WRITE
  • Prompt: !,"during FY",FY,". The list is sorted by Medical Center Division and displays"
  • Line Location: EN+4
Function Call: WRITE
  • Prompt: !,"the pointer to the Hospital Location file (#44) and DSS Department data"
  • Line Location: EN+5
Function Call: WRITE
  • Prompt: !,"if available."
  • Line Location: EN+6
Function Call: WRITE
  • Prompt: !!,"This report requires a print width of 132 characters.",!!
  • Line Location: EN+15
Function Call: WRITE
  • Prompt: !
  • Line Location: EN+17
Function Call: WRITE
  • Prompt: !!,"NO DATA FOUND FOR THIS REPORT"
  • Line Location: START+35
Function Call: WRITE
  • Prompt: !?5,$E(ECXWDN,1,20),?30,ECXDEPT,?45,$P(DATA,U,1),?60,$E($P(DATA,U,2),1,18),?80,$P(DATA,U,3)
  • Line Location: START+44
Function Call: WRITE
  • Prompt: !
  • Line Location: START+49
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y!($E(IOST)="C")
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,"Active Wards for FY",FY,!,"Printed on ",HDT,!
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,"Expected Divisions with Active Ward/s: ",ECXHDR,!
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !?30,"DSS",?45,"Pointer",?60,"Ward",?80,"Ward"
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !?5,"WARD",?30,"Department",?45,"to File #44",?60,"Service",?80,"Specialty"
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !,LN
  • Line Location: HDR+7
Routine Call
  • DIR
  • Line Location:
    • START+48
    • HDR+2
Routine Call
  • %ZIS
  • Line Location:
    • EN+22

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DG(40.8 - [#40.8] Classic Fileman Calls
^DIC(42 - [#42] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" START+33
^DG(40.8 - [#40.8] GETOFAC+5
^DIC(42 - [#42] START+9, START+10, CHK+9, CHK+10
^ECX(727.4 - [#727.4] START+24, START+25
^TMP("ECXWRD" EN+14!, EN+24!, START+3!, START+22*, START+27*, START+35, START+38, START+41, START+42, START+51!
^TMP($J EN+9!, EN+10*, EN+11*, EN+14!, START+36*, START+43*

Label References

Name Line Occurrences
CHK START+10
GETOFAC START+28
HDR START+34, START+39, START+44, START+46
START EN+12

Naked Globals

Name Field # of Occurrence
^( CHK+10
^(0 CHK+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EN+2, START+1~, START+33
%H START+1~
%I START+1~
CNT EN+1~, EN+11*, START+43*
DA START+1~, START+11*, START+18*, CHK+7*, GETSTAT+3~, GETSTAT+4*, GETSTAT+7*, GETSTAT+8, GETOFAC+6*, GETOFAC+13*
DATA START+1~, START+42*, START+43, START+44
DATE EN+1~, EN+2*
DIC START+1~, START+11*, START+18*, CHK+5~, CHK+7*, GETSTAT+3~, GETSTAT+4*, GETSTAT+7*, GETOFAC+2~, GETOFAC+3~
, GETOFAC+6*, GETOFAC+13*
DIQ START+1~, START+11*, START+18*, CHK+5~, CHK+7*, GETSTAT+3~, GETSTAT+4*, GETSTAT+6!, GETSTAT+7*, GETOFAC+6*
, GETOFAC+12!, GETOFAC+13*
DIQ(0 START+11*, START+18*, GETSTAT+4*, GETSTAT+7*, GETOFAC+6*, GETOFAC+13*
DIR START+48!, HDR+2!
DIR(0 START+48*, HDR+2*
DIVNUM GETSTAT~, GETSTAT+4, GETSTAT+5, GETSTAT+7, GETOFAC+2~
DR START+1~, START+11*, START+18*, CHK+5~, CHK+7*, GETSTAT+3~, GETSTAT+4*, GETSTAT+7*, GETOFAC+6*, GETOFAC+13*
EC START+1~, START+10*
ECFYB EN+24!, START+5*, START+51!, CHK+6
ECFYE EN+24!, START+5*, START+51!, CHK+13
ECX START+1~, START+11!, CHK+4~, CHK+10*, CHK+11, CHK+12, CHK+13, GETSTAT+3~, GETSTAT+4!, GETSTAT+7!
, GETOFAC+2~, GETOFAC+3~, GETOFAC+6!, GETOFAC+13!
ECX( GETSTAT+5, GETSTAT+7, GETOFAC+7, GETOFAC+10
ECX(4 GETSTAT+8, GETOFAC+14
ECX(42 START+12, START+14, START+15, START+22
ECXDEPT EN+24!, START+25*, START+26, START+27, START+42*, START+43, START+44, START+45, START+51!
ECXDESC EN+16*, EN+17, EN+23!, EN+24!, START+26, START+27, START+51!
ECXDIV START+2~, START+18!, GETOFAC+3~, GETOFAC+4*, GETOFAC+5*, GETOFAC+6, GETOFAC+7, GETOFAC+10
ECXDIV( START+19
ECXDIVN EN+24!, START+15*, START+20*, START+22, START+27, START+37*, START+38*, START+40, START+41, START+42
START+43, START+51!
ECXDIVNO START+2~, START+14*, START+17, START+18, START+19
ECXFAC GETOFAC+3~, GETOFAC+7*, GETOFAC+8, GETOFAC+15
ECXFACN START+2~, START+16*, START+19*, START+20, START+23, START+29*, START+30*
ECXFY START+1~, START+4*, START+5
ECXHDR START+2~, START+7*, START+28, START+29*, START+30*, START+31*, START+36, HDR+4
ECXHDR( START+23*, START+30
ECXINST START+2~, GETOFAC+10*, GETOFAC+11, GETOFAC+13, GETOFAC+14
ECXOFAC START+2~, START+28, START+31
ECXPGM EN+16*, EN+17, EN+23!
ECXPORT EN+1~, EN+7*, EN+8, START+34, START+35, START+36, START+39, START+40, START+43, START+46
START+48, START+50
ECXSAVE EN+17, EN+23!
ECXSAVE("FY" EN+16*
ECXSAVE("POP" EN+18
ECXSAVE("ZTSK" EN+20
ECXSTA START+2~, START+29*
ECXWARD CHK+5~, CHK+7!
ECXWARD(42 CHK+8
ECXWD EN+24!, START+7*, START+8*, START+9*, START+10, START+11, START+12, START+14, START+15, START+22
START+24, START+25, START+51!, CHK+6, CHK+7, CHK+8, CHK+9, CHK+10
ECXWDN EN+24!, START+12*, START+22, START+27, START+40*, START+41*, START+42, START+43, START+44, START+51!
ECY CHK+4~, CHK+6*, CHK+10
FACNUM GETSTAT~, GETSTAT+5*, GETOFAC+2~
FY EN+1~, EN+2*, EN+4, EN+24!, START+4, START+51!, HDR+3
HDR GETOFAC~
HDR( GETOFAC+15
HDT START+1~, START+33*, HDR+3
INST GETSTAT+3~
IO EN+20, EN+21
IO(0 EN+21
IOF START+50, HDR+3
IOSL START+39, START+44, START+46
IOST START+48, START+50, HDR+1, HDR+2, HDR+3
JJ START+1~, START+49*, HDR+1*
LN START+1~, START+33*, HDR+7
MON EN+1~, EN+2*
OFAC GETOFAC~, GETOFAC+4*, GETOFAC+15*, GETOFAC+16*
PG START+1~, START+33*, HDR+2, HDR+3*
POP EN+1~
QFLG START+1~, START+33*, START+38, START+39, START+41, START+44, START+46, START+48, HDR+2*
SS START+1~, START+49*, HDR+1*
STATNO GETSTAT~, GETSTAT+8*
TMPFAC GETOFAC+3~, GETOFAC+8*, GETOFAC+9, GETOFAC+15
U START+22, START+25, START+27, START+42, START+43, START+44, CHK+11, CHK+12, CHK+13
>> X START+10, CHK+6*, CHK+8*, CHK+9*, CHK+11*, CHK+12*, CHK+13*, CHK+14*
Y START+1~, START+33*, HDR+2
YR EN+1~, EN+2*
>> ZTQUEUED START+50
>> ZTREQ START+50*
ZTSK EN+1~
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 |  Naked Globals |  Local Variables  | All