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

Package: Scheduling

Routine: SDESCANCELAPPTS


Information

SDESCANCELAPPTS ;ALB/BLB,LAB,MGD,BWF,MCB - SCHEDULING CANCEL APPOINTMENTS RPC ;Mar 3, 2023

Source Information

Source file <SDESCANCELAPPTS.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Scheduling 10 ($$HANDLE,BEFORE,CANCEL)^SDAMEVT  AVUPDT^SDEC08A  $$SCIEN^SDECU2  (OPENAPPTREQUEST,REMOVEMRTCAPTIEN)^SDESCANAPPT2  AMIECAN^SDESCOMPPEN  REQSET^SDESCONSULTUPD  UPDCONTSEQ^SDESCONTACTS  ERRLOG^SDESJSON  
REOPEN^SDESRECALLREQ  $$EASVALIDATE^SDESUTIL  
Kernel 2 $$NOW^XLFDT  ENCODE^XLFJSON  
VA FileMan 2 FILE^DIE  $$GET1^DIQ  

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

Package Total Caller Graph
Scheduling 5 SDES  SDES2SETCHECKOUT  SDES2UNDOCHKOUT  SDESCHECKOUT  SDESUNDOCHECKOUT  

Entry Points

Name Comments DBIA/ICR reference
CANCELAPPTS(JSONRETURN,APPTIEN,CLINICIEN,DFN,CANBYCLINORPAT,CANCELREASONIEN,NOTE,CANCELHASH,EAS) ;
OPENAPPTREQUEST(REQUESTIEN,APPTIEN) ;
DELETEAPPTDATA(REQUESTIEN) ;
ORDERCHECKLOCK(ERRORS,APPTIEN,DFN) ;
VALIDATEAPPTIEN(ERRORS,APPTIEN) ;
VALIDATECANBY(ERRORS,CANBYCLINORPAT) ;
VALIDATECLINIC(ERRORS,CLINICIEN,APPTIEN) ;
VALIDATEDFN(ERRORS,DFN,APPTIEN) ;
VALIDATECANREAS(ERRORS,CANCELREASONIEN) ;
VALIDATENOTE(ERRORS,NOTE,CANCELHASH) ;
VALIDATEEAS(ERRORS,EAS) ;
CANCEL40984(ERRORS,APPTIEN,CANCELREASONIEN,CANBYCLINORPAT,EAS) ;
CANCEL44(ERRORS,CLINICIEN,APPTSTARTTIME,DFN,APPTIEN,IENS44) ; FIELD 310 OF 44.003 SET TO "C"
CANCEL2(ERRORS,DFN,APPTSTARTTIME,CANBYCLINORPAT,CANCELREASIONIEN,NOTE,APPTIEN,CLINICIEN,IENS44) ;
GET44RECORDIENS(CLINICIEN,APPTSTARTTIME,DFN) ;
CLEAN40984(APPTIEN) ;
CLEAN44003(DFN,CLINICIEN,APPTSTARTTIME,IENS44) ;
BEFOREEVENT(DFN,APPTSTARTTIME,CLINICIEN,SDATA) ;
AFTEREVENT(DFN,APPTSTARTTIME,CLINICIEN,SDDA,SDATA) ;
BUILDJSON(JSONRETURN,RETURN) ;.

External References

