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

Package: Scheduling

Routine: SCRPW16


Information

SCRPW16 ;RENO/KEITH - Encounter 'Action Required' Report ; 01 Jan 99 9:27 PM

Source Information

Source file <SCRPW16.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
Scheduling 11 ($$ASK,$$DIVA)^SCRPW17  ($$CHEK,$$SEGS,$$T2,DET,HD1,HDR,STAT,STR)^SCRPW18  DISP0^SCRPW23  DHDR^SCRPW40  (END,SUBT,TITL)^SCRPW50  EN^SDAMQ3  $$CLINIC^SDAMU  CLASK^SDCO2  
EN^SDCOM  $$CODT^SDCOU  ($$GETOE,GETCPT,GETDX,GETPRV)^SDOE  
VA FileMan 3 ^%DT  NOW^%DTC  ^DIR  
Kernel 2 $$S^%ZTLOAD  EN^XUTMDEVQ  
Registration 2 (DEM,KVA)^VADPT  $$PRIM^VASITE  

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

Package Total Caller Graph
Scheduling 2 SCRPW ACTION REQUIRED REPORT  SCRPW18  

Entry Points

Name Comments DBIA/ICR reference
EDT
RUN ;Print report
EXIT
LOCK ;Prevent simultaneous runs of the appointment status update
DPRT(SDIV) ;Print report for a division
STOP ;Check for stop task request
EVAL
STCK(SDOE0) ;Check Status for action required
EV1(SDIV)
DIV(SDIV) ;Evaluate division
STCO() ;Evaluate Stop Code
SET(SDX)
SET1(SDIV)
CT1
CT2
CT3

External References

Name Field # of Occurrence
^%DT SCRPW16+6, EDT
NOW^%DTC RUN+5
$$S^%ZTLOAD STOP+1
^DIR EDT+4, EDT+6, RUN+22
$$ASK^SCRPW17 EDT+5
$$DIVA^SCRPW17 SCRPW16+4
$$CHEK^SCRPW18 EVAL+11
$$SEGS^SCRPW18 RUN+8
$$T2^SCRPW18 RUN+8
DET^SCRPW18 DPRT+2
HD1^SCRPW18 RUN+18
HDR^SCRPW18 RUN+18, DPRT+1
STAT^SCRPW18 DPRT+2
STR^SCRPW18 RUN+8
DISP0^SCRPW23 RUN+18
DHDR^SCRPW40 RUN+18, DPRT+1
END^SCRPW50 EXIT+2
SUBT^SCRPW50 SCRPW16+5, EDT+3
TITL^SCRPW50 SCRPW16+3
EN^SDAMQ3 RUN+7
$$CLINIC^SDAMU STCK+4
CLASK^SDCO2 EVAL+12
EN^SDCOM EVAL+19
$$CODT^SDCOU EVAL+18
$$GETOE^SDOE EVAL+1
GETCPT^SDOE EVAL+23
GETDX^SDOE EVAL+21
GETPRV^SDOE EVAL+22
DEM^VADPT EVAL+7
KVA^VADPT EXIT+2
$$PRIM^VASITE RUN+16
EN^XUTMDEVQ EDT+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: SCRPW16+6
Function Call: WRITE
  • Prompt: !
  • Line Location: EDT+0
Function Call: WRITE
  • Prompt: !!,$C(7),"End date cannot be before begin date!",!
  • Line Location: EDT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: EDT+6
Function Call: WRITE
  • Prompt: !!,"This report requires 132 column output.",!
  • Line Location: EDT+7
Function Call: WRITE
  • Prompt: !!?(IOM-$L(SDX)\2),SDX
  • Line Location: RUN+18
Function Call: WRITE
  • Prompt: !!?(132-$L(X)\2),X
  • Line Location: DPRT+1
