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,MGD - VISTA SCHEDULING RPCS ;July 19, 2022

Source Information

Source file <SDESCANCELAPPTS.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Scheduling 4 ($$HANDLE,BEFORE,CANCEL)^SDAMEVT  $$SCIEN^SDECU2  ERRLOG^SDESJSON  $$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: 1

Package Total Caller Graph
Scheduling 1 SDES  

Entry Points

Name Comments DBIA/ICR reference
CANCELAPPTS(JSONRETURN,APPTIEN,CLINICIEN,DFN,CANBYCLINORPAT,CANCELREASONIEN,NOTE,CANCELHASH,EAS) ;
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) ; FIELD 310 OF 44.003 SET TO "C"
CANCEL2(ERRORS,DFN,APPTSTARTTIME,CANBYCLINORPAT,CANCELREASIONIEN,NOTE,APPTIEN,CLINICIEN) ;
GET44RECORDIENS(CLINICIEN,APPTSTARTTIME,DFN) ;
CLEAN40984(APPTIEN) ;
CLEAN44003(DFN,CLINICIEN,APPTSTARTTIME) ;
BEFOREEVENT(DFN,APPTSTARTTIME,CLINICIEN,SDATA) ;
AFTEREVENT(DFN,APPTSTARTTIME,CLINICIEN,SDDA,SDATA) ;
BUILDJSON(JSONRETURN,RETURN) ;.

External References

