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

Package: Scheduling

Routine: SDN


Information

SDN ;SF/GFT,ALB/LDB - RECORD NO SHOWS ;JUL 19, 2016

Source Information

Source file <SDN.m>

Call Graph

Call Graph

Call Graph Total: 24

Package Total Call Graph
Scheduling 12 $$STATUS^SDAM1  ($$FIND,$$INP)^SDAM2  ($$HANDLE,BEFORE,NOSHOW)^SDAMEVT  NOSHOW^SDCNSLT  NSLET1^SDDIV  SDECNOS^SDEC31  $$APPTGET^SDECUTL  $$CHK^SDM1A  
(END,START)^SDN0  NS^SDN2  DIS^SDNDIS  DIV^SDUTL  
VA FileMan 5 ^%DT  NOW^%DTC  ^DIC  YN^DICN  ^DIR  
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  $$UP^XLFSTR  
Registration 2 LO^DGUTL  $$BADADR^DGUTL3  
List Manager 1 $$FTIME^VALM1  

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 SDAMN  SDNOSHOW  

Entry Points

Name Comments DBIA/ICR reference
7
71
72
EN1 ; -- entry pt for protocol action
ALNS
73 ;
CK1
ASKA
ASKL
RD1
RD2
AOR
NSLTR
SDMLT ;
ASK
EVT ; -- separate tag if need to NEW vars

External References

Name Field # of Occurrence
^%DT 7
NOW^%DTC SDN+4
^%ZIS AOR+4
^%ZISC AOR+8
^%ZTLOAD AOR+7
LO^DGUTL SDN+4
$$BADADR^DGUTL3 ASKL+3
^DIC 71+1, 72+2, RD1+2
YN^DICN ALNSASKL+1
^DIR ASKL+7
$$STATUS^SDAM1 EN1+12, ALNS+11, SDMLT+4
$$FIND^SDAM2 EN1+3, ALNS+3
$$INP^SDAM2 ALNS+5
$$HANDLE^SDAMEVT EN1+3, ALNS+3
BEFORE^SDAMEVT EN1+4, ALNS+4
NOSHOW^SDAMEVT EVT+2
NOSHOW^SDCNSLT EVT+4
NSLET1^SDDIV SDN+5
SDECNOS^SDEC31 EN1+8, ALNS+9
$$APPTGET^SDECUTL EN1+7, ALNS+8
$$CHK^SDM1A ALNS+11
END^SDN0 SDN+5, 73+1, ASKL+8, AORAOR+4, AOR+5, AOR+8
START^SDN0 AOR+8
NS^SDN2 EN1+1
DIS^SDNDIS ASKL+8, AORAOR+1
DIV^SDUTL SDN+5
$$FTIME^VALM1 SDMLT+5
$$UP^XLFSTR RD1+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Formatting: !!
  • Prompt: "NO-SHOWS FOR WHAT DATE: "
  • Variable: X
  • Timeout: DTIME
  • Line Location: 7+0
Function Call: WRITE
  • Prompt: !
  • Line Location: 71+0
Function Call: WRITE
  • Prompt: W
  • Condition for execution: $P(^DPT(+DFN,"S",I,0),U,2)'["A" !,*7," ALREADY RECORDED AS NO-SHOW..." W " WANT TO ERASE" D YN^DICN I '%
  • Line Location: ALNS+0
Function Call: WRITE
  • Prompt: !,"RESPOND YES OR NO"
  • Line Location: ALNS+0
Function Call: WRITE
  • Prompt: "...NO LONGER A NO-SHOW!"
  • Line Location: ALNS+2
Function Call: WRITE
  • Prompt: !,"RESPOND YES (Y) OR NO (N)"
  • Line Location: ASKA+1
Function Call: WRITE
  • Prompt: !,"RESPOND YES (Y) OR NO (N)"
  • Line Location: ASKL+1
Function Call: WRITE
  • Prompt: *7,!,"** THIS PATIENT HAS BEEN FLAGGED WITH A BAD ADDRESS INDICATOR, NO LETTER"
  • Line Location: ASKL+4
Function Call: WRITE
  • Prompt: !,"WILL BE PRINTED."
  • Line Location: ASKL+5
Function Call: READ
  • Formatting: !!
  • Prompt: "FOR CLINIC: ALL// "
  • Variable: X
  • Timeout: DTIME
  • Line Location: RD1+1
Function Call: WRITE
  • Prompt: !,?3,"ENTER A CLINIC NAME, OR 'ALL' FOR ALL CLINICS"
  • Line Location: RD1+1
Function Call: WRITE
  • Prompt: !,$P(^SC(C,0),"^")_SDMSG
  • Line Location: RD2+0
Function Call: WRITE
  • Prompt: !,$P(^SC(C,0),"^")_SDMSG
  • Line Location: RD2+1
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: AOR+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: AOR+8
Function Call: READ
  • Formatting: !!
  • Prompt: "SELECT APPOINTMENT: "
  • Variable: SDCT
  • Timeout: DTIME
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: !,"Please enter one number to indicate which appointment."
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: !
  • Line Location: ASK+1
Routine Call
  • DIC
  • Line Location:
    • 71+1
    • 72+2
    • RD1+2
Routine Call
  • DIR
  • Line Location:
    • ASKL+7
Routine Call
  • %ZIS
  • Line Location:
    • AOR+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] Classic Fileman Calls