Name Field # of Occurrence
FILE^DIE OPENAPPTREQUEST+10, DELETEAPPTDATA+12, CANCEL40984+9, CANCEL44+5, CANCEL2+9, CLEAN40984+8, CLEAN44003+4
$$GET1^DIQ CANCELAPPTS+27, CANCELAPPTS+28, CANCELAPPTS+29, CANCELAPPTS+30, CANCELAPPTS+31, CANCELAPPTS+60, CANCELAPPTS+65, CANCELAPPTS+70, OPENAPPTREQUEST+6, OPENAPPTREQUEST+8
, ORDERCHECKLOCK+2, ORDERCHECKLOCK+4, ORDERCHECKLOCK+7, VALIDATECLINIC+4, VALIDATECLINIC+5, VALIDATEDFN+3, GET44RECORDIENS+4, GET44RECORDIENS+5
$$HANDLE^SDAMEVT BEFOREEVENT+3, AFTEREVENT+2
BEFORE^SDAMEVT BEFOREEVENT+4
CANCEL^SDAMEVT AFTEREVENT+4
AVUPDT^SDEC08A CANCELAPPTS+66
$$SCIEN^SDECU2 BEFOREEVENT+2
OPENAPPTREQUEST^SDESCANAPPT2 CANCELAPPTS+45
REMOVEMRTCAPTIEN^SDESCANAPPT2 CANCELAPPTS+47
AMIECAN^SDESCOMPPEN CANCELAPPTS+70
REQSET^SDESCONSULTUPD CANCELAPPTS+61
UPDCONTSEQ^SDESCONTACTS CANCELAPPTS+49, CANCELAPPTS+57, CANCELAPPTS+63
ERRLOG^SDESJSON ORDERCHECKLOCK+9, VALIDATEAPPTIEN+1, VALIDATEAPPTIEN+2, VALIDATECANBY+1, VALIDATECANBY+2, VALIDATECLINIC+2, VALIDATECLINIC+3, VALIDATECLINIC+6, VALIDATEDFN+1, VALIDATEDFN+2
, VALIDATEDFN+3, VALIDATECANREAS+1, VALIDATECANREAS+2, VALIDATEEAS+2, CANCEL40984+8, CANCEL40984+11, CANCEL44+4, CANCEL44+7, CANCEL2+8, CANCEL2+11
REOPEN^SDESRECALLREQ CANCELAPPTS+52
$$EASVALIDATE^SDESUTIL VALIDATEEAS+1
$$NOW^XLFDT CANCEL40984+3, CANCEL2+5
ENCODE^XLFJSON BUILDJSON+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(409.2 - [#409.2] GET1^DIQ
^SDEC(409.831 - [#409.831] GET1^DIQ
^SDEC(409.84 - [#409.84] GET1^DIQ
^SDEC(409.85 - [#409.85] GET1^DIQ
^SC - [#44] GET1^DIQ
44.003 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATEDFN+2, CANCEL2+8, CANCEL2+10
^SC - [#44] VALIDATECLINIC+3, CANCEL44+4, CANCEL44+6, GET44RECORDIENS+3
^SD(409.2 - [#409.2] VALIDATECANREAS+2
^SDEC( CANCEL40984+8, CANCEL40984+10
^SDEC(409.84 - [#409.84] VALIDATEAPPTIEN+2
^XTMP("ORPTLK-" ORDERCHECKLOCK+9

Label References

Name Line Occurrences
$$BEFOREEVENT CANCELAPPTS+34
$$CANCEL2 CANCELAPPTS+40
$$CANCEL40984 CANCELAPPTS+36
$$CANCEL44 CANCELAPPTS+38
$$GET44RECORDIENS CANCELAPPTS+32
$$ORDERCHECKLOCK CANCELAPPTS+5
$$VALIDATEAPPTIEN CANCELAPPTS+8
$$VALIDATECANBY CANCELAPPTS+14
$$VALIDATECANREAS CANCELAPPTS+16
$$VALIDATECLINIC CANCELAPPTS+10
$$VALIDATEDFN CANCELAPPTS+12
$$VALIDATEEAS CANCELAPPTS+20
$$VALIDATENOTE CANCELAPPTS+18
AFTEREVENT CANCELAPPTS+67
BUILDJSON CANCELAPPTS+6, CANCELAPPTS+22, CANCELAPPTS+42, CANCELAPPTS+73
CLEAN40984 CANCEL44+4, CANCEL44+7, CANCEL2+8, CANCEL2+11
CLEAN44003 CANCEL2+8, CANCEL2+11
DELETEAPPTDATA CANCELAPPTS+46

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTENDTIME CANCELAPPTS+1~, CANCELAPPTS+30*
APPTERR DELETEAPPTDATA+1~
APPTFDA DELETEAPPTDATA+1~, DELETEAPPTDATA+12!
APPTFDA( DELETEAPPTDATA+3*, DELETEAPPTDATA+4*, DELETEAPPTDATA+5*, DELETEAPPTDATA+6*, DELETEAPPTDATA+7*, DELETEAPPTDATA+8*, DELETEAPPTDATA+9*, DELETEAPPTDATA+10*, DELETEAPPTDATA+11*
APPTIEN CANCELAPPTS~, CANCELAPPTS+5, CANCELAPPTS+8, CANCELAPPTS+10, CANCELAPPTS+12, CANCELAPPTS+27, CANCELAPPTS+28, CANCELAPPTS+29, CANCELAPPTS+30, CANCELAPPTS+31
, CANCELAPPTS+36, CANCELAPPTS+38, CANCELAPPTS+40, CANCELAPPTS+45, CANCELAPPTS+47, CANCELAPPTS+52, CANCELAPPTS+65, CANCELAPPTS+70, CANCELAPPTS+72, OPENAPPTREQUEST~
, OPENAPPTREQUEST+6, ORDERCHECKLOCK~, ORDERCHECKLOCK+2, VALIDATEAPPTIEN~, VALIDATEAPPTIEN+1, VALIDATEAPPTIEN+2, VALIDATECLINIC~, VALIDATECLINIC+4, VALIDATEDFN~, VALIDATEDFN+3
, CANCEL40984~, CANCEL40984+2, CANCEL40984+8, CANCEL40984+10, CANCEL44~, CANCEL44+4, CANCEL44+7, CANCEL2~, CANCEL2+8, CANCEL2+11
, CLEAN40984~, CLEAN40984+2
APPTLENGTH CANCELAPPTS+3~, CANCELAPPTS+65*, CANCELAPPTS+66
APPTREQTYPE ORDERCHECKLOCK+1~, ORDERCHECKLOCK+2*, ORDERCHECKLOCK+3
APPTSTARTTIME CANCELAPPTS+1~, CANCELAPPTS+27*, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+38, CANCELAPPTS+40, CANCELAPPTS+61, CANCELAPPTS+66, CANCELAPPTS+67, CANCELAPPTS+70
, CANCEL44~, CANCEL2~, CANCEL2+2, CANCEL2+8, CANCEL2+11, GET44RECORDIENS~, GET44RECORDIENS+3, GET44RECORDIENS+4, GET44RECORDIENS+5, GET44RECORDIENS+6
, CLEAN44003~, BEFOREEVENT~, BEFOREEVENT+2, BEFOREEVENT+3, BEFOREEVENT+4, AFTEREVENT~, AFTEREVENT+3, AFTEREVENT+4
CANBYCLINORPAT CANCELAPPTS~, CANCELAPPTS+14, CANCELAPPTS+36, CANCELAPPTS+40, CANCELAPPTS+52, CANCELAPPTS+61, VALIDATECANBY~, VALIDATECANBY+1, VALIDATECANBY+2, CANCEL40984~
, CANCEL40984+6, CANCEL2~, CANCEL2+3
CANCELHASH CANCELAPPTS~, CANCELAPPTS+18, VALIDATENOTE~, VALIDATENOTE+4
CANCELREASIONIEN CANCEL2~
CANCELREASON OPENAPPTREQUEST+1~, OPENAPPTREQUEST+6*, OPENAPPTREQUEST+8
CANCELREASONIEN CANCELAPPTS~, CANCELAPPTS+16, CANCELAPPTS+36, CANCELAPPTS+40, VALIDATECANREAS~, VALIDATECANREAS+1, VALIDATECANREAS+2, CANCEL40984~, CANCEL40984+5, CANCEL2+6
CLINICIEN CANCELAPPTS~, CANCELAPPTS+10, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+38, CANCELAPPTS+40, CANCELAPPTS+60, CANCELAPPTS+66, CANCELAPPTS+67, VALIDATECLINIC~
, VALIDATECLINIC+2, VALIDATECLINIC+3, VALIDATECLINIC+6, CANCEL44~, CANCEL44+4, CANCEL44+6, CANCEL2~, CANCEL2+8, CANCEL2+11, GET44RECORDIENS~
, GET44RECORDIENS+3, GET44RECORDIENS+4, GET44RECORDIENS+5, GET44RECORDIENS+6, CLEAN44003~, BEFOREEVENT~, BEFOREEVENT+2, BEFOREEVENT+3, BEFOREEVENT+4, AFTEREVENT~
, AFTEREVENT+3, AFTEREVENT+4
CLINICSUBIEN CANCELAPPTS+2~, CANCELAPPTS+34*, CANCELAPPTS+67
DFN CANCELAPPTS~, CANCELAPPTS+5, CANCELAPPTS+12, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+38, CANCELAPPTS+40, CANCELAPPTS+49, CANCELAPPTS+57, CANCELAPPTS+63
, CANCELAPPTS+67, CANCELAPPTS+70, ORDERCHECKLOCK~, ORDERCHECKLOCK+9, VALIDATEDFN~, VALIDATEDFN+1, VALIDATEDFN+2, VALIDATEDFN+3, CANCEL44~, CANCEL2~
, CANCEL2+2, CANCEL2+8, CANCEL2+10, CANCEL2+11, GET44RECORDIENS~, GET44RECORDIENS+5, CLEAN44003~, BEFOREEVENT~, BEFOREEVENT+2, BEFOREEVENT+3
, BEFOREEVENT+4, AFTEREVENT~, AFTEREVENT+3, AFTEREVENT+4
DUZ CANCEL40984+4, CANCEL2+4
EAS CANCELAPPTS~, CANCELAPPTS+20, CANCELAPPTS+36, DELETEAPPTDATA+11, VALIDATEEAS~, VALIDATEEAS+1*, VALIDATEEAS+2, CANCEL40984~, CANCEL40984+7
EDITED CANCELAPPTS+2~
ERR298 CANCEL2+1~, CANCEL2+11
ERR44003 CANCEL44+1~, CANCEL44+7, CLEAN44003+1~
ERR84 CANCEL40984+1~, CANCEL40984+11, CLEAN40984+1~
ERRORS CANCELAPPTS+1~, CANCELAPPTS+5, CANCELAPPTS+6, CANCELAPPTS+8, CANCELAPPTS+10, CANCELAPPTS+12, CANCELAPPTS+14, CANCELAPPTS+16, CANCELAPPTS+18, CANCELAPPTS+20
, CANCELAPPTS+22, CANCELAPPTS+36, CANCELAPPTS+38, CANCELAPPTS+40, CANCELAPPTS+42, ORDERCHECKLOCK~, ORDERCHECKLOCK+9, VALIDATEAPPTIEN~, VALIDATEAPPTIEN+1, VALIDATEAPPTIEN+2
, VALIDATECANBY~, VALIDATECANBY+1, VALIDATECANBY+2, VALIDATECLINIC~, VALIDATECLINIC+2, VALIDATECLINIC+3, VALIDATECLINIC+6, VALIDATEDFN~, VALIDATEDFN+1, VALIDATEDFN+2
, VALIDATEDFN+3, VALIDATECANREAS~, VALIDATECANREAS+1, VALIDATECANREAS+2, VALIDATENOTE~, VALIDATEEAS~, VALIDATEEAS+2, CANCEL40984~, CANCEL40984+8, CANCEL40984+11
, CANCEL44~, CANCEL44+4, CANCEL44+7, CANCEL2~, CANCEL2+8, CANCEL2+11
ERRORS("Appointment" CANCELAPPTS+22*, CANCELAPPTS+42*
FDA298 CANCEL2+1~, CANCEL2+9!
FDA298( CANCEL2+3*, CANCEL2+4*, CANCEL2+5*, CANCEL2+6*, CANCEL2+7*
FDA40984 CANCEL40984+1~, CANCEL40984+9!, CLEAN40984+1~, CLEAN40984+8!
FDA40984( CANCEL40984+3*, CANCEL40984+4*, CANCEL40984+5*, CANCEL40984+6*, CANCEL40984+7*, CLEAN40984+3*, CLEAN40984+4*, CLEAN40984+5*, CLEAN40984+6*, CLEAN40984+7*
FDA44003 CANCEL44+1~, CANCEL44+5!, CLEAN44003+1~, CLEAN44003+4!
FDA44003( CANCEL44+3*, CLEAN44003+3*
FOUND ORDERCHECKLOCK+1~, ORDERCHECKLOCK+5*, ORDERCHECKLOCK+9*, ORDERCHECKLOCK+10, GET44RECORDIENS+1~, GET44RECORDIENS+2*, GET44RECORDIENS+3, GET44RECORDIENS+6*
IENS CANCEL40984+1~, CANCEL40984+2*, CANCEL40984+3, CANCEL40984+4, CANCEL40984+5, CANCEL40984+6, CANCEL40984+7, CANCEL2+1~, CANCEL2+2*, CANCEL2+3
, CANCEL2+4, CANCEL2+5, CANCEL2+6, CANCEL2+7, CLEAN40984+1~, CLEAN40984+2*, CLEAN40984+3, CLEAN40984+4, CLEAN40984+5, CLEAN40984+6
, CLEAN40984+7
IENS44 CANCELAPPTS+3~, CANCELAPPTS+32*, CANCELAPPTS+38, CANCELAPPTS+40, CANCEL44~, CANCEL44+3, CANCEL2~, CANCEL2+8, CANCEL2+11, CLEAN44003~
, CLEAN44003+3
IENS44003 GET44RECORDIENS+1~, GET44RECORDIENS+6*, GET44RECORDIENS+7
IS2CANCELLED CANCELAPPTS+2~, CANCELAPPTS+40*
IS40984CANCELLED CANCELAPPTS+2~, CANCELAPPTS+36*
IS44CANCELLED CANCELAPPTS+2~, CANCELAPPTS+38*
ISAPPTIENVALID CANCELAPPTS+1~, CANCELAPPTS+8*
ISCANBYVALID CANCELAPPTS+1~, CANCELAPPTS+2~, CANCELAPPTS+14*
ISCANDTTMVALID CANCELAPPTS+2~
ISCANREASONVALID CANCELAPPTS+1~, CANCELAPPTS+16*
ISCLINICVALID CANCELAPPTS+1~, CANCELAPPTS+10*
ISDFNVALID CANCELAPPTS+1~, CANCELAPPTS+12*
ISEASVALID CANCELAPPTS+2~, CANCELAPPTS+20*
ISNOTEVALID CANCELAPPTS+2~
JSONERROR BUILDJSON+1~
JSONRETURN CANCELAPPTS~, CANCELAPPTS+6, CANCELAPPTS+22, CANCELAPPTS+42, CANCELAPPTS+73, BUILDJSON~
LINKEDCLINIC VALIDATECLINIC+1~, VALIDATECLINIC+5*, VALIDATECLINIC+6
NOTE CANCELAPPTS~, CANCELAPPTS+18*, CANCELAPPTS+40, CANCELAPPTS+61, VALIDATENOTE~, VALIDATENOTE+2*, VALIDATENOTE+4*, VALIDATENOTE+5*, VALIDATENOTE+6, CANCEL2~
, CANCEL2+7
OLDRECALLPTR CANCELAPPTS+3~, CANCELAPPTS+55*, CANCELAPPTS+57
ORDERID ORDERCHECKLOCK+1~, ORDERCHECKLOCK+7*, ORDERCHECKLOCK+8
ORDERLOCK CANCELAPPTS+1~, CANCELAPPTS+5*, CANCELAPPTS+6
PROVIEN CANCELAPPTS+1~, CANCELAPPTS+60*, CANCELAPPTS+61
RECALLREQIEN CANCELAPPTS+3~, CANCELAPPTS+53*, CANCELAPPTS+57
RECALLREQLINK CANCELAPPTS+3~, CANCELAPPTS+54*, CANCELAPPTS+57
RECALLRET CANCELAPPTS+3~, CANCELAPPTS+52, CANCELAPPTS+53, CANCELAPPTS+54, CANCELAPPTS+55
REQTYPE ORDERCHECKLOCK+1~, ORDERCHECKLOCK+4*, ORDERCHECKLOCK+6
REQUESTERR OPENAPPTREQUEST+1~
REQUESTFDA OPENAPPTREQUEST+1~, OPENAPPTREQUEST+10!
REQUESTFDA( OPENAPPTREQUEST+3*, OPENAPPTREQUEST+4*, OPENAPPTREQUEST+5*, OPENAPPTREQUEST+9*
REQUESTIEN CANCELAPPTS+2~, CANCELAPPTS+29*, CANCELAPPTS+45, CANCELAPPTS+46, CANCELAPPTS+47, CANCELAPPTS+49, CANCELAPPTS+61, CANCELAPPTS+63, OPENAPPTREQUEST~, OPENAPPTREQUEST+2*
, OPENAPPTREQUEST+3, OPENAPPTREQUEST+4, OPENAPPTREQUEST+5, OPENAPPTREQUEST+9, DELETEAPPTDATA~, DELETEAPPTDATA+2*, DELETEAPPTDATA+3, DELETEAPPTDATA+4, DELETEAPPTDATA+5, DELETEAPPTDATA+6
, DELETEAPPTDATA+7, DELETEAPPTDATA+8, DELETEAPPTDATA+9, DELETEAPPTDATA+10, DELETEAPPTDATA+11, ORDERCHECKLOCK+1~, ORDERCHECKLOCK+3*, ORDERCHECKLOCK+4, ORDERCHECKLOCK+7
REQUESTTYPE CANCELAPPTS+2~, CANCELAPPTS+28*, CANCELAPPTS+44, CANCELAPPTS+51, CANCELAPPTS+59
RESOURCE CANCELAPPTS+3~, CANCELAPPTS+31*, CANCELAPPTS+61
RESOURCEIEN VALIDATECLINIC+1~, VALIDATECLINIC+4*, VALIDATECLINIC+5
RETURN CANCELAPPTS+3~, CANCELAPPTS+6*, CANCELAPPTS+22*, CANCELAPPTS+42*, CANCELAPPTS+70, CANCELAPPTS+73, BUILDJSON~
RETURN("Appointment" CANCELAPPTS+72*
SDATA CANCELAPPTS+1~, CANCELAPPTS+34, CANCELAPPTS+67, BEFOREEVENT~, BEFOREEVENT+3*, BEFOREEVENT+4, AFTEREVENT~, AFTEREVENT+3*, AFTEREVENT+4
SDCPHDL BEFOREEVENT+1~, BEFOREEVENT+3*, BEFOREEVENT+4, AFTEREVENT+1~, AFTEREVENT+2*, AFTEREVENT+4
SDDA BEFOREEVENT+1~, BEFOREEVENT+2*, BEFOREEVENT+3, BEFOREEVENT+4, BEFOREEVENT+5, AFTEREVENT~, AFTEREVENT+3, AFTEREVENT+4
SDECJ VALIDATENOTE+1~, VALIDATENOTE+4*
SUBIEN CANCEL44+1~, GET44RECORDIENS+3*, GET44RECORDIENS+4, GET44RECORDIENS+5, GET44RECORDIENS+6
U CANCELAPPTS+53, CANCELAPPTS+54, CANCELAPPTS+55, VALIDATENOTE+4, VALIDATEEAS+2, BEFOREEVENT+3, AFTEREVENT+3
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