Routine Call
  • DIR
  • Line Location:
    • EDT+4
    • EDT+6
    • RUN+22

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] RUN+17
^DIC(40.7 - [#40.7] STCO+1
^SC - [#44] EVAL+2, STCO+1
^SCE("B" RUN+9
^SCRPW16("ACTION REQUIRED REPORT" RUN+7, LOCK+1
^SD(409.41 - [#409.41] EVAL+15, EVAL+16
^SD(409.67 - [#409.67] EVAL+2
^TMP("SCRPW" RUN+1!, RUN+11, RUN+12*, RUN+17, RUN+18, RUN+20, DPRT+1, EV1*, SET1*, SET1+1*
, CT1*, CT2CT3
^TMP("SDSTATS" RUN+7!

Label References

Name Line Occurrences
$$DIV EVAL+1
$$STCK EVAL+1
$$STCO EVAL+5
CT1 RUN+12
CT2 CT1
CT3 CT2
DPRT RUN+19, RUN+21
EDT EDT+1
EV1 EVAL+25
EVAL RUN+9
EXIT SCRPW16+4, SCRPW16+6, EDTEDT+4, EDT+5, EDT+6, EDT+7, RUN+3, RUN+10, RUN+14
RUN+18, RUN+21
LOCK RUN+4
SET EVAL+11, EVAL+15, EVAL+17, EVAL+18, EVAL+21, EVAL+22, EVAL+23, EVAL+24
SET1 SET
STOP RUN+11, LOCK+3, EVAL

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% RUN+5~, EXIT+1!
%DT SCRPW16+2~, SCRPW16+6*, EXIT+1!
%DT("A" SCRPW16+6*, EDT*
%H RUN+5~
%I RUN+5~
DFN EXIT!, EVAL+7*, EVAL+18, EV1, SET1, CT2*, CT3
DIR SCRPW16+2~, EDT+6!, RUN+22~, EXIT+2!
DIR("A" EDT+4*, EDT+6*
DIR("B" EDT+4*, EDT+6*
DIR(0 EDT+4*, EDT+6*, RUN+22*
DT RUN+3, RUN+5
DTOUT SCRPW16+2~, EDT+4, EDT+6, EXIT+2!
DUOUT SCRPW16+2~, EDT+4, EDT+6, EXIT+2!
IOM RUN+18
IOST RUN+18, RUN+22
SCRPW16 EXIT+2!
SD SCRPW16+2~, EDT+5, EXIT!
SD("BDT" SCRPW16+6*, EDT+1, RUN+3, RUN+8
SD("CLINIC" EVAL+3, EVAL+4
SD("EDT" EDT+2*, RUN+3, RUN+9
SD("FORMAT" EVAL+2, EVAL+3, EVAL+4, EVAL+5, EVAL+6, STCO+2
SD("GROUP" EVAL+6
SD("ORDER" EVAL+8, EVAL+9, EVAL+10
SD("PAGE" EDT+6*
SD("STAT" EDT+4*, EDT+5, EDT+6, DPRT+2
SD("STOPCODE" STCO+2, STCO+3
SDAP0 EXIT+1!
SDARY EXIT!, EVAL+11!*
SDARY( EVAL+11
SDBDAY EXIT!
SDBEG RUN+5~*, RUN+7
SDCCT EXIT!, CT1*, CT3*
SDCG RUN+12*, EXIT+1!, EVAL+2*, EVAL+6, EV1, SET1, SET1+1, CT1CT2CT3
SDCI EXIT+1!
SDCL EXIT!, EVAL+2*, EVAL+18, STCO+1
SDCLN EXIT!, EVAL+2*, EVAL+3, EVAL+4, EV1, SET1, CT1*, CT2CT3
SDCLPT EXIT+1!
SDCLPTC EXIT+1!
SDCO EXIT+1!, EXIT+2!, EVAL+19*
SDCS EXIT+2!, STCO+1*, STCO+2, STCO+3
SDCT EXIT!
SDDEF EXIT+1!
SDDIS EXIT+1!
SDDIV SCRPW16+2~, SCRPW16+4, RUN+8, RUN+16, RUN+17, EXIT+1!, DIV+2
SDDIV( RUN+8, RUN+15, DIV+2
SDDPT EXIT!, EVAL+7*
SDDPT(1 EVAL+8, EV1
SDDPT(2 EVAL+10, EV1
SDDT RUN+8*, RUN+9*, EXIT!, EVAL+18
SDEDAY EXIT!
SDEND RUN+5~*, RUN+6*, RUN+7
SDFCT EXIT!
SDFCT( RUN+12*, CT3*
SDFF EXIT!
SDFOUND EXIT+1!, EVAL+11*, EVAL+18, EVAL+19, EVAL+20, EVAL+24, SET1+1*
SDI RUN+17*, RUN+20*, EXIT!, LOCK+1*, LOCK+3, EVAL+11*, EVAL+14*, EVAL+15, EVAL+16, EVAL+18*
SDIV RUN+11*, RUN+12, RUN+15*, RUN+18*, RUN+19*, RUN+21*, EXIT+1!, DPRT~, DPRT+1, DPRT+2
EVAL+1*, EVAL+25, EV1~, DIV~, DIV+2, SET, SET1~, SET1+1, CT1CT2
CT3
SDIV( RUN+15*, RUN+16*, RUN+17*, RUN+19
SDIVN RUN+19*, EXIT+1!
SDLINE EXIT!
SDLK RUN+1*, RUN+4, EXIT+2!, LOCK+1, LOCK+2*
SDMD RUN+8*, RUN+20*, RUN+21, EXIT+1!, EVAL+25, SET
SDOE RUN+9*, EXIT!, EVAL+1, EVAL+11, EVAL+12, EVAL+19, EVAL+21, EVAL+22, EVAL+23, EV1
, SET1, CT3*
SDOE0 EXIT!, EVAL+1*, EVAL+2, EVAL+7, EVAL+9, EVAL+18, STCK~, STCK+4, STCK+5, STCK+6
, EV1
SDORD EXIT!, EVAL+8*, EVAL+9*, EVAL+10*, EV1, SET1, CT2*, CT3
SDOUT RUN+1*, RUN+3, RUN+4, RUN+8*, RUN+9, RUN+10, RUN+11, RUN+14, RUN+18, RUN+19
RUN+21, RUN+22, EXIT+2!, LOCK+1, DPRT+1, DPRT+2, STOP+1*, EVAL
SDPAGE EXIT!
SDPNOW EXIT!
SDPT0 EXIT!
SDPTNA EXIT!
SDR EXIT!
SDSDV EXIT+1!
SDSDVC0 EXIT+1!
SDSEG RUN+1!, RUN+8*, EXIT+1!, EVAL+11
SDSN EXIT!, EVAL+10*
SDSTOP RUN+8*, EXIT+1!, EVAL*
SDSTR RUN+1!, RUN+8, EXIT!, EVAL+11
SDT RUN+1!, RUN+18, EXIT+1!, DPRT+1
SDT(2 RUN+8*
SDTCT RUN+12*, EXIT+1!, CT3*
SDTY EXIT+1!
SDV EXIT+1!
SDX RUN+17*, RUN+18*, EXIT+1!, EVAL+11*, EVAL+12!, EVAL+14, EVAL+15*, EVAL+16*, EVAL+17, EVAL+18*
EVAL+24*, SET~, SET1, SET1+1
SDX( EVAL+14
SDY EXIT+1!, EVAL+11*, SET1*
SDZ EXIT+2!, EVAL+21!, EVAL+22!, EVAL+23!
U RUN+8, RUN+16, RUN+17, EVAL+1, EVAL+2, EVAL+6, EVAL+7, EVAL+9, EVAL+10, EVAL+14
EVAL+16, EVAL+18, STCK+4, STCK+5, STCK+6, EV1, STCO+1
>> VADM EVAL+7
X SCRPW16+2~, RUN+5~, EXIT+2!, DPRT+1*
Y SCRPW16+2~, SCRPW16+6, EDTEDT+1, EDT+2, EDT+4, EDT+6, EXIT+2!
>> ZTQUEUED STOP+1
ZTSAVE SCRPW16+2~, EDT+7, EXIT+2!
ZTSAVE("SD(" EDT+7*
ZTSAVE("SDDIV" EDT+7*
ZTSAVE("SDDIV(" EDT+7*
>> ZTSTOP STOP+1*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All