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

Package: Scheduling

Routine: SDESUNDOCHECKOUT


Information

SDESUNDOCHECKOUT ;ALB/BLB,CGP - VISTA SCHEDULING RPCS - SDES UNDO CHECKOUT;JAN 25, 2023

Source Information

Source file <SDESUNDOCHECKOUT.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Scheduling 6 ($$HANDLE,AFTER,BEFORE,EVT)^SDAMEVT  BUILDJSON^SDESBUILDJSON  $$GET44RECORDIENS^SDESCANCELAPPTS  $$FIND^SDESCHECKOUT  ERRLOG^SDESJSON  $$GETAPT^SDVSIT2  
Kernel 2 $$NOW^XLFDT  ENCODE^XLFJSON  
VA FileMan 2 FILE^DIE  $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
UNDOCHECKOUT(JSONRETURN,APPTIEN) ;
UNDO(APPTIEN,CLINICIEN,APPTSTARTTIME,DFN) ;
BEFOREEVENT(APPTSTARTTIME,DFN,CLINICIEN,APPTSUBIEN44,SDCIHDL,SDATA) ;
AFTEREVENT(APPTSTARTTIME,DFN,CLINICIEN,APPTSUBIEN44,SDCIHDL,SDATA) ;
VALIDATE(ERRORS,APPTIEN) ;
ISAPPTCHECKEDOUT(ERRORS,APPTIEN) ;
VALIDATEAPPT(ERRORS,APPTIEN) ;
VALIDATESUPERVIS(ERRORS) ;
BUILDJSON(JSONRETURN,RETURN) ;.

External References

Name Field # of Occurrence
FILE^DIE UNDO+5, UNDO+13, UNDO+20, UNDO+28
$$GET1^DIQ UNDOCHECKOUT+6, UNDOCHECKOUT+7, UNDOCHECKOUT+8, UNDOCHECKOUT+9, UNDO+17, UNDO+23, UNDO+25, ISAPPTCHECKEDOUT+1
$$HANDLE^SDAMEVT UNDOCHECKOUT+12
AFTER^SDAMEVT AFTEREVENT+1
BEFORE^SDAMEVT BEFOREEVENT+1
EVT^SDAMEVT AFTEREVENT+2
BUILDJSON^SDESBUILDJSON UNDOCHECKOUT+20
$$GET44RECORDIENS^SDESCANCELAPPTS UNDO+8
$$FIND^SDESCHECKOUT UNDOCHECKOUT+10
ERRLOG^SDESJSON ISAPPTCHECKEDOUT+1, VALIDATEAPPT+1, VALIDATEAPPT+2
$$GETAPT^SDVSIT2 UNDO+16
$$NOW^XLFDT UNDO+27
ENCODE^XLFJSON BUILDJSON+2

Used in RPC