Name Field # of Occurrence
FILE^DIE CANCEL40984+9, CANCEL44+5, CANCEL2+9, CLEAN40984+8, CLEAN44003+4
$$GET1^DIQ CANCELAPPTS+26, ORDERCHECKLOCK+2, ORDERCHECKLOCK+4, ORDERCHECKLOCK+7, VALIDATECLINIC+4, VALIDATECLINIC+5, VALIDATEDFN+3, GET44RECORDIENS+4
$$HANDLE^SDAMEVT BEFOREEVENT+3, AFTEREVENT+2
BEFORE^SDAMEVT BEFOREEVENT+4
CANCEL^SDAMEVT AFTEREVENT+4
$$SCIEN^SDECU2 BEFOREEVENT+2
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
$$EASVALIDATE^SDESUTIL VALIDATEEAS+1
$$NOW^XLFDT CANCEL40984+3, CANCEL2+5
ENCODE^XLFJSON BUILDJSON+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SDEC(409.831 - [#409.831] GET1^DIQ
^SDEC(409.84 - [#409.84] GET1^DIQ
^SDEC(409.85 - [#409.85] 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+28
$$CANCEL2 CANCELAPPTS+34
$$CANCEL40984 CANCELAPPTS+30
$$CANCEL44 CANCELAPPTS+32
$$GET44RECORDIENS CANCEL44+2, CLEAN44003+2
$$ORDERCHECKLOCK CANCELAPPTS+4
$$VALIDATEAPPTIEN CANCELAPPTS+7
$$VALIDATECANBY CANCELAPPTS+13
$$VALIDATECANREAS CANCELAPPTS+15
$$VALIDATECLINIC CANCELAPPTS+9
$$VALIDATEDFN CANCELAPPTS+11
$$VALIDATEEAS CANCELAPPTS+19
$$VALIDATENOTE CANCELAPPTS+17
AFTEREVENT CANCELAPPTS+38
BUILDJSON CANCELAPPTS+5, CANCELAPPTS+21, CANCELAPPTS+36, CANCELAPPTS+41
CLEAN40984 CANCEL44+4, CANCEL44+7, CANCEL2+8, CANCEL2+11
CLEAN44003 CANCEL2+8, CANCEL2+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTIEN CANCELAPPTS~, CANCELAPPTS+4, CANCELAPPTS+7, CANCELAPPTS+9, CANCELAPPTS+11, CANCELAPPTS+26, CANCELAPPTS+30, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+40
, 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
APPTREQTYPE ORDERCHECKLOCK+1~, ORDERCHECKLOCK+2*, ORDERCHECKLOCK+3
APPTSTARTTIME CANCELAPPTS+26*, CANCELAPPTS+28, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+38, CANCEL44~, CANCEL44+2, CANCEL2~, CANCEL2+2, CANCEL2+8
, CANCEL2+11, GET44RECORDIENS~, GET44RECORDIENS+3, GET44RECORDIENS+4, GET44RECORDIENS+5, CLEAN44003~, CLEAN44003+2, BEFOREEVENT~, BEFOREEVENT+2, BEFOREEVENT+3
, BEFOREEVENT+4, AFTEREVENT~, AFTEREVENT+3, AFTEREVENT+4
CANBYCLINORPAT CANCELAPPTS~, CANCELAPPTS+13, CANCELAPPTS+30, CANCELAPPTS+34, VALIDATECANBY~, VALIDATECANBY+1, VALIDATECANBY+2, CANCEL40984~, CANCEL40984+6, CANCEL2~
, CANCEL2+3
CANCELHASH CANCELAPPTS~, CANCELAPPTS+17, VALIDATENOTE~, VALIDATENOTE+4
CANCELREASIONIEN CANCEL2~
CANCELREASONIEN CANCELAPPTS~, CANCELAPPTS+15, CANCELAPPTS+30, CANCELAPPTS+34, VALIDATECANREAS~, VALIDATECANREAS+1, VALIDATECANREAS+2, CANCEL40984~, CANCEL40984+5, CANCEL2+6
CLINICIEN CANCELAPPTS~, CANCELAPPTS+9, CANCELAPPTS+28, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+38, VALIDATECLINIC~, VALIDATECLINIC+2, VALIDATECLINIC+3, VALIDATECLINIC+6
, CANCEL44~, CANCEL44+2, CANCEL44+4, CANCEL44+6, CANCEL2~, CANCEL2+8, CANCEL2+11, GET44RECORDIENS~, GET44RECORDIENS+3, GET44RECORDIENS+4
, GET44RECORDIENS+5, CLEAN44003~, CLEAN44003+2, BEFOREEVENT~, BEFOREEVENT+2, BEFOREEVENT+3, BEFOREEVENT+4, AFTEREVENT~, AFTEREVENT+3, AFTEREVENT+4
CLINICSUBIEN CANCELAPPTS+2~, CANCELAPPTS+28*, CANCELAPPTS+38
DFN CANCELAPPTS~, CANCELAPPTS+4, CANCELAPPTS+11, CANCELAPPTS+28, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+38, ORDERCHECKLOCK~, ORDERCHECKLOCK+9, VALIDATEDFN~
, VALIDATEDFN+1, VALIDATEDFN+2, VALIDATEDFN+3, CANCEL44~, CANCEL44+2, CANCEL2~, CANCEL2+2, CANCEL2+8, CANCEL2+10, CANCEL2+11
, GET44RECORDIENS~, GET44RECORDIENS+4, CLEAN44003~, CLEAN44003+2, BEFOREEVENT~, BEFOREEVENT+2, BEFOREEVENT+3, BEFOREEVENT+4, AFTEREVENT~, AFTEREVENT+3
, AFTEREVENT+4
DUZ CANCEL40984+4, CANCEL2+4
EAS CANCELAPPTS~, CANCELAPPTS+19, CANCELAPPTS+30, 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+4, CANCELAPPTS+5, CANCELAPPTS+7, CANCELAPPTS+9, CANCELAPPTS+11, CANCELAPPTS+13, CANCELAPPTS+15, CANCELAPPTS+17, CANCELAPPTS+19
, CANCELAPPTS+21, CANCELAPPTS+30, CANCELAPPTS+32, CANCELAPPTS+34, CANCELAPPTS+36, 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
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+5*
IENS CANCEL40984+1~, CANCEL40984+2*, CANCEL40984+3, CANCEL40984+4, CANCEL40984+5, CANCEL40984+6, CANCEL40984+7, CANCEL44+1~, CANCEL44+2*, CANCEL44+3
, 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, CLEAN44003+1~, CLEAN44003+2*, CLEAN44003+3
IENS44003 GET44RECORDIENS+1~, GET44RECORDIENS+5*, GET44RECORDIENS+6
IS2CANCELLED CANCELAPPTS+2~, CANCELAPPTS+34*
IS40984CANCELLED CANCELAPPTS+2~, CANCELAPPTS+30*
IS44CANCELLED CANCELAPPTS+2~, CANCELAPPTS+32*
ISAPPTIENVALID CANCELAPPTS+1~, CANCELAPPTS+7*
ISCANBYVALID CANCELAPPTS+1~, CANCELAPPTS+2~, CANCELAPPTS+13*
ISCANDTTMVALID CANCELAPPTS+2~
ISCANREASONVALID CANCELAPPTS+1~, CANCELAPPTS+15*
ISCLINICVALID CANCELAPPTS+1~, CANCELAPPTS+9*
ISDFNVALID CANCELAPPTS+1~, CANCELAPPTS+11*
ISEASVALID CANCELAPPTS+2~, CANCELAPPTS+19*
ISNOTEVALID CANCELAPPTS+2~
JSONERROR BUILDJSON+1~
JSONRETURN CANCELAPPTS~, CANCELAPPTS+5, CANCELAPPTS+21, CANCELAPPTS+36, CANCELAPPTS+41, BUILDJSON~
LINKEDCLINIC VALIDATECLINIC+1~, VALIDATECLINIC+5*, VALIDATECLINIC+6
NOTE CANCELAPPTS~, CANCELAPPTS+17*, CANCELAPPTS+34, VALIDATENOTE~, VALIDATENOTE+2*, VALIDATENOTE+4*, VALIDATENOTE+5*, VALIDATENOTE+6, CANCEL2~, CANCEL2+7
ORDERID ORDERCHECKLOCK+1~, ORDERCHECKLOCK+7*, ORDERCHECKLOCK+8
ORDERLOCK CANCELAPPTS+1~, CANCELAPPTS+4*, CANCELAPPTS+5
REQTYPE ORDERCHECKLOCK+1~, ORDERCHECKLOCK+4*, ORDERCHECKLOCK+6
REQUESTIEN ORDERCHECKLOCK+1~, ORDERCHECKLOCK+3*, ORDERCHECKLOCK+4, ORDERCHECKLOCK+7
RESOURCEIEN VALIDATECLINIC+1~, VALIDATECLINIC+4*, VALIDATECLINIC+5
RETURN CANCELAPPTS+5*, CANCELAPPTS+21*, CANCELAPPTS+36*, CANCELAPPTS+41, BUILDJSON~
RETURN("Appointment" CANCELAPPTS+40*
SDATA CANCELAPPTS+1~, CANCELAPPTS+28, CANCELAPPTS+38, 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
U 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