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

Package: Scheduling

Routine: SDES2UNDOCHKOUT


Information

SDES2UNDOCHKOUT ;ALB/ANU/TJB - VISTA SCHEDULING RPCS - SDES2 UNDO CHECKOUT ;APR 08, 2024

Source Information

Source file <SDES2UNDOCHKOUT.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 6 ($$HANDLE,AFTER,BEFORE,EVT)^SDAMEVT  (BUILDJSON,ERRLOG)^SDES2JSON  VALCONTEXT^SDES2VALCONTEXT  $$GET44RECORDIENS^SDESCANCELAPPTS  $$FIND^SDESCHECKOUT  $$GETAPT^SDVSIT2  
VA FileMan 2 FILE^DIE  $$GET1^DIQ  
Kernel 1 ($$FMDIFF,$$NOW)^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
UNDOCHECKOUT(JSONRETURN,SDCONTEXT,SDINPUT) ;
VALPARAMS(PARAMS,SDERRORS) ; Validate
UNDOCKOUT(SDRETURN,APPTIEN,SDDUZ) ;
UNDO(APPTIEN,CLINICIEN,APPTSTARTTIME,DFN,SDDUZ) ;
BEFOREEVENT(APPTSTARTTIME,DFN,CLINICIEN,APPTSUBIEN44,SDCIHDL,SDATA) ;
AFTEREVENT(APPTSTARTTIME,DFN,CLINICIEN,APPTSUBIEN44,SDCIHDL,SDATA) ;

External References

Name Field # of Occurrence
FILE^DIE UNDO+5, UNDO+12, UNDO+18, UNDO+25
$$GET1^DIQ VALPARAMS+7, UNDOCKOUT+3, UNDOCKOUT+4, UNDOCKOUT+5, UNDOCKOUT+6, UNDO+15, UNDO+20, UNDO+22
$$HANDLE^SDAMEVT UNDOCKOUT+9
AFTER^SDAMEVT AFTEREVENT+1
BEFORE^SDAMEVT BEFOREEVENT+1
EVT^SDAMEVT AFTEREVENT+2
BUILDJSON^SDES2JSON UNDOCHECKOUT+3, UNDOCHECKOUT+5, UNDOCHECKOUT+10
ERRLOG^SDES2JSON VALPARAMS+5, VALPARAMS+6, VALPARAMS+8, VALPARAMS+9
VALCONTEXT^SDES2VALCONTEXT UNDOCHECKOUT+2
$$GET44RECORDIENS^SDESCANCELAPPTS UNDO+7
$$FIND^SDESCHECKOUT UNDOCKOUT+7
$$GETAPT^SDVSIT2 UNDO+14
$$FMDIFF^XLFDT VALPARAMS+9
$$NOW^XLFDT UNDO+24

Used in RPC

