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

Package: Scheduling

Routine: SDRRISRU


Information

SDRRISRU ;ALB/MAH,BWF - Recall Reminder Utilities ;MAY 26, 2022

Source Information

Source file <SDRRISRU.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 3 (FILE,UPDATE)^DIE  $$ROOT^DILFD  $$GET1^DIQ  
Kernel 1 ($$DOW,$$FMADD,$$NOW,$$SCH)^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: 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) ;
GETAPPT(RECALLIEN) ;

External References

Name Field # of Occurrence
FILE^DIE DELSET+20
UPDATE^DIE DELSET+17
$$ROOT^DILFD GETAPPT+4
$$GET1^DIQ GETAPPT+3, GETAPPT+7
$$DOW^XLFDT YEAR+6
$$FMADD^XLFDT OPENSLOT+10, OPENSLOT+12, OPENSLOT+13, YEAR+5
$$NOW^XLFDT DELAPPT+5, DELUSER+2
$$SCH^XLFDT OPENSLOT+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(403.5 - [#403.5] GET1^DIQ,  ROOT^DILFD
^SDEC(409.84 - [#409.84] GET1^DIQ

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, DELSET+3
^SDEC(409.84 - [#409.84] GETAPPT+6

Label References

Name Line Occurrences
$$AVAIL OPENSLOT+29
$$GETAPPT DELSET+19
DELAPPT DELETE+2
DELSET DELAPPT+8, DELUSER+8
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
APPTIEN DELSET+1~, DELSET+19*, DELSET+20, GETAPPT+1~, GETAPPT+6*, GETAPPT+7, GETAPPT+8
CK OPENSLOT+6~
CLIN1 OPENSLOT+6~, DELETE+1, DELETE+2, DELAPPT~, DELAPPT+3
DA OPENSLOT+6~, DELETE+3
>> DELUSER DELUSER+6
DFN OPENSLOT+6~
DT OPENSLOT+7
DUZ DELAPPT+6, DELUSER+6
EAS DELSET+1~, DELSET+3*, DELSET+16
FDA DELSET+1~, DELSET+20!
FDA( DELSET+20*
FILEROOT GETAPPT+1~, GETAPPT+4*, GETAPPT+5
FULLREF GETAPPT+1~, GETAPPT+5*, GETAPPT+7
I AVAIL+4~, AVAIL+7*
NEWIEN DELSET+1~
NEWIEN(1 DELSET+18
RECALLIEN GETAPPT~, GETAPPT+3, GETAPPT+5
RREMIEN DELSET+1~, DELSET+18*, DELSET+20
SDPATIEN GETAPPT+1~, GETAPPT+3*, GETAPPT+6
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+8, DELSET~
SDRRFDA( DELAPPT+2*, DELAPPT+3*, DELAPPT+5*, DELAPPT+6*, DELAPPT+7*, DELUSER+2*, DELUSER+6*, DELUSER+7*, DELSET+4*, DELSET+5*
, DELSET+6*, DELSET+7*, DELSET+8*, DELSET+9*, DELSET+10*, DELSET+11*, DELSET+12*, DELSET+13*, DELSET+14*, DELSET+15*
, DELSET+16*
SDRRFTR OPENSLOT+6~, DELAPPT+7, DELUSER+7
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+8, DELSET~, DELSET+2, DELSET+3, DELSET+19
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+4, DELSET+5, DELSET+6, DELSET+7, DELSET+8, DELSET+9, DELSET+10, DELSET+11
, DELSET+12, DELSET+13, DELSET+14, DELSET+15
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*
TRGTAPPT GETAPPT+1~, GETAPPT+2*, GETAPPT+8*, GETAPPT+9
U OPENSLOT+20, OPENSLOT+23, YEAR+7, DELSET+4, DELSET+5, DELSET+6, DELSET+7, DELSET+8, DELSET+9, DELSET+10
, DELSET+11, DELSET+12, DELSET+13, DELSET+14, DELSET+15, GETAPPT+5
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