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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDESCCAVAIL

Package: Scheduling

Routine: SDESCCAVAIL


Information

SDESCCAVAIL ;ALB/MGD - VISTA SCHEDULING RPCS CANCEL CLINIC AVAILABILITY ; Jan 25, 2022@16:57

Source Information

Source file <SDESCCAVAIL.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Scheduling 9 ($$HANDLE,BEFORE,CANCEL)^SDAMEVT  DELETE^SDC1  $$COED^SDC4  SDEC^SDCNP0  CANCEL^SDCNSLT  (ENCODE,ERRLOG)^SDESJSON  $$EASVALIDATE^SDESUTIL  $$EXAE^SDOE  
(DTS,RT)^SDUTL  
VA FileMan 3 ^%DT  NOW^%DTC  ^DIE  
Kernel 1 $$FMTE^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 SDES  

Entry Points

Name Comments DBIA/ICR reference
CANCLAVAIL(SDCLNJSON,SDCLNIEN,SDESCANDATE,SDESSTRTIM,SDESENDTIM,SDCANREM,SDEAS) ;Called from RPC: SDES CANCEL CLINIC AVAILABILITY
; This RPC cancels Clinic availability within a given timeframe for a given clinic.
; Input:
; SDCLNSREC [required] - Success or Error message
; SDCLNIEN [required] - The Internal Entry Number (IEN) from the HOSPITAL LOCATION File #44
; SDESCANDATE [required] - The Cancel Date in FM format
; SDESSTRTIM [required] - Starting Time in FM format
; SDESENDTIM [required] - Ending Time in FM format
; SDCANREM [required] - Cancellation Remarks
; SDEAS [optional] - Enterprise Appointment Scheduling (EAS) Tracking Number associated to an appointment.
INIT ; initialize values needed
VALIDATE ; validate incoming parameters
BLDJSON ;
CANCLNAVA ;
SKIP ;
C ;Cancel any appointments that are within the time blocked out.
MORE ;
CK1 ;
EVT ; -- separate tag if need to NEW vars
; -- cancel event
TC(TIME) ;

External References

