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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDEC07A

Package: Scheduling

Routine: SDEC07A


Information

SDEC07A ;ALB/SAT,PC - VISTA SCHEDULING RPCS ;Feb 12, 2020@15:22

Source Information

Source file <SDEC07A.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 6 (EDITCS,SDECCAN)^SDCNSLT  CRSCHED^SDEC  GETSLOTS^SDEC04  $$GETIEN^SDEC51  GETSLOTS^SDEC57  $$NETTOFM^SDECDATE  
VA FileMan 2 UPDATE^DIE  $$GET1^DIQ  
Kernel 1 $$NOW^XLFDT  

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

Package Total Caller Graph
Scheduling 8 SDEC  SDEC07  SDEC07PID  SDEC08  SDEC08A  SDEC31  SDESCREATEAPPT  SDTMP08  

Entry Points

Name Comments DBIA/ICR reference
OVBOOK(SDECY,SDCL,NSDT,SDECRES) ;RPC - OVERBOOK - Check if Overbook is allowed for given Clinic and Date.
XIT ;
SDECAP(SDECSDT,DFN) ;
CKOB(START,STOP,SDBK) ;called internally
; START = appointment start date/time in FM format
; STOP = appointment stop date/time in FM format
; .SDBK = bookings Array - SDBK(<appt time>,<appt end time>)=counter starting at 0
CNTOB(SDBK,SDECRES,SDTD,OBMAX,SDAB) ;called internally
SLOTS(B,E,SDAB) ;find access block
REQSET(SDRIEN,SDPROV,SDUSR,SDACT,SDECTYP,SDECNOTE,SAVESTRT,SDECRES,SDDFN) ;add SCHEDULED activity to REQUEST/CONSULTATION file
EWL(WLIEN,APPDT,SDCL,SVCP,SVCPR,NOTE,SDAPPTYP) ;update SD WAIT LIST at appointment add
ERROR ;
ERR1(SDECERR) ;Error processing

External References

