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

Package: Scheduling

Routine: SDEC07A


Information

SDEC07A ;ALB/SAT - VISTA SCHEDULING RPCS ; 22 May 2018 1:05 PM

Source Information

Source file <SDEC07A.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Scheduling 4 CRSCHED^SDEC  GETSLOTS^SDEC04  $$GETIEN^SDEC51  GETSLOTS^SDEC57  
VA FileMan 3 ^%DT  (UPDATE,WP)^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: 3

Package Total Caller Graph
Scheduling 3 SDEC  SDEC07  SDEC08  

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) ;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
^%DT OVBOOK+26
UPDATE^DIE REQSET+44, REQSET+65, EWL+29
WP^DIE REQSET+55
$$GET1^DIQ REQSET+29
CRSCHED^SDEC OVBOOK+60
GETSLOTS^SDEC04 OVBOOK+42
$$GETIEN^SDEC51 REQSET+21, REQSET+22
GETSLOTS^SDEC57 OVBOOK+44
$$NOW^XLFDT REQSET+38, EWL+14

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] EWL+19
^ORD(100.01 - [#100.01] REQSET+23, REQSET+25, REQSET+58, REQSET+59
^SC - [#44] OVBOOK+19, OVBOOK+34, EWL+16, EWL+17, EWL+18
^SDEC(409.831 - [#409.831] OVBOOK+22, REQSET+48, REQSET+52
^SDEC(409.84 - [#409.84] OVBOOK+70, SDECAP+4, SDECAP+5
^TMP("SDEC" ERR1+2*, ERR1+4*
^VA(200 - [#200] REQSET+20

Label References

Name Line Occurrences
$$CNTOB OVBOOK+78
$$SLOTS CNTOB+8
CKOB OVBOOK+76
ERR1 OVBOOK+18, OVBOOK+19, OVBOOK+21, OVBOOK+22, OVBOOK+28, ERROR+1
XIT OVBOOK+36

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT OVBOOK+6~, OVBOOK+24*
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
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+45~, OVBOOK+47*, OVBOOK+48, OVBOOK+54*, OVBOOK+55
IDX2 OVBOOK+45~, OVBOOK+50*, OVBOOK+51, OVBOOK+52
NOTE EWL~, EWL+25
NSDT OVBOOK~, OVBOOK+25, OVBOOK+27*, OVBOOK+28, OVBOOK+29
OB OVBOOK+6~, CKOB+4~, CKOB+9*, CKOB+13
OBCNT OVBOOK+6~, OVBOOK+36*, OVBOOK+78*, OVBOOK+79
OBCNTSUM OVBOOK+7~, OVBOOK+8*, OVBOOK+79*, XIT+2
OBF CKOB+4~, CKOB+5*, CKOB+7, CKOB+8, CKOB+10*, CKOB+13, CKOB+14
OBMAX OVBOOK+6~, OVBOOK+35*, OVBOOK+36*, OVBOOK+78, XIT+2, CNTOB~, CNTOB+4, CNTOB+5
SAVESTRT REQSET~, REQSET+14*, REQSET+48, REQSET+52
SD30 OVBOOK+7~, OVBOOK+62*, OVBOOK+64*, OVBOOK+65, OVBOOK+68*
SDAB OVBOOK+37~, OVBOOK+38*, OVBOOK+40, OVBOOK+44, OVBOOK+50, OVBOOK+51, OVBOOK+52*, OVBOOK+54, OVBOOK+55, OVBOOK+78
, CNTOB~, CNTOB+8, SLOTS~, SLOTS+3, SLOTS+4
SDACT REQSET~, REQSET+13*, REQSET+16, REQSET+26, REQSET+27, REQSET+40, REQSET+47, REQSET+50, REQSET+62, REQSET+64
SDAPPTYP EWL~, EWL+12
SDARR OVBOOK+7~, OVBOOK+61!
SDARR( OVBOOK+67*, OVBOOK+69
SDBK OVBOOK+6~, OVBOOK+59!, OVBOOK+76, OVBOOK+78, OVBOOK+80!, 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+34, EWL~, EWL+15, EWL+16, EWL+17, EWL+18
SDCLN OVBOOK+6~
SDCLRES OVBOOK+6~
SDCLSL OVBOOK+6~, OVBOOK+34*, OVBOOK+35
SDCNT OVBOOK+6~, OVBOOK+62*, OVBOOK+66*, OVBOOK+69*, OVBOOK+70
>> SDCPS REQSET+29*, REQSET+30
SDDIV EWL+11~, EWL+18*, EWL+19
SDDT REQSET+12~, REQSET+38*, REQSET+39, REQSET+41
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+49, REQSET+53
SDECRES OVBOOK~, OVBOOK+21, OVBOOK+22, OVBOOK+42, OVBOOK+44, OVBOOK+60, OVBOOK+78, SDECAP+1~, SDECAP+2*, SDECAP+4
, SDECAP+6*, SDECAP+7, CNTOB~, REQSET~, REQSET+15*, REQSET+48, REQSET+52
SDECSDT SDECAP~, SDECAP+4
SDECTYP REQSET~, REQSET+51*, REQSET+52
SDECY OVBOOK~, OVBOOK+14*, OVBOOK+15, OVBOOK+16, OVBOOK+32, XIT+2, XIT+4, XIT+6
SDERR REQSET+12~
SDFDA REQSET+12~, REQSET+56!, REQSET+65, EWL+11~
SDFDA( REQSET+39*, REQSET+40*, REQSET+41*, REQSET+42*, REQSET+43*, 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*
SDFDA(123 REQSET+62*, REQSET+64*
SDI SLOTS+1~, SLOTS+3*, SLOTS+4, REQSET+12~
SDIEN REQSET+12~
SDIEN(1 REQSET+55
SDOA REQSET+12~, REQSET+59*, REQSET+62
SDOS REQSET+12~, REQSET+58*, REQSET+60, REQSET+62
SDPCM REQSET+12~, REQSET+25*, REQSET+30
SDPDC REQSET+12~, REQSET+23*, REQSET+30
SDPROV REQSET~, REQSET+42
SDR OVBOOK+45~, OVBOOK+63*, OVBOOK+64, OVBOOK+67, OVBOOK+70*, OVBOOK+71, OVBOOK+72, OVBOOK+73
SDRET OVBOOK+6~, OVBOOK+60*, OVBOOK+62, OVBOOK+63, OVBOOK+80
SDRIEN REQSET~, REQSET+29, REQSET+39, REQSET+40, REQSET+41, REQSET+42, REQSET+43, REQSET+55, REQSET+62, REQSET+64
SDSCHED REQSET+12~, REQSET+21*, REQSET+26, REQSET+40, REQSET+64
SDSCHEDF REQSET+12~, REQSET+17*
SDSLOTS OVBOOK+45~, OVBOOK+49*, OVBOOK+52, OVBOOK+56*
SDSN EWL+11~, EWL+19*, EWL+20
SDSTART OVBOOK+45~, OVBOOK+49*, OVBOOK+52, OVBOOK+56*, OVBOOK+60, OVBOOK+75
SDSTAT REQSET+12~, REQSET+22*, REQSET+27, REQSET+40, REQSET+64
SDSTOP OVBOOK+45~, OVBOOK+49*, OVBOOK+52, OVBOOK+56*, OVBOOK+60, OVBOOK+75
SDT OVBOOK+6~, OVBOOK+62*, OVBOOK+63, OVBOOK+71*, OVBOOK+75, OVBOOK+76
SDTD OVBOOK+6~, OVBOOK+29*, OVBOOK+42, OVBOOK+44, OVBOOK+78, CNTOB~
SDTE OVBOOK+6~, OVBOOK+72*, OVBOOK+75, OVBOOK+76
SDTXT REQSET+12~, REQSET+45*, REQSET+54
SDTXT(1 REQSET+48*, REQSET+52*
SDTXT(2 REQSET+49*, REQSET+53*
SDUSR REQSET~, REQSET+18*, REQSET+19*, REQSET+20*, REQSET+43
SLOTS CNTOB+1~, CNTOB+8*, CNTOB+9, CNTOB+10, SLOTS+1~, SLOTS+2*, SLOTS+6*, SLOTS+7
SLOTSIZE OVBOOK+37~, OVBOOK+39*, OVBOOK+40, OVBOOK+42, OVBOOK+47, OVBOOK+48
START CKOB~, CKOB+14
STOP CKOB~, CKOB+14
SVCP EWL~, EWL+23
SVCPR EWL~, EWL+24
U OVBOOK+35, OVBOOK+49, OVBOOK+52, OVBOOK+56, OVBOOK+64, OVBOOK+67, OVBOOK+71, OVBOOK+72, OVBOOK+73, SDECAP+6
, SLOTS+5, SLOTS+6, REQSET+48, REQSET+52, 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~, OVBOOK+25*
XX OVBOOK+45~, OVBOOK+48*, OVBOOK+49, OVBOOK+55*, OVBOOK+56
Y OVBOOK+6~, OVBOOK+27, REQSET+12~
YY OVBOOK+45~, OVBOOK+51*, OVBOOK+52
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All