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

Package: Scheduling

Routine: SDESCREATEAPPT44


Information

SDESCREATEAPPT44 ;ALB/BLB,DJS,BLB,TJB - SDES CREATE APPOINTMENT ;Jun 17, 2024

Source Information

Source file <SDESCREATEAPPT44.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 6 MAKE^SDAMEVT  $$ISOTFM^SDAMUTDT  $$INACTIVE^SDEC32  $$SCIEN^SDECU2  ASSEMBLE^SDESCLINDAILYSCH  ERRLOG^SDESJSON  
VA FileMan 2 (FILE,UPDATE)^DIE  $$GET1^DIQ  
Kernel 1 ($$FMADD,$$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: 2

Package Total Caller Graph
Scheduling 2 SDESCRTAPPTWRAP  SDESREQAPPCREATE  

Entry Points

Name Comments DBIA/ICR reference
VALIDATE(ERRORS,ARY44) ;
APPTIN44EXISTS(DFN,CLINIC,DATE) ;
CREATE(ARRAY44001FDA,ARRAY44003FDA,NEWIEN44001,IENS44,ARY44) ;
CLEANUP44(ARY44,NEWIEN44,SDREQTYPE) ;
DECREMENTAVAIL1(CLINICIEN,APPTSTARTTIME,APPTLENGTH) ;
DECREMENTAVAIL2(CLINICIEN,APPTSTARTTIME,APPTLENGTH) ;decrement availability by one when creating appointment
AVUPDT(SDECSCD,SDECSTART,SDECLEN) ;

External References

Name Field # of Occurrence
FILE^DIE DECREMENTAVAIL2+25
UPDATE^DIE CLEANUP44+5
$$GET1^DIQ APPTIN44EXISTS+4, APPTIN44EXISTS+5, DECREMENTAVAIL1+2, DECREMENTAVAIL2+3, DECREMENTAVAIL2+4, DECREMENTAVAIL2+5, DECREMENTAVAIL2+6, DECREMENTAVAIL2+10, DECREMENTAVAIL2+16
MAKE^SDAMEVT CLEANUP44+9
$$ISOTFM^SDAMUTDT VALIDATE+18
$$INACTIVE^SDEC32 VALIDATE+8
$$SCIEN^SDECU2 CLEANUP44+8
ASSEMBLE^SDESCLINDAILYSCH DECREMENTAVAIL2+16
ERRLOG^SDESJSON VALIDATE+6, VALIDATE+7, VALIDATE+8, VALIDATE+12, VALIDATE+13, VALIDATE+17, VALIDATE+19, VALIDATE+24, VALIDATE+25, VALIDATE+34
, VALIDATE+38, VALIDATE+42, DECREMENTAVAIL2+13, DECREMENTAVAIL2+18
$$FMADD^XLFDT DECREMENTAVAIL1+6, DECREMENTAVAIL2+13
$$NOW^XLFDT CREATE+13

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(8 - [#8] VALIDATE+38
^DPT - [#2] VALIDATE+13
^SC - [#44] VALIDATE+7, APPTIN44EXISTS+3, CREATE+3, DECREMENTAVAIL2+15, DECREMENTAVAIL2+18, AVUPDT+4, AVUPDT+5, AVUPDT+7, AVUPDT+9*

Label References

Name Line Occurrences
$$APPTIN44EXISTS VALIDATE+41
DECREMENTAVAIL1 CLEANUP44+11
DECREMENTAVAIL2 DECREMENTAVAIL1+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTLENGTH DECREMENTAVAIL1~, DECREMENTAVAIL1+3, DECREMENTAVAIL1+7, DECREMENTAVAIL2~
APPTSTARTTIME DECREMENTAVAIL1~, DECREMENTAVAIL1+6*, DECREMENTAVAIL1+7, DECREMENTAVAIL2~, DECREMENTAVAIL2+3, DECREMENTAVAIL2+8, DECREMENTAVAIL2+13, DECREMENTAVAIL2+15, DECREMENTAVAIL2+16, DECREMENTAVAIL2+18
, DECREMENTAVAIL2+24
ARRAY44001FDA CREATE~
ARRAY44001FDA( CREATE+5*
ARRAY44003FDA CREATE~
ARRAY44003FDA( CREATE+7*, CREATE+8*, CREATE+9*, CREATE+10*, CREATE+11*, CREATE+12*, CREATE+13*
ARY44 VALIDATE~, CREATE~, CLEANUP44~
ARY44("CLINICIEN" VALIDATE+5*, VALIDATE+6, VALIDATE+7, VALIDATE+8, VALIDATE+18, VALIDATE+41, CREATE+3, CREATE+5, CREATE+6, CLEANUP44+4
, CLEANUP44+8, CLEANUP44+9, CLEANUP44+11
ARY44("DFN" VALIDATE+11*, VALIDATE+12, VALIDATE+13, VALIDATE+41, CREATE+7, CLEANUP44+8, CLEANUP44+9
ARY44("SDAPPTLENGTH" VALIDATE+23*, VALIDATE+24, VALIDATE+25, CREATE+8, CLEANUP44+11
ARY44("SDAPPTREASON" VALIDATE+28*, VALIDATE+29*, CREATE+9
ARY44("SDAPPTSTARTDTTM" VALIDATE+16*, VALIDATE+17, VALIDATE+18*, VALIDATE+19*, VALIDATE+41, CREATE+3, CREATE+4, CREATE+5, CREATE+6, CLEANUP44+4
, CLEANUP44+8, CLEANUP44+9, CLEANUP44+11
ARY44("SDOVERBOOK" VALIDATE+32*, VALIDATE+33, VALIDATE+34, CREATE+11
ARY44("SDPATELIG" VALIDATE+37*, VALIDATE+38, CREATE+10
ARY44("SDREQTYPE" CLEANUP44+2
AVAILABILITYFDA DECREMENTAVAIL2+1~, DECREMENTAVAIL2+25!
AVAILABILITYFDA( DECREMENTAVAIL2+24*
CENTEROFSLOT DECREMENTAVAIL2+1~, DECREMENTAVAIL2+9*, DECREMENTAVAIL2+20
CHARMULTIPLIER DECREMENTAVAIL2+1~, DECREMENTAVAIL2+7*, DECREMENTAVAIL2+20
CLINIC APPTIN44EXISTS~, APPTIN44EXISTS+3, APPTIN44EXISTS+4, APPTIN44EXISTS+5
CLINICAPPTLENGTH DECREMENTAVAIL1+1~, DECREMENTAVAIL1+2*, DECREMENTAVAIL1+3, DECREMENTAVAIL1+6
CLINICIEN DECREMENTAVAIL1~, DECREMENTAVAIL1+2, DECREMENTAVAIL1+7, DECREMENTAVAIL2~, DECREMENTAVAIL2+3, DECREMENTAVAIL2+4, DECREMENTAVAIL2+5, DECREMENTAVAIL2+6, DECREMENTAVAIL2+10, DECREMENTAVAIL2+15
, DECREMENTAVAIL2+16, DECREMENTAVAIL2+18, DECREMENTAVAIL2+24
COUNT DECREMENTAVAIL1+1~, DECREMENTAVAIL1+4*, DECREMENTAVAIL1+5
CURRENTSCHEDULE DECREMENTAVAIL2+1~, DECREMENTAVAIL2+3*, DECREMENTAVAIL2+18, DECREMENTAVAIL2+21, DECREMENTAVAIL2+22
DATE APPTIN44EXISTS~, APPTIN44EXISTS+3, APPTIN44EXISTS+4, APPTIN44EXISTS+5
DFN APPTIN44EXISTS~, APPTIN44EXISTS+5
DT DECREMENTAVAIL2+13
DUZ CREATE+12
ERRORS VALIDATE~, VALIDATE+6, VALIDATE+7, VALIDATE+8, VALIDATE+12, VALIDATE+13, VALIDATE+17, VALIDATE+19, VALIDATE+24, VALIDATE+25
, VALIDATE+34, VALIDATE+38, VALIDATE+42, DECREMENTAVAIL2+13, DECREMENTAVAIL2+16, DECREMENTAVAIL2+18
FOUND APPTIN44EXISTS+1~, APPTIN44EXISTS+2*, APPTIN44EXISTS+3, APPTIN44EXISTS+5*, APPTIN44EXISTS+6
HAS44APPT VALIDATE+2~, VALIDATE+41*, VALIDATE+42
HSI AVUPDT+1~, AVUPDT+5*, AVUPDT+7
I AVUPDT+1~, AVUPDT+3*, AVUPDT+4, AVUPDT+5, AVUPDT+7, AVUPDT+8*
IENS44 CREATE~
IENS44(1 CREATE+6*, CREATE+7, CREATE+8, CREATE+9, CREATE+10, CREATE+11, CREATE+12, CREATE+13
MAXDAYSINFUTURE DECREMENTAVAIL2+1~, DECREMENTAVAIL2+10*, DECREMENTAVAIL2+13
NEWAVAILABILITY DECREMENTAVAIL2+1~, DECREMENTAVAIL2+8*, DECREMENTAVAIL2+9, DECREMENTAVAIL2+20, DECREMENTAVAIL2+21*, DECREMENTAVAIL2+22
NEWIEN44 CLEANUP44~, CLEANUP44+4
NEWIEN44001 CREATE~
NEWIEN44001(1 CREATE+4*
NEWSCHEDULE DECREMENTAVAIL2+1~, DECREMENTAVAIL2+20, DECREMENTAVAIL2+22*, DECREMENTAVAIL2+24
NUMOFSLOTSINPLAY DECREMENTAVAIL1+1~, DECREMENTAVAIL1+3*, DECREMENTAVAIL1+4
S AVUPDT+1~, AVUPDT+2*, AVUPDT+7*, AVUPDT+8*, AVUPDT+9
SB AVUPDT+1~, AVUPDT+5*, AVUPDT+7
SD AVUPDT+1~, AVUPDT+2*, AVUPDT+4, AVUPDT+7, AVUPDT+9
SDDA VALIDATE+2~, CLEANUP44+8*, CLEANUP44+9
SDDIF AVUPDT+1~, AVUPDT+5*, AVUPDT+8
SDECLEN AVUPDT~, AVUPDT+6
SDECSCD AVUPDT~, AVUPDT+3, AVUPDT+9
SDECSTART AVUPDT~, AVUPDT+2
SDFDA CLEANUP44+3~, CLEANUP44+5!
SDFDA( CLEANUP44+4*
SDREQTYPE CLEANUP44~, CLEANUP44+4
SI AVUPDT+1~, AVUPDT+5*, AVUPDT+7
SL AVUPDT+1~, AVUPDT+5*, AVUPDT+6*, AVUPDT+7
SLOTINCREMENT DECREMENTAVAIL2+1~, DECREMENTAVAIL2+6*, DECREMENTAVAIL2+9
SLOTLENGTH DECREMENTAVAIL2+1~, DECREMENTAVAIL2+5*, DECREMENTAVAIL2+7
SLOTSTATUSSTRING DECREMENTAVAIL2+1~, DECREMENTAVAIL2+11*, DECREMENTAVAIL2+21
SPECIALCHARACTER DECREMENTAVAIL2+1~, DECREMENTAVAIL2+20*, DECREMENTAVAIL2+21, DECREMENTAVAIL2+22
SS AVUPDT+1~, AVUPDT+7*, AVUPDT+8*
ST AVUPDT+1~, AVUPDT+7*, AVUPDT+8
STARTDAY AVUPDT+1~, AVUPDT+5*
STR AVUPDT+1~, AVUPDT+5*, AVUPDT+8
SUBIEN APPTIN44EXISTS+1~, APPTIN44EXISTS+3*, APPTIN44EXISTS+4, APPTIN44EXISTS+5
TIMECLINICOPENS DECREMENTAVAIL2+1~, DECREMENTAVAIL2+4*, DECREMENTAVAIL2+8, DECREMENTAVAIL2+16
U AVUPDT+5
X AVUPDT+1~, AVUPDT+5*
Y AVUPDT+1~, AVUPDT+7*, AVUPDT+8*
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