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

Package: DSS Extracts

Routine: ECXUSUR


Information

ECXUSUR ;ALB/TJL-Surgery Pre-Extract Unusual Volume Report ;6/1/17 15:30

Source Information

Source file <ECXUSUR.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Kernel 5 HOME^%ZIS  ^%ZISC  $$S^%ZTLOAD  $$RJ^XLFSTR  EN^XUTMDEVQ  
DSS Extracts 3 AUDIT^ECXKILL  EN^ECXUSUR1  ($$EXPORT,EXPDISP)^ECXUTL1  
VA FileMan 3 (,DD)^%DT  NOW^%DTC  ^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: 4

Package Total Caller Graph
DSS Extracts 2 ECX SUR VOL  ECX SUR VOL REPORT  
Event Capture 2 ECX SUR VOL  ECX SUR VOL REPORT  

Entry Points

Name Comments DBIA/ICR reference
EN ; entry point
BEGIN ; display report description
SELECT ; user inputs for threshold volume and date range
PROCESS ; entry point for queued report
PRINT ; process temp file and print report
CLOSE ;
HEADER ;header and page control

External References

Name Field # of Occurrence
^%DT SELECT+16, SELECT+20
DD^%DT EN+6, SELECT+19, SELECT+29
NOW^%DTC EN+6
HOME^%ZIS EN+22
^%ZISC EN+21
$$S^%ZTLOAD PRINT+3
^DIR BEGIN+16, SELECT+7, SELECT+10, CLOSE+3, HEADER+4
AUDIT^ECXKILL EN+15, EN+23
EN^ECXUSUR1 PROCESS+2
$$EXPORT^ECXUTL1 EN+9
EXPDISP^ECXUTL1 EN+14
$$RJ^XLFSTR PRINT+14, PRINT+15, PRINT+16, PRINT+17, PRINT+18, PRINT+19
EN^XUTMDEVQ EN+19

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This report requires 132-column format."
  • Line Location: EN+18
Function Call: WRITE
  • Prompt: !!,"No device selected...exiting.",!
  • Line Location: EN+20
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: BEGIN+1
Function Call: WRITE
  • Prompt: !,"This report prints a listing of unusual volumes that would be"
  • Line Location: BEGIN+2
Function Call: WRITE
  • Prompt: !,"generated by the Surgery extract (SUR) as determined by a"
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: !,"user-defined threshold value. It should be run prior to the"
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: !,"generation of the actual extract(s) to identify and fix, as"
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: !,"necessary, any volumes determined to be erroneous."
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: !!,"Unusual volumes are those where either the Operation Time,"
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: !,"Patient Time, Anesthesia Time, Recovery Room Time, OR Clean Time"
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: !,"or Pt Holding Time field is greater than the threshold value."
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: !!,"Note: The threshold can be set after a report is selected."
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: !!,"Run times for this report will vary depending upon the size of"
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: !,"the extract and could take as long as 30 minutes or more to"
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: !,"complete. This report has no effect on the actual extracts and"
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: !,"can be run as needed."
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: !!,"The report is sorted by descending Volume and Case Number."
  • Line Location: BEGIN+15
Function Call: WRITE
  • Prompt: !!,"Enter the date range for which you would like to scan the"
  • Line Location: SELECT+13
Function Call: WRITE
  • Prompt: !,"Surgery Extract records.",!
  • Line Location: SELECT+14
Function Call: WRITE
  • Prompt: ?COL,$$RJ^XLFSTR($P(REC,U,7),4)
  • Line Location: PRINT+14
Function Call: WRITE
  • Prompt: ?COL,$$RJ^XLFSTR($P(REC,U,11),4)
  • Line Location: PRINT+15
Function Call: WRITE
  • Prompt: ?COL,$$RJ^XLFSTR($P(REC,U,9),4)
  • Line Location: PRINT+16
Function Call: WRITE
  • Prompt: ?COL,$$RJ^XLFSTR($P(REC,U,10),4)
  • Line Location: PRINT+17
Function Call: WRITE
  • Prompt: ?COL,$$RJ^XLFSTR($P(REC,U,8),4),?113,$P(REC,U,14)
  • Line Location: PRINT+19
Function Call: WRITE
  • Prompt: !!,?8,$S(ECXFLAG=1:"No surgery volumes to report for this extract",1:"No unusual volumes to report for this extract")
  • Line Location: PRINT+23
Function Call: WRITE
  • Prompt: !
  • Line Location: CLOSE+2
Function Call: WRITE
  • Prompt: !
  • Line Location: CLOSE+3
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,$S(ECXFLAG:"Surgery Pre-Extract Volume Report",1:"Surgery Pre-Extract Unusual Volume Report"),?124,"Page: "_PG
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !,"Start Date: ",ECSTART,?97,"Report Run Date/Time: "_ECRUN
  • Line Location: HEADER+8
Function Call: WRITE
  • Prompt: ?97," Threshold Value: ",ECTHLD
  • Line Location: HEADER+9
Function Call: WRITE
  • Prompt: !!,?25,"Case",?35,"Encounter",?49,"Pt Holding",?60,"Anesthesia",?71,"Patient",?81,"Operation",?91,"PACU",?101,"OR Clean",?111,"Canc/",?121,"Principal"
  • Line Location: HEADER+10