RPC Name Call Tags
SDES UNDO CHECKOUT UNDOCHECKOUT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCE - [#409.68] GET1^DIQ
^SDEC(409.831 - [#409.831] GET1^DIQ
^SDEC(409.84 - [#409.84] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] UNDO+18
^SCE - [#409.68] UNDO+23
^SDEC(409.84 - [#409.84] VALIDATEAPPT+2

Label References

Name Line Occurrences
AFTEREVENT UNDOCHECKOUT+18
BEFOREEVENT UNDOCHECKOUT+14
BUILDJSON UNDOCHECKOUT+4
ISAPPTCHECKEDOUT VALIDATE+4
UNDO UNDOCHECKOUT+16
VALIDATE UNDOCHECKOUT+3
VALIDATEAPPT VALIDATE+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTIEN UNDOCHECKOUT~, UNDOCHECKOUT+3, UNDOCHECKOUT+6, UNDOCHECKOUT+7, UNDOCHECKOUT+8, UNDOCHECKOUT+16, UNDO~, UNDO+3, UNDO+4, UNDO+23
, UNDO+25, VALIDATE~, VALIDATE+1, VALIDATE+4, ISAPPTCHECKEDOUT~, ISAPPTCHECKEDOUT+1, VALIDATEAPPT~, VALIDATEAPPT+1, VALIDATEAPPT+2
APPTSTARTTIME UNDOCHECKOUT+1~, UNDOCHECKOUT+6*, UNDOCHECKOUT+10, UNDOCHECKOUT+11, UNDOCHECKOUT+14, UNDOCHECKOUT+16, UNDOCHECKOUT+18, UNDO~, UNDO+8, UNDO+16
, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
APPTSUBIEN44 UNDOCHECKOUT+1~, UNDOCHECKOUT+10*, UNDOCHECKOUT+11, UNDOCHECKOUT+14, UNDOCHECKOUT+18, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
CLINICIEN UNDOCHECKOUT+1~, UNDOCHECKOUT+9*, UNDOCHECKOUT+10, UNDOCHECKOUT+11, UNDOCHECKOUT+14, UNDOCHECKOUT+16, UNDOCHECKOUT+18, UNDO~, UNDO+8, UNDO+16
, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
DFN UNDOCHECKOUT+1~, UNDOCHECKOUT+7*, UNDOCHECKOUT+10, UNDOCHECKOUT+11, UNDOCHECKOUT+14, UNDOCHECKOUT+16, UNDOCHECKOUT+18, UNDO~, UNDO+8, UNDO+16
, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
DUZ UNDO+4, UNDO+26
ENCOUNTERIEN UNDO+1~, UNDO+16*, UNDO+17, UNDO+23, UNDO+24, UNDO+25, UNDO+26, UNDO+27
ERR40968 UNDO+1~
ERR44 UNDO+1~
ERR84 UNDO+1~
ERR9000010 UNDO+1~
ERRORS UNDOCHECKOUT+1~, UNDOCHECKOUT+3, UNDOCHECKOUT+4, VALIDATE~, VALIDATE+1, VALIDATE+2, VALIDATE+4, ISAPPTCHECKEDOUT~, ISAPPTCHECKEDOUT+1, VALIDATEAPPT~
, VALIDATEAPPT+1, VALIDATEAPPT+2, VALIDATESUPERVIS~
FDA40968 UNDO+1~, UNDO+28!
FDA40968( UNDO+24*, UNDO+25*, UNDO+26*, UNDO+27*
FDA44 UNDO+1~, UNDO+13!
FDA44( UNDO+10*, UNDO+11*, UNDO+12*
FDA84 UNDO+1~, UNDO+5!
FDA84( UNDO+3*, UNDO+4*
FDA9000010 UNDO+1~, UNDO+20!
FDA9000010(9000010 UNDO+19*
IENS44 UNDO+1~, UNDO+8*, UNDO+9, UNDO+10, UNDO+11, UNDO+12
JSONERROR BUILDJSON+1~
JSONRETURN UNDOCHECKOUT~, UNDOCHECKOUT+4, UNDOCHECKOUT+20, BUILDJSON~
RESOURCEIEN UNDOCHECKOUT+1~, UNDOCHECKOUT+8*, UNDOCHECKOUT+9
RETURN UNDOCHECKOUT+1~, UNDOCHECKOUT+4*, UNDOCHECKOUT+20, BUILDJSON~
RETURN("UndoCheckOut" UNDOCHECKOUT+20*
SDATA UNDOCHECKOUT+1~, UNDOCHECKOUT+11*, UNDOCHECKOUT+14, UNDOCHECKOUT+18, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1, AFTEREVENT+2
SDCIHDL UNDOCHECKOUT+1~, UNDOCHECKOUT+12*, UNDOCHECKOUT+14, UNDOCHECKOUT+18, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1, AFTEREVENT+2
U UNDOCHECKOUT+11
VISITFILEIEN UNDO+1~, UNDO+17*, UNDO+18, UNDO+19
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