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

Package: Scheduling

Routine: SDES2CRTCLNAVAIL


Information

SDES2CRTCLNAVAIL ;ALB/BLB - SDES2 SET CLINIC AVAILABILITY Aug, 14 2024@12:09

Source Information

Source file <SDES2CRTCLNAVAIL.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Scheduling 10 ($$FMTISO,$$ISOTFM)^SDAMUTDT  CANCEL^SDES2CANCLNAVAIL  GETCANCSLOTS^SDES2GETCANSLOTS  (BUILDJSON,ERRLOG)^SDES2JSON  ($$CHECKDURATION,CREATE)^SDES2UTIL1  VALSTARTHOUR^SDES2VAL44  VALCONTEXT^SDES2VALCONTEXT  VALISODATERANGE^SDES2VALISODTTM  
VALFILEIEN^SDES2VALUTIL  ($$GETTZOFFSET,$$INACTIVE)^SDESUTIL  
Kernel 2 ($$DOW,$$FMADD)^XLFDT  DECODE^XLFJSON  
VA FileMan 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
CREATE(JSON,SDCONTEXT,AVAILABILITY) ;
CREATEAVAIL(AVAILABILITY,SDCONTEXT,SLOTSTOCANCEL,CLINICIEN,CLINICSTARTHOUR,SDDISPPERHR,SDCLINSTARTHR,NUMBEROFENTRIES,INPUTS,INDEFINITEUNTIL,RETURNAVAIL,ERRORS) ;
CREATEDATESTIMES(DATES,TIMES,INPUTS,AVAILABILITYDATE,NUMBEROFENTRIES,SLOTSTOCANCEL) ;
GETLASTINDEFDATE(CLINICIEN,DATE,MAXBOOKINGDAYS) ;
RECANCELSLOTS(SLOTSTOCANCEL,CLINICIEN,SDCONTEXT) ;
GETCANSLOTS(CLINICIEN,SLOTSTOCANCEL,INDEFINITE,ENDDATE,COUNT,SCHEDULEDATE,INPUTS,SDCONTEXT) ;
VALIDATE(ERRORS,AVAILABILITY,CLINICIEN,CLINICSTARTHOUR,NUMBEROFENTRIES) ;
VALIDATEINDEF(ERRORS,AVAILABILITY) ;
VALAPPTLENGTH(ERRORS,LENGTH,CLINICIEN) ;
VALIDATESLOTS(ERRORS,AVAILABILITY) ;
VALIDATEDATETIME(ERRORS,CLINICIEN,AVAILABILITY,NUMBEROFENTRIES) ;

External References

Name Field # of Occurrence
$$GET1^DIQ CREATE+7, CREATEAVAIL+10, CREATEDATESTIMES+21, GETCANSLOTS+3, VALIDATE+8, VALIDATE+14, VALIDATEDATETIME+16, VALIDATEDATETIME+17, VALIDATEDATETIME+19
$$FMTISO^SDAMUTDT CREATEDATESTIMES+21, CREATEDATESTIMES+25, CREATEDATESTIMES+28
$$ISOTFM^SDAMUTDT CREATEDATESTIMES+9, CREATEDATESTIMES+12, CREATEDATESTIMES+13, CREATEDATESTIMES+20, CREATEDATESTIMES+24, GETCANSLOTS+3, GETCANSLOTS+8, GETCANSLOTS+9, VALIDATEDATETIME+7, VALIDATEDATETIME+12
, VALIDATEDATETIME+13
CANCEL^SDES2CANCLNAVAIL RECANCELSLOTS+9
GETCANCSLOTS^SDES2GETCANSLOTS GETCANSLOTS+10
BUILDJSON^SDES2JSON CREATE+5, CREATE+12
ERRLOG^SDES2JSON VALIDATE+11, VALIDATEINDEF+3, VALIDATEINDEF+4, VALAPPTLENGTH+1, VALAPPTLENGTH+2, VALAPPTLENGTH+3, VALIDATESLOTS+6, VALIDATEDATETIME+6, VALIDATEDATETIME+14, VALIDATEDATETIME+16
, VALIDATEDATETIME+17, VALIDATEDATETIME+18, VALIDATEDATETIME+19
$$CHECKDURATION^SDES2UTIL1 VALIDATEDATETIME+17
CREATE^SDES2UTIL1 CREATEAVAIL+10
VALSTARTHOUR^SDES2VAL44 VALIDATE+15
VALCONTEXT^SDES2VALCONTEXT VALIDATE+3
VALISODATERANGE^SDES2VALISODTTM VALIDATEDATETIME+11
VALFILEIEN^SDES2VALUTIL VALIDATE+4, VALIDATE+13
$$GETTZOFFSET^SDESUTIL GETCANSLOTS+8, GETCANSLOTS+9, VALIDATEDATETIME+7
$$INACTIVE^SDESUTIL VALIDATEDATETIME+18
$$DOW^XLFDT CREATEAVAIL+10
$$FMADD^XLFDT CREATEDATESTIMES+26, GETLASTINDEFDATE+4, GETLASTINDEFDATE+5, GETCANSLOTS+24
DECODE^XLFJSON GETCANSLOTS+11