Function Call: WRITE
  • Prompt: !,"Name",?8,"SSN",?17,"Day",?24,"Number",?37,"Number"
  • Line Location: HEADER+11
Function Call: WRITE
  • Prompt: ?51,"Time",?63,"Time",?73,"Time",?84,"Time",?91,"Time",?104,"Time"
  • Line Location: HEADER+12
Function Call: WRITE
  • Prompt: ?111,"Abort",?121,"Procedure"
  • Line Location: HEADER+13
Function Call: WRITE
  • Prompt: !,LN,!
  • Line Location: HEADER+14
Routine Call
  • DIR
  • Line Location:
    • BEGIN+16
    • SELECT+7
    • SELECT+10
    • CLOSE+3
    • HEADER+4
Routine Call
  • %ZIS
  • Line Location:
    • EN+22

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("ECXPORT" EN+10!, EN+11*, EN+13, EN+15!, PRINT+8*
^TMP($J EN+3!, EN+10!, EN+13*, PRINT+6, PRINT+7

Label References

Name Line Occurrences
BEGIN EN+7
HEADER PRINT+5, PRINT+11
PRINT PROCESS+3
PROCESS EN+12
SELECT EN+8

Naked Globals

Name Field # of Occurrence
^( PRINT+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % EN+6
%DT EN+6!, SELECT+16!*, SELECT+20!*
%DT("A" SELECT+16*, SELECT+20*
%DT(0 SELECT+16*, SELECT+20*
CNT EN+1~, EN+11*, PRINT+8*
COL PRINT+1~, PRINT+14*, PRINT+15*, PRINT+16*, PRINT+17*, PRINT+19*
COUNT PRINT+1~, PRINT+4*, PRINT+10*, PRINT+23
DATE EN+1~, EN+6*, SELECT+16, SELECT+20
DIR BEGIN+16!, SELECT+7!, SELECT+10!, CLOSE+3!, HEADER+4!
DIR("A" SELECT+7*, SELECT+10*
DIR("B" SELECT+7*
DIR(0 BEGIN+16*, SELECT+7*, SELECT+10*, CLOSE+3*, HEADER+4*
DONE SELECT+1~, SELECT+15*, SELECT+30*
ECED EN+2~, SELECT+15*, SELECT+28*
ECEND EN+2~, SELECT+29*, HEADER+9
ECRUN EN+1~, EN+6*, HEADER+8
ECSD EN+2~, SELECT+15*, SELECT+18*, SELECT+22, SELECT+25
ECSD1 EN+2~, SELECT+18*
ECSTART EN+2~, SELECT+19*, HEADER+8
ECTHLD EN+1~, EN+4*, SELECT+4*, SELECT+5, SELECT+6, SELECT+10*, HEADER+9
ECXDESC EN+1~, EN+16*, EN+19
ECXERR EN+2~, PROCESS+2*
ECXFLAG EN+2~, EN+4*, EN+7, EN+16, SELECT+3, PRINT+23, HEADER+7, HEADER+9
ECXPORT EN+1~, EN+9*, PRINT+5, PRINT+8, PRINT+9, PRINT+21
ECXSAVE EN+1~, EN+19
ECXSAVE("EC*" EN+17*
ECXTL EN+1~
>> FLAG EN+4
GTOT PRINT+1~, PRINT+4*
IO EN+21, PRINT+2
IO(0 EN+21
IOF BEGIN+1, BEGIN+17, HEADER+6
IOSL PRINT+11
IOST BEGIN+17, CLOSE+1, HEADER+2, HEADER+6
JJ CLOSE+2*, HEADER+1~, HEADER+3*
LN PRINT+1~, PRINT+4*, HEADER+14
OUT SELECT+1~
PG PRINT+1~, PRINT+4*, HEADER+4, HEADER+6*, HEADER+7
PIECE PRINT+1~, PRINT+8*
>> POP EN+20
QFLG EN+2~, EN+4*, EN+7, EN+8, BEGIN+16*, SELECT+7*, SELECT+10*, SELECT+12, SELECT+15, SELECT+17*
SELECT+21*, PROCESS+3*, PRINT+1~, PRINT+4*, PRINT+5, PRINT+6, PRINT+7, PRINT+11, PRINT+22, CLOSE+1
HEADER+4*, HEADER+5
REC PRINT+1~, PRINT+7*, PRINT+8, PRINT+12, PRINT+13, PRINT+14, PRINT+15, PRINT+16, PRINT+17, PRINT+18
PRINT+19, PRINT+20
SS CLOSE+2*, HEADER+1~, HEADER+3*
SUB PRINT+1~, PRINT+7*
U PRINT+8, PRINT+12, PRINT+13, PRINT+14, PRINT+15, PRINT+16, PRINT+17, PRINT+18, PRINT+19, PRINT+20
VOL PRINT+1~, PRINT+6*, PRINT+7
X EN+1~, EN+6, SELECT+7, SELECT+10
Y EN+1~, EN+6*, BEGIN+16, SELECT+8, SELECT+10, SELECT+17, SELECT+18, SELECT+19, SELECT+21, SELECT+22
SELECT+25, SELECT+28, SELECT+29, HEADER+4
>> ZTQUEUED PRINT+3
ZTREQ PROCESS+1*, PRINT+3!
>> ZTSTOP PRINT+3*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All