^SC - [#44] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] SDN+5
^DPT - [#2] EN1+1, EN1+5*, EN1+12, EN1+14, ALNSALNS+6*, ALNS+11*, CK1SDMLT+4
^SC - [#44] RD2RD2+1, RD2+2, EVT+3
^UTILITY($J SDN+4!, EN1+11, ALNS+13!

Label References

Name Line Occurrences
7 7
71 72+2
72 72+2, EN1+1, EN1+2, ALNS+1, ALNS+14
73 71+1
ALNS ALNS
AOR RD1+1
ASK ASK
ASKA 73+1
ASKL ASKAASKL+1
CK1 CK1+2
EVT EN1+13, ALNS+12
NSLTR AOR+5, AOR+8
RD1 RD1+1, RD1+2
RD2 RD1
SDMLT 72+2

Naked Globals

Name Field # of Occurrence
^( EN1+11*
^("LTR" RD2+1, RD2+2
^(0 EN1+5*, ALNS+6*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % SDN+4, ALNS*, ALNS+1, ALNS+2, ASKL+1*, ASKL+2
>> %DT 7*
>> %DT(0 7*
>> %ZIS AOR+4*
>> ALS ASKL+2*, ASKL+3, ASKL+6*, ASKL+8, RD2*, RD2+1*, AORNSLTRNSLTR+1
>> ANS ASKL*, ASKL+8, AORNSLTR
>> AUTO EVT+4
C RD1+1!, RD2*, RD2+1, RD2+2, AOR*
CN EVT+1~, EVT+3*, EVT+4
CNPAT EVT+1~, EVT+3*, EVT+4
CNSTLNK EVT+1~, EVT+3*, EVT+4
>> DATEND ASKL*
>> DFN 72+2*, EN1+1, EN1+3, EN1+4, EN1+5, EN1+7, EN1+11, EN1+12, EN1+14, ALNS
ALNS+3, ALNS+4, ALNS+5, ALNS+8, ALNS+11, ASKL+3, SDMLT+4, EVT+2, EVT+3
DIC SDN+5*, 71!*, 72*, RD1+1!, RD1+2*
DIC("A" 71*, 71+1!
DIC("S" 71*, 71+1!, 72*, 72+2!, RD1+2*!
DIC(0 SDN+5*, 71*, 72*, RD1+2*
>> DIR(0 ASKL+7*!
>> DIV SDN+5
DT SDN+5, 7
DTIME 7RD1+1, ASK
>> DTOUT ASKL+1*, ASKL+2
DUZ EN1+5, EN1+8
I 72+2*, EN1+1, EN1+3, EN1+4, EN1+5, EN1+11, EN1+12, EN1+14, ALNSALNS+3
ALNS+4, ALNS+5, CK1CK1+1, EVT+1~
IO AOR+5, AOR+8
IO("Q" AOR+4!, AOR+5
IO(0 AOR+5, AOR+8
IOF AOR+5, AOR+8
NSDA NSLTR!, NSLTR+1!, EVT+4
NSDIE NSLTR!, NSLTR+1!, EVT+4
>> POP CK1*, CK1+1*, AOR+4
>> SC 71*, 71+1*, EN1+3, EN1+4, EN1+7, EN1+11, EN1+12, ALNS+3, ALNS+4, ALNS+8
ALNS+11, ALNS+13, RD1SDMLT+4, EVT+2, EVT+3, EVT+4
SD1 71+1*, 72*, 72+1, CK1*, EVT+1~
SD2 71+1*, CK1CK1+1, EVT+1~
SDATA SDN+3~, EN1+4, EN1+13!, ALNS+4, ALNS+12!, EVT+2
SDCNT SDMLT+1~, SDMLT+2*, SDMLT+6, ASK
SDCP SDN+4!
SDCT 72+2, SDMLT+2*, SDMLT+3*, SDMLT+4, SDMLT+5, SDMLT+6*, ASK*, EVT+1~
SDDA EN1+3~*, EN1+4, EN1+12, ALNS+3~*, ALNS+4, ALNS+11, EVT+2
>> SDDT SDN+5*
SDDTM EN1+4*, EN1+7, ALNS+4*, ALNS+5, ALNS+6, ALNS+8, ALNS+11, ALNS+13!, EVT+2, EVT+3
EVT+4
SDECAPPT EN1+7~*, EN1+8, ALNS+8~*, ALNS+9
>> SDED ASKL*
SDINP ALNS+5*, ALNS+6, ALNS+11, ALNS+13!, EVT+1~
>> SDLET ASKL+1*, RD2+2*
SDLT SDN+4!, SDN+5*!
>> SDLT1 SDN+4*
SDMSG 71+1*, RD2RD2+1, EVT+1~
>> SDNSACT 72ASKL+3, RD1
SDNSHDL EN1+3~*, EN1+4, ALNS+3~*, ALNS+4, EVT+2
SDSTAT EN1+1*, EN1+2, EN1+11, SDMLT+1~, SDMLT+4*, SDMLT+5, ASKEVT+1~
SDT 7*, 71+1, 7272+1!*, ASKLEVT+1~
SDT( 72+2, SDMLT+3, SDMLT+4, SDMLT+5, ASK
SDTIME SDN+4*, EN1+5, EN1+8, EVT+1~
>> SDV1 SDN+5*
SDYES 7*, EN1+10*, 73+1, EVT+1~
SM 7+1*, 72CK1EVT+1~
SM1 7+2*, 72+2, EVT+1~
U SDN+4*, 7EN1+1, EN1+5, EN1+14, ALNSALNS+6, ALNS+11, CK1ASK
EVT+3
>> X 7*, 72+2, ALNS+5*, RD1+1*
Y SDN+5, 771+1, 72+2, ALNS+5*, ALNS+6, ALNS+13, CK1, RD1*, RD1+2
RD2EVT+1~
>> ZTRTN AOR+6*
ZTS AOR+6*, AOR+7!
>> ZTSAVE( AOR+6*
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