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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDES2RSTCAVAIL

Package: Scheduling

Routine: SDES2RSTCAVAIL


Information

SDES2RSTCAVAIL ;ALB/LAB - VISTA SCHEDULING SDES2 RESTORE CLIN AVAIL ;OCT 30, 2023

Source Information

Source file <SDES2RSTCAVAIL.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Scheduling 8 $$FMTISO^SDAMUTDT  (BUILDJSON,ERRLOG)^SDES2JSON  $$INACTIVE^SDES2UTIL  VALCONTEXT^SDES2VALCONTEXT  $$VALISODTTM^SDES2VALISODTTM  VALFILEIEN^SDES2VALUTIL  EN^SDTMPHLC  $$CLNCK^SDUTL2  
VA FileMan 2 FILE^DIE  $$GET1^DIQ  
Kernel 1 $$DOW^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: 1

Package Total Caller Graph
Scheduling 1 SDES2UNBLOCKPBSP  

Entry Points

Name Comments DBIA/ICR reference
RESTORE(RESULT,SDCONTEXT,SDRESTORE) ;
GETCLINICINFO(CLINIC,INCREMENT,STARTHOUR,DATETIME,CANCELDATE) ;assign variables needed from clinic
ASSIGNVARS(CLINIC,DATETIME,RESTORETYPE) ;assign variables from input array
VALIDATE(ERRORS,CLINIC,DATETIME,RESTORETYPE) ; validate input array variables
VERIFYCANCEL(ERRORS,CLINIC,DATETIME) ;Verify that the clinic has cancellation for that a date or datetime
FULLRESTORE(RETURN,CLINIC,DATETIME) ;perform a full day restore for date provided
PARTIALRESTORE(ERRORS,RETURN,CLINIC,DATETIME,STARTHOUR,INCREMENT) ;perform partial day restore
RETCANPERIODS(ERRORS,CLINIC,DATETIME) ; if sent in time is not cancelled return time periods that are cancelled
FORMATTIME(TIME) ;add zeros to fileman time where needed
GETRETSTOREVALUE(RESTOREPATTERN,CLINIC,PATTERNDATE) ;need to define pattern
GETPOSITION(POSITION,TIME,DISPSTART,INCREMENT) ;given time returns back character string position
UPDATETMP(CLINIC,STARTDATE,ENDDATE,FUNCTION,COMMENT) ;

External References

Name Field # of Occurrence
FILE^DIE FULLRESTORE+7, PARTIALRESTORE+15, PARTIALRESTORE+17, PARTIALRESTORE+18
$$GET1^DIQ GETCLINICINFO+1, GETCLINICINFO+3, VERIFYCANCEL+2, FULLRESTORE+3, PARTIALRESTORE+2, PARTIALRESTORE+5, PARTIALRESTORE+11, RETCANPERIODS+8, RETCANPERIODS+9, RETCANPERIODS+11
, GETRETSTOREVALUE+4, GETRETSTOREVALUE+9
$$FMTISO^SDAMUTDT RETCANPERIODS+11, RETCANPERIODS+12, RETCANPERIODS+13
BUILDJSON^SDES2JSON RESTORE+4, RESTORE+10, RESTORE+12, RESTORE+17, RESTORE+21, RESTORE+22
ERRLOG^SDES2JSON VALIDATE+3, VALIDATE+5, VALIDATE+8, VALIDATE+9, VALIDATE+10, VERIFYCANCEL+3, RETCANPERIODS+5, GETRETSTOREVALUE+7
$$INACTIVE^SDES2UTIL VALIDATE+3
VALCONTEXT^SDES2VALCONTEXT RESTORE+3
$$VALISODTTM^SDES2VALISODTTM VALIDATE+7
VALFILEIEN^SDES2VALUTIL VALIDATE+1
EN^SDTMPHLC UPDATETMP+1
$$CLNCK^SDUTL2 VALIDATE+5
$$DOW^XLFDT GETRETSTOREVALUE+5

Used in RPC

RPC Name Call Tags
SDES2 RESTORE CLIN AVAIL RESTORE

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] GET1^DIQ
44.0002 GET1^DIQ
44.005 GET1^DIQ
44.05 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] FULLRESTORE+8!, PARTIALRESTORE+19!, PARTIALRESTORE+20!, RETCANPERIODS+6, GETRETSTOREVALUE+8

Label References