Used in RPC

RPC Name Call Tags
SDES2 CREATE CLINIC AVAIL CREATE

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY - [#40.5] VALIDATEDATETIME+19
^SC - [#44] GETLASTINDEFDATE+6

Label References

Name Line Occurrences
$$GETLASTINDEFDATE CREATEDATESTIMES+21
CREATEAVAIL CREATE+7
CREATEDATESTIMES CREATEAVAIL+8
GETCANSLOTS CREATEDATESTIMES+25, CREATEDATESTIMES+28
RECANCELSLOTS CREATE+10
VALAPPTLENGTH VALIDATE+14
VALIDATE CREATE+4
VALIDATEDATETIME VALIDATE+17
VALIDATEINDEF VALIDATE+18
VALIDATESLOTS VALIDATE+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AVAILABILITY CREATE~, CREATE+3, CREATE+4, CREATE+7, CREATEAVAIL~, VALIDATE~, VALIDATE+16, VALIDATE+17, VALIDATE+18, VALIDATEINDEF~
, VALIDATESLOTS~, VALIDATEDATETIME~
AVAILABILITY( "CLINIC IEN" , VALIDATE+4, VALIDATE+7, "END DATE TIME" , VALIDATE+11, VALIDATEDATETIME+6, VALIDATEDATETIME+9*, VALIDATEDATETIME+11, VALIDATEDATETIME+13*, VALIDATEDATETIME+17
, "NUMBER OF SLOTS" , VALIDATE+10, VALIDATESLOTS+4, VALIDATESLOTS+5, VALIDATESLOTS+6, VALIDATEDATETIME+4, "START DATE TIME" , CREATEAVAIL+10, VALIDATE+11, VALIDATEDATETIME+6
, VALIDATEDATETIME+7, VALIDATEDATETIME+8*, VALIDATEDATETIME+11, VALIDATEDATETIME+12*, VALIDATEDATETIME+14, VALIDATEDATETIME+16, VALIDATEDATETIME+17, VALIDATEDATETIME+18, VALIDATEDATETIME+19
AVAILABILITY("INDEFINITE" CREATEDATESTIMES+21, CREATEDATESTIMES+25, CREATEDATESTIMES+28, VALIDATEINDEF+2, VALIDATEINDEF+3, VALIDATEINDEF+4
AVAILABILITYDATE CREATEDATESTIMES~, CREATEDATESTIMES+6
CANCEL RECANCELSLOTS+1~, RECANCELSLOTS+9
CANCEL("CLINI C IEN" , RECANCELSLOTS+5*
CANCEL("END D ATE TIME" , RECANCELSLOTS+8*
CANCEL("FULL PARTIAL FLAG" , RECANCELSLOTS+6*
CANCEL("START DATE TIME" , RECANCELSLOTS+7*
CANCELRETURN RECANCELSLOTS+1~, RECANCELSLOTS+9
CANSLOTS GETCANSLOTS+1~, GETCANSLOTS+10!
CANSLOTS("CLINICIEN" GETCANSLOTS+7*
CANSLOTS("SDESENDDATE" GETCANSLOTS+9*
CANSLOTS("SDESSTART" GETCANSLOTS+8*
CANSLOTSENDDATE CREATEAVAIL+1~, CREATEDATESTIMES+21*, CREATEDATESTIMES+24, CREATEDATESTIMES+25, CREATEDATESTIMES+28
CLINICIEN CREATE+1~, CREATE+4, CREATE+7, CREATE+10, CREATEAVAIL~, CREATEAVAIL+10, CREATEDATESTIMES+21, CREATEDATESTIMES+25, CREATEDATESTIMES+28, GETLASTINDEFDATE~
, GETLASTINDEFDATE+6, RECANCELSLOTS~, RECANCELSLOTS+5, GETCANSLOTS~, GETCANSLOTS+3, GETCANSLOTS+7, GETCANSLOTS+8, GETCANSLOTS+9, VALIDATE~, VALIDATE+7*
, VALIDATE+8, VALIDATE+13, VALIDATE+14, VALIDATE+17, VALAPPTLENGTH~, VALIDATEDATETIME~, VALIDATEDATETIME+7, VALIDATEDATETIME+11, VALIDATEDATETIME+12, VALIDATEDATETIME+13
, VALIDATEDATETIME+16, VALIDATEDATETIME+17, VALIDATEDATETIME+18, VALIDATEDATETIME+19
CLINICSTARTHOUR CREATE+1~, CREATE+4, CREATE+7, CREATEAVAIL~, CREATEAVAIL+10, VALIDATE~, VALIDATE+8*, VALIDATE+15
COUNT CREATEAVAIL+1~, CREATEAVAIL+3*, CREATEAVAIL+4, CREATEAVAIL+5*, CREATEAVAIL+6, CREATEAVAIL+8, CREATEAVAIL+10, CREATEAVAIL+12, CREATEAVAIL+14, CREATEAVAIL+15
, CREATEDATESTIMES+1~, CREATEDATESTIMES+3*, CREATEDATESTIMES+4, CREATEDATESTIMES+5*, CREATEDATESTIMES+6, CREATEDATESTIMES+8, CREATEDATESTIMES+9, CREATEDATESTIMES+12, CREATEDATESTIMES+13, CREATEDATESTIMES+14
, CREATEDATESTIMES+15, CREATEDATESTIMES+17, CREATEDATESTIMES+20, CREATEDATESTIMES+21, CREATEDATESTIMES+22, CREATEDATESTIMES+25, CREATEDATESTIMES+28, RECANCELSLOTS+1~, RECANCELSLOTS+3*, RECANCELSLOTS+4*
, RECANCELSLOTS+6, RECANCELSLOTS+7, RECANCELSLOTS+8, GETCANSLOTS~, VALIDATEINDEF+1*, VALIDATEINDEF+2*, VALIDATEINDEF+3, VALIDATEINDEF+4, VALIDATESLOTS+1~, VALIDATESLOTS+3*
, VALIDATESLOTS+4*, VALIDATESLOTS+5, VALIDATESLOTS+6, VALIDATEDATETIME+1~, VALIDATEDATETIME+3*, VALIDATEDATETIME+4, VALIDATEDATETIME+6, VALIDATEDATETIME+7, VALIDATEDATETIME+8, VALIDATEDATETIME+9
, VALIDATEDATETIME+11, VALIDATEDATETIME+12, VALIDATEDATETIME+13, VALIDATEDATETIME+14, VALIDATEDATETIME+16, VALIDATEDATETIME+17, VALIDATEDATETIME+18, VALIDATEDATETIME+19
DATE GETLASTINDEFDATE~, GETLASTINDEFDATE+3
DATENEXTTIMESLOT CREATEAVAIL+1~, CREATEDATESTIMES+20*, CREATEDATESTIMES+21, CREATEDATESTIMES+24, CREATEDATESTIMES+25, CREATEDATESTIMES+26*, CREATEDATESTIMES+28
DATES CREATEAVAIL+1~, CREATEAVAIL+8, CREATEAVAIL+10!, CREATEDATESTIMES~, CREATEDATESTIMES+9*, CREATEDATESTIMES+13*, CREATEDATESTIMES+18*
DATES( CREATEDATESTIMES+9*, CREATEDATESTIMES+11, CREATEDATESTIMES+13*
DATES(9999999 CREATEDATESTIMES+17, CREATEDATESTIMES+18*
DONE CREATEAVAIL+1~, CREATEAVAIL+3*, CREATEAVAIL+4, CREATEAVAIL+9*, CREATEDATESTIMES+1~, CREATEDATESTIMES+23*
DT GETLASTINDEFDATE+4, VALIDATEDATETIME+14
ENDDATE CREATEAVAIL+1~, GETCANSLOTS~
ENDTIME CREATEDATESTIMES+1~
ERRORS CREATE+1~, CREATE+4, CREATE+5, CREATE+7, CREATEAVAIL~, CREATEAVAIL+10, VALIDATE~, VALIDATE+3, VALIDATE+4, VALIDATE+5
, VALIDATE+11, VALIDATE+13, VALIDATE+14, VALIDATE+15, VALIDATE+16, VALIDATE+17, VALIDATE+18, VALIDATEINDEF~, VALIDATEINDEF+2, VALIDATEINDEF+3
, VALIDATEINDEF+4, VALAPPTLENGTH~, VALAPPTLENGTH+1, VALAPPTLENGTH+2, VALAPPTLENGTH+3, VALIDATESLOTS~, VALIDATESLOTS+6, VALIDATEDATETIME~, VALIDATEDATETIME+3, VALIDATEDATETIME+6
, VALIDATEDATETIME+11, VALIDATEDATETIME+14, VALIDATEDATETIME+16, VALIDATEDATETIME+17, VALIDATEDATETIME+18, VALIDATEDATETIME+19
ERRORS("ClinicAvailability" CREATE+5*
FDATA VALIDATE+1~
FOUND GETLASTINDEFDATE+1~, GETLASTINDEFDATE+3*, GETLASTINDEFDATE+4, GETLASTINDEFDATE+6*
INDEFINITE GETCANSLOTS~
INDEFINITEUNTIL CREATE+1~, CREATE+7, CREATEAVAIL~, CREATEAVAIL+10, CREATEAVAIL+13, CREATEAVAIL+14!
INPUTS CREATE+1~, CREATE+3*, CREATE+7, CREATEAVAIL~, CREATEAVAIL+8, CREATEDATESTIMES~, CREATEDATESTIMES+25, CREATEDATESTIMES+28, GETCANSLOTS~
INPUTS("END D ATE TIME" , CREATEDATESTIMES+14, CREATEDATESTIMES+15
INPUTS("INDEFINITE" CREATEDATESTIMES+17, CREATEDATESTIMES+22
INPUTS("NUMBE R OF SLOTS" , CREATEDATESTIMES+8, CREATEDATESTIMES+15
INPUTS("START DATE TIME" , CREATEAVAIL+6, CREATEAVAIL+8, CREATEAVAIL+15, CREATEDATESTIMES+6, CREATEDATESTIMES+9, CREATEDATESTIMES+12, CREATEDATESTIMES+13, CREATEDATESTIMES+14, CREATEDATESTIMES+15
, CREATEDATESTIMES+20
JSON CREATE~, CREATE+5, CREATE+12, GETCANSLOTS+1~, GETCANSLOTS+10
LASTTIMESLOTDATE CREATEDATESTIMES+1~, CREATEDATESTIMES+11*, CREATEDATESTIMES+12
LENGTH VALAPPTLENGTH~, VALAPPTLENGTH+1, VALAPPTLENGTH+2, VALAPPTLENGTH+3
MAXBOOKINGDAYS GETLASTINDEFDATE~, GETLASTINDEFDATE+4
NUM GETCANSLOTS+1~, GETCANSLOTS+14*, GETCANSLOTS+17*, GETCANSLOTS+18, GETCANSLOTS+19
NUMBEROFENTRIES CREATE+1~, CREATE+4, CREATE+7, CREATEAVAIL~, CREATEAVAIL+4, CREATEAVAIL+8, CREATEDATESTIMES~, CREATEDATESTIMES+4, VALIDATE~, VALIDATE+10*
, VALIDATE+11, VALIDATE+17, VALIDATEDATETIME~, VALIDATEDATETIME+3
OSTDATE GETLASTINDEFDATE+1~, GETLASTINDEFDATE+3*, GETLASTINDEFDATE+4, GETLASTINDEFDATE+5*, GETLASTINDEFDATE+6, GETLASTINDEFDATE+7
RETURNAVAIL CREATE+1~, CREATE+7, CREATE+12, CREATEAVAIL~, CREATEAVAIL+9*
RETURNAVAIL("ClinicAvailability" CREATEAVAIL+12*, CREATEAVAIL+14*
SCHEDULEDATE GETCANSLOTS~, GETCANSLOTS+3, GETCANSLOTS+4, GETCANSLOTS+5, GETCANSLOTS+8, GETCANSLOTS+9, GETCANSLOTS+24*
SCHEDULEDDAYS CREATEAVAIL+1~, CREATEAVAIL+6, CREATEAVAIL+15*
SDCLINSTARTHR CREATE+1~, CREATEAVAIL~
SDCONTEXT CREATE~, CREATE+7, CREATE+10, CREATEAVAIL~, CREATEDATESTIMES+25, CREATEDATESTIMES+28, RECANCELSLOTS~, RECANCELSLOTS+9, GETCANSLOTS~, GETCANSLOTS+10
, VALIDATE+3
SDDISPPERHR CREATE+1~, CREATEAVAIL~, CREATEAVAIL+10
SDRETURN CREATEAVAIL+1~, CREATEAVAIL+10
SLOTNUM GETCANSLOTS+1~, GETCANSLOTS+15*, GETCANSLOTS+16*, GETCANSLOTS+18, GETCANSLOTS+19
SLOTS CREATEDATESTIMES+1~, GETCANSLOTS+1~, GETCANSLOTS+22, GETCANSLOTS+24!
SLOTS("CancelledSlots" GETCANSLOTS+13, GETCANSLOTS+16, GETCANSLOTS+18, GETCANSLOTS+19, GETCANSLOTS+21
SLOTSTOCANCEL CREATE+1~, CREATE+7, CREATE+10!, CREATEAVAIL~, CREATEAVAIL+8, CREATEAVAIL+9, CREATEDATESTIMES~, CREATEDATESTIMES+25, CREATEDATESTIMES+28, RECANCELSLOTS~
, GETCANSLOTS~, GETCANSLOTS+22*
SLOTSTOCANCEL("CancelledSlots" CREATE+9, RECANCELSLOTS+4, RECANCELSLOTS+6, RECANCELSLOTS+7, RECANCELSLOTS+8, GETCANSLOTS+4*, GETCANSLOTS+5*, GETCANSLOTS+13, GETCANSLOTS+14, GETCANSLOTS+18*
, GETCANSLOTS+19*
SLOTSTOCANCEL("Error" CREATEAVAIL+9
STARTDATE CREATEDATESTIMES+1~
STARTTIME CREATEDATESTIMES+1~
SUBSCRIPT CREATEDATESTIMES+1~
TIME VALIDATEDATETIME+1~
TIMES CREATEAVAIL+1~, CREATEAVAIL+8, CREATEAVAIL+10!, CREATEDATESTIMES~, CREATEDATESTIMES+9*, CREATEDATESTIMES+14*, CREATEDATESTIMES+30*
TIMES( CREATEDATESTIMES+15*
TIMEZONEOFFSET VALIDATEDATETIME+1~, VALIDATEDATETIME+7*, VALIDATEDATETIME+8, VALIDATEDATETIME+9
U CREATEAVAIL+15, CREATEDATESTIMES+15
VAL VALIDATE+1~, VALIDATE+4, VALIDATE+13
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All