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

Package: Scheduling

Routine: SDRRISRU


Information

SDRRISRU ;10N20/MAH - Recall Reminder Utilities ;JAN 15, 2016

Source Information

Source file <SDRRISRU.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 1 ($$DOW,$$FMADD,$$NOW,$$SCH)^XLFDT  
VA FileMan 1 UPDATE^DIE  

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 SDRRISRL  ^SD(403.5  

Entry Points

Name Comments DBIA/ICR reference
OPENSLOT(SDRRIEN,SDRRST,SDRRND) ; Function returns the number of open (available)
; slots at the clinic during the time period.
; SDRRIEN - IEN of clinic in file #44
; SDRRST - (optional) start checking on this date (default=today)
; SDRRND - (optional) end of time period (default=last day of month)
AVAIL(SDRRPAT) ; Given pattern, returns number of available slots.
; Check the pattern for available slots
; 0-9 and j-z = available slots where j=10, k=11...z=26
; $A(1)=49 $A(9)=57 $A("j")=106 $A("z")=122
YEAR ; Set-up 1 year dates
; This array is used for available appointments
DELETE ; This entry point is invoked by the new style xref A66201 on the .01 field of file 403.5
DELAPPT(SDRRIEN,APPT,CLIN1) ; Record deleted from Recall List because of appointment.
DELUSER(SDRRIEN) ; Record deleted by a user.
DELSET(SDRRIEN,SDRRFDA) ;

External References

Name Field # of Occurrence
UPDATE^DIE DELSET+15
$$DOW^XLFDT YEAR+6
$$FMADD^XLFDT OPENSLOT+10, OPENSLOT+12, OPENSLOT+13, YEAR+5
$$NOW^XLFDT DELAPPT+5, DELUSER+2
$$SCH^XLFDT OPENSLOT+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY - [#40.5] YEAR+7
^SC - [#44] OPENSLOT+15, OPENSLOT+17, OPENSLOT+20, OPENSLOT+24, OPENSLOT+27, OPENSLOT+28
^SD(403.5 - [#403.5] DELSET+2

Label References

Name Line Occurrences
$$AVAIL OPENSLOT+29
DELAPPT DELETE+2
DELSET DELAPPT+8, DELUSER+5
DELUSER DELETE+3
YEAR OPENSLOT+19

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPT DELETE+1, DELETE+2, DELAPPT~, DELAPPT+2
CK OPENSLOT+6~
CLIN1 OPENSLOT+6~, DELETE+1, DELETE+2, DELAPPT~, DELAPPT+3
DA OPENSLOT+6~, DELETE+3
DFN OPENSLOT+6~
DT OPENSLOT+7
DUZ DELAPPT+6, DELUSER+3
I AVAIL+4~, AVAIL+7*
SDRRCHAR AVAIL+4~, AVAIL+7*, AVAIL+8, AVAIL+9
SDRRCNT AVAIL+4~, AVAIL+5*, AVAIL+8*, AVAIL+9*, AVAIL+10
SDRRDA OPENSLOT+5~, DELETE+1, DELETE+2
SDRRDOW OPENSLOT+16~, OPENSLOT+17*
SDRRDT OPENSLOT+5~, OPENSLOT+21*, OPENSLOT+22*, OPENSLOT+23, OPENSLOT+24, OPENSLOT+26, OPENSLOT+27, YEAR+2~, YEAR+3*, YEAR+4
, YEAR+5*, YEAR+6, YEAR+7
SDRRFDA DELAPPT+1~, DELAPPT+8, DELUSER+1~, DELUSER+5, DELSET~
SDRRFDA( DELAPPT+2*, DELAPPT+3*, DELAPPT+5*, DELAPPT+6*, DELAPPT+7*, DELUSER+2*, DELUSER+3*, DELUSER+4*, DELSET+3*, DELSET+4*
, DELSET+5*, DELSET+6*, DELSET+7*, DELSET+8*, DELSET+9*, DELSET+10*, DELSET+11*, DELSET+12*, DELSET+13*, DELSET+14*
SDRRFTR OPENSLOT+6~, DELAPPT+7, DELUSER+4
SDRRHOL OPENSLOT+5~, OPENSLOT+20*, OPENSLOT+23
SDRRI OPENSLOT+16~, OPENSLOT+17*, YEAR+2~, YEAR+4*
SDRRIEN OPENSLOT~, OPENSLOT+15, OPENSLOT+17, OPENSLOT+20, OPENSLOT+24, OPENSLOT+27, OPENSLOT+28, DELAPPT~, DELAPPT+8, DELUSER~
, DELUSER+5, DELSET~, DELSET+2
SDRRND OPENSLOT~, OPENSLOT+8, OPENSLOT+9*, OPENSLOT+10*, OPENSLOT+11, OPENSLOT+12*, OPENSLOT+22, YEAR+4
SDRRNOAV OPENSLOT+5~, OPENSLOT+14*, OPENSLOT+17*, OPENSLOT+18
SDRRPAT AVAIL~, AVAIL+6*, AVAIL+7
SDRRREC DELSET+1~, DELSET+2*, DELSET+3, DELSET+4, DELSET+5, DELSET+6, DELSET+7, DELSET+8, DELSET+9, DELSET+10
, DELSET+11, DELSET+12, DELSET+13, DELSET+14
SDRRST OPENSLOT~, OPENSLOT+7*, OPENSLOT+9, OPENSLOT+11, OPENSLOT+13*, OPENSLOT+15, OPENSLOT+17, OPENSLOT+21, YEAR+3
SDRRT OPENSLOT+5~, OPENSLOT+26*, OPENSLOT+27, OPENSLOT+28
SDRRTOT OPENSLOT+5~, OPENSLOT+21*, OPENSLOT+29*, OPENSLOT+30
SDRRTPDT OPENSLOT+5~, OPENSLOT+24*, OPENSLOT+25, OPENSLOT+28*, OPENSLOT+29
SDRRTPT OPENSLOT+5~, OPENSLOT+27*, OPENSLOT+28
SDRRYEAR OPENSLOT+19~
SDRRYEAR( OPENSLOT+22, OPENSLOT+23, OPENSLOT+26, YEAR+6*, YEAR+7*
U OPENSLOT+20, OPENSLOT+23, YEAR+7, DELSET+3, DELSET+4, DELSET+5, DELSET+6, DELSET+7, DELSET+8, DELSET+9
, DELSET+10, DELSET+11, DELSET+12, DELSET+13, DELSET+14
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All