Name Line Occurrences
ASSIGNVARS RESTORE+8
FORMATTIME PARTIALRESTORE+6, PARTIALRESTORE+7
FULLRESTORE RESTORE+19
GETCLINICINFO RESTORE+11
GETPOSITION PARTIALRESTORE+8, PARTIALRESTORE+9
GETRETSTOREVALUE FULLRESTORE+5, PARTIALRESTORE+12
PARTIALRESTORE RESTORE+20
RETCANPERIODS FULLRESTORE+4, PARTIALRESTORE+3
UPDATETMP FULLRESTORE+9, PARTIALRESTORE+21
VALIDATE RESTORE+9
VERIFYCANCEL RESTORE+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CANCELDATE RESTORE+11, GETCLINICINFO~, GETCLINICINFO+5*
CLINIC RESTORE+8, RESTORE+9, RESTORE+11, RESTORE+16, RESTORE+19, RESTORE+20, GETCLINICINFO~, GETCLINICINFO+1, GETCLINICINFO+3, ASSIGNVARS~
, ASSIGNVARS+1*, VALIDATE~, VALIDATE+1, VALIDATE+3, VALIDATE+5, VALIDATE+7, VERIFYCANCEL~, VERIFYCANCEL+2, FULLRESTORE~, FULLRESTORE+3
, FULLRESTORE+4, FULLRESTORE+5, FULLRESTORE+6, FULLRESTORE+8, FULLRESTORE+9, PARTIALRESTORE~, PARTIALRESTORE+2, PARTIALRESTORE+3, PARTIALRESTORE+5, PARTIALRESTORE+11
, PARTIALRESTORE+12, PARTIALRESTORE+14, PARTIALRESTORE+16, PARTIALRESTORE+19, PARTIALRESTORE+20, PARTIALRESTORE+21, RETCANPERIODS~, RETCANPERIODS+6, RETCANPERIODS+8, RETCANPERIODS+9
, RETCANPERIODS+11, RETCANPERIODS+12, RETCANPERIODS+13, GETRETSTOREVALUE~, GETRETSTOREVALUE+4, GETRETSTOREVALUE+8, GETRETSTOREVALUE+9, UPDATETMP~, UPDATETMP+1
CNT RETCANPERIODS+1~, RETCANPERIODS+3*, RETCANPERIODS+11, RETCANPERIODS+12, RETCANPERIODS+13, RETCANPERIODS+15*
COMMENT UPDATETMP~, UPDATETMP+1
CURRENTSCHEDULE VERIFYCANCEL+1~, VERIFYCANCEL+2*, VERIFYCANCEL+3, FULLRESTORE+1~, FULLRESTORE+3*, FULLRESTORE+4, PARTIALRESTORE+1~, PARTIALRESTORE+11*, PARTIALRESTORE+13
DATETIME RESTORE+8, RESTORE+9, RESTORE+11, RESTORE+16, RESTORE+19, RESTORE+20, GETCLINICINFO~, GETCLINICINFO+5, ASSIGNVARS~, ASSIGNVARS+2*
, VALIDATE~, VALIDATE+7*, VALIDATE+9, VALIDATE+10, VERIFYCANCEL~, VERIFYCANCEL+2, FULLRESTORE~, FULLRESTORE+2, FULLRESTORE+4, PARTIALRESTORE~
, PARTIALRESTORE+2, PARTIALRESTORE+3, PARTIALRESTORE+5, PARTIALRESTORE+10, PARTIALRESTORE+16, PARTIALRESTORE+19, RETCANPERIODS~, RETCANPERIODS+2
DAYOFWEEK GETRETSTOREVALUE+3~, GETRETSTOREVALUE+5*, GETRETSTOREVALUE+6, GETRETSTOREVALUE+7, GETRETSTOREVALUE+8, GETRETSTOREVALUE+9
DISPSTART GETPOSITION~, GETPOSITION+3
ECNT RETCANPERIODS+1~, RETCANPERIODS+4*, RETCANPERIODS+14*
ENDDATE UPDATETMP~, UPDATETMP+1
ENDPOSITION PARTIALRESTORE+1~, PARTIALRESTORE+9, PARTIALRESTORE+13
ENDTIME RETCANPERIODS+7~, RETCANPERIODS+9*, RETCANPERIODS+10*, RETCANPERIODS+13
ERRORS RESTORE+1~, RESTORE+3, RESTORE+4, RESTORE+9, RESTORE+10, RESTORE+12, RESTORE+16, RESTORE+17, RESTORE+20, RESTORE+21
, VALIDATE~, VALIDATE+1, VALIDATE+2, VALIDATE+3, VALIDATE+4, VALIDATE+5, VALIDATE+6, VALIDATE+7, VALIDATE+8, VALIDATE+9
, VALIDATE+10, VERIFYCANCEL~, VERIFYCANCEL+3, FULLRESTORE+4, PARTIALRESTORE~, PARTIALRESTORE+3, RETCANPERIODS~, RETCANPERIODS+5, GETRETSTOREVALUE+7
ERRORS("Error" RETCANPERIODS+11*, RETCANPERIODS+12*, RETCANPERIODS+13*
ERRORS("Restore" RESTORE+4*, RESTORE+10*, RESTORE+12*, RESTORE+17*, RESTORE+21*, VALIDATE+3*, VALIDATE+5*, VALIDATE+8*, VALIDATE+9*, VALIDATE+10*
FDA FULLRESTORE+1~, FULLRESTORE+7!, PARTIALRESTORE+1~, PARTIALRESTORE+15!, PARTIALRESTORE+17!, PARTIALRESTORE+18!
FDA( FULLRESTORE+6*, PARTIALRESTORE+14*, PARTIALRESTORE+16*
FUNCTION UPDATETMP~, UPDATETMP+1
INCREMENT RESTORE+11, RESTORE+20, GETCLINICINFO~, GETCLINICINFO+1*, GETCLINICINFO+2*, PARTIALRESTORE~, PARTIALRESTORE+8, PARTIALRESTORE+9, GETRETSTOREVALUE+9, GETPOSITION~
, GETPOSITION+3
MINUTES GETPOSITION+1~, GETPOSITION+2*, GETPOSITION+3
NEWDATE RETCANPERIODS+1~, RETCANPERIODS+2*, RETCANPERIODS+6*, RETCANPERIODS+8, RETCANPERIODS+9, RETCANPERIODS+11
PATTERNDATE GETRETSTOREVALUE~, GETRETSTOREVALUE+4, GETRETSTOREVALUE+5, GETRETSTOREVALUE+8, GETRETSTOREVALUE+9
POSITION GETPOSITION~, GETPOSITION+3*
RESTOREDSCHEDULE PARTIALRESTORE+1~, PARTIALRESTORE+13*, PARTIALRESTORE+14, PARTIALRESTORE+20
RESTOREEND PARTIALRESTORE+1~, PARTIALRESTORE+5*, PARTIALRESTORE+7, PARTIALRESTORE+9, PARTIALRESTORE+21
RESTOREPATTERN FULLRESTORE+1~, FULLRESTORE+5, FULLRESTORE+6, PARTIALRESTORE+1~, PARTIALRESTORE+12, PARTIALRESTORE+13, GETRETSTOREVALUE~, GETRETSTOREVALUE+4*, GETRETSTOREVALUE+9*
RESTORESTART PARTIALRESTORE+1~, PARTIALRESTORE+2*, PARTIALRESTORE+3, PARTIALRESTORE+6, PARTIALRESTORE+8, PARTIALRESTORE+21
RESTORETYPE RESTORE+8, RESTORE+9, RESTORE+19, RESTORE+20, ASSIGNVARS~, ASSIGNVARS+3*, VALIDATE~, VALIDATE+8, VALIDATE+9, VALIDATE+10
RESULT RESTORE~, RESTORE+4, RESTORE+10, RESTORE+12, RESTORE+17, RESTORE+21, RESTORE+22
RETURN RESTORE+1~, RESTORE+19, RESTORE+20, RESTORE+22, FULLRESTORE~, PARTIALRESTORE~
RETURN("Restore" FULLRESTORE+10*, PARTIALRESTORE+22*
SDATE PARTIALRESTORE+1~
SDCONTEXT RESTORE~, RESTORE+3
SDDATE FULLRESTORE+1~, FULLRESTORE+2*, FULLRESTORE+3, FULLRESTORE+5, FULLRESTORE+6, FULLRESTORE+8, FULLRESTORE+9, PARTIALRESTORE+10*, PARTIALRESTORE+11, PARTIALRESTORE+12
, PARTIALRESTORE+14, PARTIALRESTORE+20
SDPATTERNDATE GETRETSTOREVALUE+3~, GETRETSTOREVALUE+8*, GETRETSTOREVALUE+9
SDRESTORE RESTORE~
SDRESTORE("CL INIC IEN" , ASSIGNVARS+1
SDRESTORE("DA TE OR DATETIME" , ASSIGNVARS+2
SDRESTORE("RE STORE TYPE" , ASSIGNVARS+3
STARTDATE RETCANPERIODS+1~, RETCANPERIODS+2*, RETCANPERIODS+6, UPDATETMP~, UPDATETMP+1
STARTHOUR RESTORE+11, RESTORE+20, GETCLINICINFO~, GETCLINICINFO+3*, GETCLINICINFO+4*, PARTIALRESTORE~, PARTIALRESTORE+8, PARTIALRESTORE+9
STARTPOSITION PARTIALRESTORE+1~, PARTIALRESTORE+8, PARTIALRESTORE+13
STARTTIME RETCANPERIODS+7~, RETCANPERIODS+8*, RETCANPERIODS+12, RETCANPERIODS+13
SUBFILE GETRETSTOREVALUE+3~, GETRETSTOREVALUE+6*, GETRETSTOREVALUE+7, GETRETSTOREVALUE+9
TIME FORMATTIME~, FORMATTIME+1*, GETPOSITION~, GETPOSITION+2, GETPOSITION+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All