Name Field # of Occurrence
UPDATE^DIE EWL+29
$$GET1^DIQ REQSET+29
EDITCS^SDCNSLT REQSET+64
SDECCAN^SDCNSLT REQSET+84
CRSCHED^SDEC OVBOOK+64
GETSLOTS^SDEC04 OVBOOK+46
$$GETIEN^SDEC51 REQSET+21, REQSET+22
GETSLOTS^SDEC57 OVBOOK+48
$$NETTOFM^SDECDATE OVBOOK+31, REQSET+61, REQSET+79
$$NOW^XLFDT REQSET+38, EWL+14

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] EWL+19
^GMR(123 - [#123] REQSET+74
^ORD(100.01 - [#100.01] REQSET+23, REQSET+25
^SC - [#44] OVBOOK+19, OVBOOK+38, REQSET+63, REQSET+82, EWL+16, EWL+17, EWL+18
^SDEC(409.831 - [#409.831] OVBOOK+22, REQSET+63, REQSET+81
^SDEC(409.84 - [#409.84] OVBOOK+74, SDECAP+4, SDECAP+5
^TMP("SDEC" ERR1+2*, ERR1+4*
^VA(200 - [#200] REQSET+20

Label References

Name Line Occurrences
$$CNTOB OVBOOK+82
$$SLOTS CNTOB+8
CKOB OVBOOK+80
ERR1 OVBOOK+18, OVBOOK+19, OVBOOK+21, OVBOOK+22, OVBOOK+32, ERROR+1
XIT OVBOOK+40

Naked Globals

Name Field # of Occurrence
^( REQSET+82

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT OVBOOK+6~, REQSET+57~, REQSET+73~
AB CNTOB+1~
ABF CNTOB+1~, SLOTS+1~, SLOTS+3, SLOTS+5*, SLOTS+6
ABN CNTOB+1~, SLOTS+1~, SLOTS+4*, SLOTS+5, SLOTS+6
AP OVBOOK+6~
APPDT EWL~, EWL+13
B CKOB+4~, CKOB+6*, CKOB+7*, CKOB+8, CKOB+9, CKOB+13, CNTOB+1~, CNTOB+4*, CNTOB+5, CNTOB+6
, CNTOB+8, SLOTS~, SLOTS+5
BK CNTOB+1~, CNTOB+2*, CNTOB+6*, CNTOB+7, CNTOB+9, CNTOB+10*
CNT CNTOB+1~, CNTOB+3*, CNTOB+4, CNTOB+5, CNTOB+9*, CNTOB+10*, CNTOB+11
DFN SDECAP~, SDECAP+6, REQSET+73~, REQSET+74*, REQSET+82, REQSET+84
DUZ REQSET+19, REQSET+20, EWL+21, EWL+28
E CKOB+4~, CKOB+8*, CKOB+9, CKOB+13, CNTOB+1~, CNTOB+5*, CNTOB+6, CNTOB+8, SLOTS~, SLOTS+5
ID SDECAP+1~, SDECAP+3*, SDECAP+4*, SDECAP+5
IDX OVBOOK+49~, OVBOOK+51*, OVBOOK+52, OVBOOK+58*, OVBOOK+59
IDX2 OVBOOK+49~, OVBOOK+54*, OVBOOK+55, OVBOOK+56
NOTE EWL~, EWL+25
NSDT OVBOOK~, OVBOOK+31*, OVBOOK+32, OVBOOK+33
OB OVBOOK+6~, CKOB+4~, CKOB+9*, CKOB+13
OBCNT OVBOOK+6~, OVBOOK+40*, OVBOOK+82*, OVBOOK+83
OBCNTSUM OVBOOK+7~, OVBOOK+8*, OVBOOK+83*, XIT+2
OBF CKOB+4~, CKOB+5*, CKOB+7, CKOB+8, CKOB+10*, CKOB+13, CKOB+14
OBMAX OVBOOK+6~, OVBOOK+39*, OVBOOK+40*, OVBOOK+82, XIT+2, CNTOB~, CNTOB+4, CNTOB+5
SAVESTRT REQSET~, REQSET+14*, REQSET+61, REQSET+79
SD REQSET+57~, REQSET+61*, REQSET+64
SD30 OVBOOK+7~, OVBOOK+66*, OVBOOK+68*, OVBOOK+69, OVBOOK+72*
SDAB OVBOOK+41~, OVBOOK+42*, OVBOOK+44, OVBOOK+48, OVBOOK+54, OVBOOK+55, OVBOOK+56*, OVBOOK+58, OVBOOK+59, OVBOOK+82
, CNTOB~, CNTOB+8, SLOTS~, SLOTS+3, SLOTS+4
SDACT REQSET~, REQSET+13*, REQSET+16, REQSET+26, REQSET+27, REQSET+50, REQSET+65
SDAPPTYP EWL~, EWL+12
SDARR OVBOOK+7~, OVBOOK+65!
SDARR( OVBOOK+71*, OVBOOK+73
SDBK OVBOOK+6~, OVBOOK+63!, OVBOOK+80, OVBOOK+82, OVBOOK+84!, CKOB~, CNTOB~
SDBK( CKOB+7, CKOB+8, CKOB+9, CKOB+13*, CKOB+14*, CNTOB+4, CNTOB+5, CNTOB+6
SDCL OVBOOK~, OVBOOK+18, OVBOOK+19, OVBOOK+38, EWL~, EWL+15, EWL+16, EWL+17, EWL+18
SDCLN OVBOOK+6~
SDCLRES OVBOOK+6~
SDCLSL OVBOOK+6~, OVBOOK+38*, OVBOOK+39
SDCNT OVBOOK+6~, OVBOOK+66*, OVBOOK+70*, OVBOOK+73*, OVBOOK+74
>> SDCPS REQSET+29*, REQSET+30
SDDFN REQSET~
SDDIV EWL+11~, EWL+18*, EWL+19
SDDT REQSET+12~, REQSET+38*
SDECAPN SDECAP+1~, SDECAP+5*, SDECAP+6
SDECERR ERR1~, ERR1+2
SDECI OVBOOK+6~, OVBOOK+13*, XIT+1*, XIT+2, XIT+3*, XIT+4, XIT+5*, XIT+6, ERR1+1*, ERR1+2
, ERR1+3*, ERR1+4
SDECNOTE REQSET~, REQSET+33*, REQSET+64, REQSET+84
SDECRES OVBOOK~, OVBOOK+21, OVBOOK+22, OVBOOK+46, OVBOOK+48, OVBOOK+64, OVBOOK+82, SDECAP+1~, SDECAP+2*, SDECAP+4
, SDECAP+6*, SDECAP+7, CNTOB~, REQSET~, REQSET+15*, REQSET+63, REQSET+81
SDECSDT SDECAP~, SDECAP+4
SDECTYP REQSET~, REQSET+84
SDECY OVBOOK~, OVBOOK+14*, OVBOOK+15, OVBOOK+16, OVBOOK+36, XIT+2, XIT+4, XIT+6
SDERR REQSET+12~
SDFDA REQSET+12~, EWL+11~
SDFDA( EWL+12*, EWL+13*, EWL+14*, EWL+15*, EWL+16*, EWL+17*, EWL+20*, EWL+21*, EWL+22*, EWL+23*
, EWL+24*, EWL+25*, EWL+26*, EWL+27*, EWL+28*
SDI SLOTS+1~, SLOTS+3*, SLOTS+4, REQSET+12~
SDIEN REQSET+12~
SDOA REQSET+12~
SDOS REQSET+12~
SDPCM REQSET+12~, REQSET+25*, REQSET+30
SDPDC REQSET+12~, REQSET+23*, REQSET+30
SDPL REQSET+73~, REQSET+82*, REQSET+84
SDPROV REQSET~
SDR OVBOOK+49~, OVBOOK+67*, OVBOOK+68, OVBOOK+71, OVBOOK+74*, OVBOOK+75, OVBOOK+76, OVBOOK+77
SDRET OVBOOK+6~, OVBOOK+64*, OVBOOK+66, OVBOOK+67, OVBOOK+84
SDRIEN REQSET~, REQSET+29, REQSET+64, REQSET+74, REQSET+84
SDSC REQSET+73~, REQSET+81*, REQSET+82, REQSET+84
SDSCHED REQSET+12~, REQSET+21*, REQSET+26
SDSCHEDF REQSET+12~, REQSET+17*
SDSLOTS OVBOOK+49~, OVBOOK+53*, OVBOOK+56, OVBOOK+60*
SDSN EWL+11~, EWL+19*, EWL+20
SDSTART OVBOOK+49~, OVBOOK+53*, OVBOOK+56, OVBOOK+60*, OVBOOK+64, OVBOOK+79
SDSTAT REQSET+12~, REQSET+22*, REQSET+27
SDSTOP OVBOOK+49~, OVBOOK+53*, OVBOOK+56, OVBOOK+60*, OVBOOK+64, OVBOOK+79
SDT OVBOOK+6~, OVBOOK+66*, OVBOOK+67, OVBOOK+75*, OVBOOK+79, OVBOOK+80
SDTD OVBOOK+6~, OVBOOK+33*, OVBOOK+46, OVBOOK+48, OVBOOK+82, CNTOB~
SDTE OVBOOK+6~, OVBOOK+76*, OVBOOK+79, OVBOOK+80
SDTTM REQSET+73~, REQSET+79*, REQSET+82, REQSET+84
SDTXT REQSET+12~, REQSET+48*
SDUSR REQSET~, REQSET+18*, REQSET+19*, REQSET+20*
SLOTS CNTOB+1~, CNTOB+8*, CNTOB+9, CNTOB+10, SLOTS+1~, SLOTS+2*, SLOTS+6*, SLOTS+7
SLOTSIZE OVBOOK+41~, OVBOOK+43*, OVBOOK+44, OVBOOK+46, OVBOOK+51, OVBOOK+52
START CKOB~, CKOB+14
STOP CKOB~, CKOB+14
SVCP EWL~, EWL+23
SVCPR EWL~, EWL+24
TMPD REQSET+83!
TMPYCLNC REQSET+57~, REQSET+63*, REQSET+64
U OVBOOK+39, OVBOOK+53, OVBOOK+56, OVBOOK+60, OVBOOK+68, OVBOOK+71, OVBOOK+75, OVBOOK+76, OVBOOK+77, SDECAP+6
, SLOTS+5, SLOTS+6, REQSET+63, REQSET+74, REQSET+81, REQSET+82, EWL+16, EWL+17, EWL+18, EWL+19
WLIEN EWL~, EWL+12, EWL+13, EWL+14, EWL+15, EWL+16, EWL+17, EWL+20, EWL+21, EWL+22
, EWL+23, EWL+24, EWL+25, EWL+26, EWL+27, EWL+28
X OVBOOK+6~, REQSET+57~, REQSET+73~
XX OVBOOK+49~, OVBOOK+52*, OVBOOK+53, OVBOOK+59*, OVBOOK+60
Y OVBOOK+6~, REQSET+12~
YY OVBOOK+49~, OVBOOK+55*, OVBOOK+56
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All