Name Field # of Occurrence
^%DT TC+5
NOW^%DTC VALIDATE+10
^DIE C+16
$$HANDLE^SDAMEVT C+9
BEFORE^SDAMEVT C+10
CANCEL^SDAMEVT EVT+3
DELETE^SDC1 C+6, C+7
$$COED^SDC4 VALIDATE+25
SDEC^SDCNP0 C+17
CANCEL^SDCNSLT C+15
ENCODE^SDESJSON BLDJSON+1
ERRLOG^SDESJSON VALIDATE+1, VALIDATE+2
$$EASVALIDATE^SDESUTIL VALIDATE+35
$$EXAE^SDOE CK1+3
DTS^SDUTL VALIDATE+28, VALIDATE+30
RT^SDUTL MORE+5
$$FMTE^XLFDT TC+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] MORE+3
^DPT - [#2] C+12, C+16, CK1+1
^DPT("ASDCN" C+14*
^DPT("ASDPSD" MORE+3, CK1+4!
^SC - [#44] VALIDATE+2, VALIDATE+4, VALIDATE+22, VALIDATE+28, CANCLNAVA+2*, CANCLNAVA+3*, SKIP+1*, SKIP+2, SKIP+3, SKIP+4*
SKIP+5*, SKIP+6*, SKIP+7, SKIP+14*, C+1, C+5, C+6, C+7, C+8, C+9
C+11*, MORE+3
^SC("AAS" CK1+2
^SC("ARAD" MORE+1
^SCE - [#409.68] CK1+3

Label References

Name Line Occurrences
BLDJSON CANCLAVAIL+15, CANCLAVAIL+18
C SKIP+15, C+18
CANCLNAVA CANCLAVAIL+16
CK1 MORE+6
EVT MORE+6
INIT CANCLAVAIL+13
MORE C+16
SKIP CANCLNAVA+2
TC VALIDATE+12, VALIDATE+15
VALIDATE CANCLAVAIL+14

Naked Globals

Name Field # of Occurrence
^( MORE+1*, MORE+3!, CK1+1
^("C" C+6
^("I" VALIDATE+28
^(0 C+12, C+16*, MORE+3, CK1+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% CANCLAVAIL+12~, VALIDATE+6*, VALIDATE+7*, VALIDATE+8*, VALIDATE+9, VALIDATE+11, VALIDATE+14, SKIP+7, SKIP+9, SKIP+11
, TC+7*, TC+8
%DT TC+1~, TC+4*
A CANCLAVAIL+12~, CANCLNAVA+3*
DA CANCLAVAIL+12~, C+16*
DFN CANCLAVAIL+12~, C+9*, C+10, C+12, C+14, C+16, C+17, MORE+1, MORE+3, CK1+1
CK1+2, CK1+3, CK1+4, EVT+3
DH CANCLAVAIL+12~, SKIP+10*, SKIP+11, SKIP+14*, C+15*, C+16*, MORE+5, MORE+6*, EVT+2~
DIE C+3~, C+16*
DR C+3~, C+16*
DUZ C+16, C+17
ERR CANCLAVAIL+11~, INIT+2*, BLDJSON+1
ERRMSG CANCLAVAIL+11~, INIT+3*
ERRPOP CANCLAVAIL+11~, CANCLAVAIL+15, INIT+3*, VALIDATE+1*, VALIDATE+2*, VALIDATE+13*, VALIDATE+16*, VALIDATE+19*, VALIDATE+22*, VALIDATE+25*
VALIDATE+31*, VALIDATE+36*
FR CANCLAVAIL+11~, CANCLAVAIL+12~, VALIDATE+14*, VALIDATE+17, VALIDATE+25, CANCLNAVA+2, CANCLNAVA+3, SKIP+1, SKIP+2, SKIP+3
SKIP+4, SKIP+5, SKIP+14*, C+1*, C+2, C+5, C+6, C+7, C+8, C+9
C+10, C+11, C+12, C+14, C+15, C+16, C+17, MORE+1, MORE+3, MORE+5
CK1+1, CK1+2, CK1+3, CK1+4, EVT+2~
I CANCLAVAIL+12~, VALIDATE+5*, SKIP+5, SKIP+7*, SKIP+8*, SKIP+10, SKIP+11*, SKIP+12*, SKIP+14, EVT+2~
I5 SKIP+12*, SKIP+13!
J C+6*!, C+7*!
J2 C+6*!, C+7*!
NOAP CANCLAVAIL+12~, VALIDATE+18*, SKIP+2*, SKIP+3*
NODE C+3~, C+12*, C+13
P CANCLAVAIL+12~, SKIP+11*
SC CANCLAVAIL+11~, INIT+4*, VALIDATE+22, VALIDATE+25, VALIDATE+28, CANCLNAVA+2, CANCLNAVA+3, SKIP+1, SKIP+2, SKIP+3
SKIP+4, SKIP+5, SKIP+6, SKIP+7, SKIP+14, C+1, C+5, C+6, C+7, C+8
C+9, C+10, C+11, C+13, C+14, C+15, C+17, MORE+1, MORE+3, MORE+5
EVT+2~
SD CANCLAVAIL+11~, INIT+5*, VALIDATE+19, VALIDATE+22, VALIDATE+29, SKIP+6, SKIP+7, SKIP+14, TC+4
SD1 MORE+7!, CK1+1*, CK1+2*
SDATA CANCLNAVA+1~, C+10, EVT+3!
SDCANREM CANCLAVAIL~, VALIDATE+5, C+15, C+17
SDCLNIEN CANCLAVAIL~, INIT+4, VALIDATE+1, VALIDATE+2, VALIDATE+4
SDCLNJSON CANCLAVAIL~, BLDJSON+1
SDCLNSREC CANCLAVAIL+12~, VALIDATE+1, VALIDATE+2, VALIDATE+30*, BLDJSON+1, BLDJSON+2!
SDCLNSREC("Error" VALIDATE+13*, VALIDATE+16*, VALIDATE+19*, VALIDATE+22*, VALIDATE+25*, VALIDATE+30*, VALIDATE+36*
SDCLNSREC("Success" CANCLAVAIL+17*
SDCNHDL CANCLNAVA+1~, C+9*, C+10, EVT+3!
SDCNT CANCLAVAIL+12~, CANCLNAVA+3*
SDDATA0 CANCLAVAIL+12~
SDDFR CANCLAVAIL+11~, VALIDATE+17*, SKIP+8
SDEAS CANCLAVAIL~, VALIDATE+34*, VALIDATE+35*, VALIDATE+36
SDECI CANCLAVAIL+11~, INIT+1*, INIT+2*
SDESCANDATE CANCLAVAIL~, INIT+5
SDESENDTIM CANCLAVAIL~, VALIDATE+15
SDESSTRTIM CANCLAVAIL~, VALIDATE+12
SDH MORE+5*, MORE+6!
SDHTO CANCLAVAIL+11~, VALIDATE+17*, SKIP+1
SDI C+3~, C+5*, C+6, C+7, C+8, C+9, C+10, C+11, C+15, MORE+5
SDIN VALIDATE+28!*, VALIDATE+29, VALIDATE+30
SDIV MORE+3*, MORE+7!, CK1+4
SDPL C+15*, MORE+5*, MORE+7!, EVT+3
SDRE VALIDATE+28!*, VALIDATE+29, VALIDATE+30
SDRE1 VALIDATE+28!*, VALIDATE+30
SDRT MORE+5*, MORE+7!
SDSC C+15*, MORE+5*, MORE+7!, EVT+3
SDTIME CANCLAVAIL+11~, VALIDATE+11*, C+16, C+17, EVT+2~
SDTTM C+15*, MORE+5*, MORE+7!, EVT+3
SDV1 MORE+2~, MORE+3*
SDX C+2!, MORE+7!, CK1+1*, CK1+2*, CK1+3*, CK1+4
SI CANCLAVAIL+11~, VALIDATE+6*, SKIP+10, SKIP+11, TC+7
SL CANCLAVAIL+11~, VALIDATE+4*, VALIDATE+6, VALIDATE+7
ST CANCLAVAIL+11~, VALIDATE+14*, SKIP+11
STARTDAY CANCLAVAIL+11~, VALIDATE+9*, TC+7
TDH C+3~, C+15*, C+16*
TIME TC~, TC+2*, TC+3
TMPD C+3~, C+15*
TO CANCLAVAIL+11~, VALIDATE+17*, VALIDATE+25, SKIP+2, C+2
U VALIDATE+6, VALIDATE+7, C+13
X CANCLAVAIL+12~, VALIDATE+17, SKIP+5, SKIP+9*, SKIP+10, SKIP+11, TC+3*, TC+4*, TC+6, TC+7*
Y CANCLAVAIL+12~, VALIDATE+13, VALIDATE+14, VALIDATE+16, VALIDATE+17, VALIDATE+28*, VALIDATE+30*, SKIP+7*, SKIP+11*, TC+6
, TC+7, TC+8*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All