RPC Name Call Tags
SDES2 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+16
^SCE - [#409.68] UNDO+20
^SDEC(409.84 - [#409.84] VALPARAMS+6

Label References

Name Line Occurrences
$$VALPARAMS UNDOCHECKOUT+4
AFTEREVENT UNDOCKOUT+13
BEFOREEVENT UNDOCKOUT+11
UNDO UNDOCKOUT+12
UNDOCKOUT UNDOCHECKOUT+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTIEN UNDOCKOUT~, UNDOCKOUT+3, UNDOCKOUT+4, UNDOCKOUT+5, UNDOCKOUT+12, UNDO~, UNDO+3, UNDO+4, UNDO+20, UNDO+22
APPTSTARTTIME UNDOCKOUT+1~, UNDOCKOUT+3*, UNDOCKOUT+7, UNDOCKOUT+8, UNDOCKOUT+11, UNDOCKOUT+12, UNDOCKOUT+13, UNDO~, UNDO+7, UNDO+14
, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
APPTSUBIEN44 UNDOCKOUT+1~, UNDOCKOUT+7*, UNDOCKOUT+8, UNDOCKOUT+11, UNDOCKOUT+13, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
CLINICIEN UNDOCKOUT+1~, UNDOCKOUT+6*, UNDOCKOUT+7, UNDOCKOUT+8, UNDOCKOUT+11, UNDOCKOUT+12, UNDOCKOUT+13, UNDO~, UNDO+7, UNDO+14
, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
DFN UNDOCKOUT+1~, UNDOCKOUT+4*, UNDOCKOUT+7, UNDOCKOUT+8, UNDOCKOUT+11, UNDOCKOUT+12, UNDOCKOUT+13, UNDO~, UNDO+7, UNDO+14
, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1
DT VALPARAMS+9
DUZ UNDOCHECKOUT+7
ENCOUNTERIEN UNDO+1~, UNDO+14*, UNDO+15, UNDO+20, UNDO+21, UNDO+22, UNDO+23, UNDO+24
ERR40968 UNDO+1~
ERR44 UNDO+1~
ERR84 UNDO+1~
ERR9000010 UNDO+1~
ERRORS UNDOCHECKOUT+1~, UNDOCHECKOUT+2, UNDOCHECKOUT+3, UNDOCHECKOUT+4, UNDOCHECKOUT+5, UNDOCKOUT+1~
ERRORS("UndoCheckOut" UNDOCHECKOUT+3*, UNDOCHECKOUT+5*
FDA40968 UNDO+1~, UNDO+25!
FDA40968( UNDO+21*, UNDO+22*, UNDO+23*, UNDO+24*
FDA44 UNDO+1~, UNDO+12!
FDA44( UNDO+9*, UNDO+10*, UNDO+11*
FDA84 UNDO+1~, UNDO+5!
FDA84( UNDO+3*, UNDO+4*
FDA9000010 UNDO+1~, UNDO+18!
FDA9000010(9000010 UNDO+17*
IENS44 UNDO+1~, UNDO+7*, UNDO+8, UNDO+9, UNDO+10, UNDO+11
JSONRETURN UNDOCHECKOUT~, UNDOCHECKOUT+3, UNDOCHECKOUT+5, UNDOCHECKOUT+10
PARAMETERS UNDOCHECKOUT+1~, UNDOCHECKOUT+4*, UNDOCHECKOUT+8
PARAMS VALPARAMS~
PARAMS("APPOI NTMENT IEN" , VALPARAMS+4
RESOURCEIEN UNDOCKOUT+1~, UNDOCKOUT+5*, UNDOCKOUT+6
SDATA UNDOCKOUT+1~, UNDOCKOUT+8*, UNDOCKOUT+11, UNDOCKOUT+13, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1, AFTEREVENT+2
SDCHECKDT VALPARAMS+1~, VALPARAMS+7*, VALPARAMS+8, VALPARAMS+9
SDCIHDL UNDOCKOUT+1~, UNDOCKOUT+9*, UNDOCKOUT+11, UNDOCKOUT+13, BEFOREEVENT~, BEFOREEVENT+1, AFTEREVENT~, AFTEREVENT+1, AFTEREVENT+2
SDCONTEXT UNDOCHECKOUT~, UNDOCHECKOUT+2
SDCONTEXT("US ER DUZ" , UNDOCHECKOUT+7
SDDUZ UNDOCHECKOUT+1~, UNDOCHECKOUT+7*, UNDOCHECKOUT+8, UNDOCKOUT~, UNDOCKOUT+12, UNDO~, UNDO+4, UNDO+23
SDERRORS VALPARAMS~, VALPARAMS+5, VALPARAMS+6, VALPARAMS+8, VALPARAMS+9, VALPARAMS+11
SDIEN VALPARAMS+1~, VALPARAMS+4*, VALPARAMS+5, VALPARAMS+6, VALPARAMS+7, VALPARAMS+12
SDINPUT UNDOCHECKOUT~, UNDOCHECKOUT+4
SDRETURN UNDOCHECKOUT+1~, UNDOCHECKOUT+8, UNDOCHECKOUT+9, UNDOCHECKOUT+10, UNDOCKOUT~
SDRETURN("UndoCheckOut" UNDOCHECKOUT+9*, UNDOCKOUT+15*
U UNDOCKOUT+8
VISITFILEIEN UNDO+1~, UNDO+15*, UNDO+16, UNDO+17
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