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

Package: Scheduling

Routine: SDESCHKAPPTOVP


Information

SDESCHKAPPTOVP ;ALB/ANU,TJB - VISTA SCHEDULING RPCS - Routine to check for Appointment Overlaps ; June 17, 2024

Source Information

Source file <SDESCHKAPPTOVP.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Scheduling 3 $$ISOTFM^SDAMUTDT  BUILDJSON^SDESBUILDJSON  ERRLOG^SDESJSON  
Kernel 1 $$FMADD^XLFDT  
VA FileMan 1 $$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: 2

Package Total Caller Graph
Scheduling 2 SDES2  SDESREQAPPCREATE  

Entry Points

Name Comments DBIA/ICR reference
CHKOVERLAP(RETURNJSON,SDDFN,SDBEGDATE,SDDUR) ;
VALIDATEBEGDATE(ERRORS,SDBEGDATE)
VALIDATEPTDFN(ERRORS,SDDFN) ; VALIDATE PATIENT DFN
VALIDATEDUR(ERRORS,SDDUR) ; Validate Duration
CHKOVERL(ELGARRAY,SDDFN,SDBEGDATE,SDDUR) ; View Appointment using DFN of the patient
CLEANUP ;

External References

Name Field # of Occurrence
$$GET1^DIQ CHKOVERL+10, CHKOVERL+12, CHKOVERL+13
$$ISOTFM^SDAMUTDT VALIDATEBEGDATE+3
BUILDJSON^SDESBUILDJSON CHKOVERLAP+23
ERRLOG^SDESJSON VALIDATEBEGDATE+2, VALIDATEBEGDATE+4, VALIDATEBEGDATE+5, VALIDATEPTDFN+2, VALIDATEPTDFN+3, VALIDATEDUR+2, VALIDATEDUR+3
$$FMADD^XLFDT CHKOVERL+3, CHKOVERL+14

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATEPTDFN+3
^SDEC(409.84 - [#409.84] CHKOVERL+5, CHKOVERL+7, CHKOVERL+8

Label References

Name Line Occurrences
$$CHKOVERL CHKOVERLAP+20
$$VALIDATEBEGDATE CHKOVERLAP+16
$$VALIDATEDUR CHKOVERLAP+17
$$VALIDATEPTDFN CHKOVERLAP+15
CLEANUP CHKOVERLAP+24

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ELGARRAY CHKOVERL~, CHKOVERL+19
ELGARRAY("Overlap" CHKOVERL+17*, CHKOVERL+18*
ELGFIELDSARRAY CHKOVERLAP+10~, CHKOVERLAP+12*, CHKOVERLAP+20, CHKOVERLAP+21
ELGRETURN CHKOVERLAP+10~
ERRORFLAG VALIDATEBEGDATE+1~, VALIDATEBEGDATE+2*, VALIDATEBEGDATE+4*, VALIDATEBEGDATE+5*, VALIDATEBEGDATE+6, VALIDATEPTDFN+1~, VALIDATEPTDFN+2*, VALIDATEPTDFN+3*, VALIDATEPTDFN+4, VALIDATEDUR+1~
, VALIDATEDUR+2*, VALIDATEDUR+3*, VALIDATEDUR+4, CLEANUP+1!
ERRORS CHKOVERLAP+15, CHKOVERLAP+16, CHKOVERLAP+17, CHKOVERLAP+19, CHKOVERLAP+20, VALIDATEBEGDATE~, VALIDATEBEGDATE+2, VALIDATEBEGDATE+4, VALIDATEBEGDATE+5, VALIDATEPTDFN~
, VALIDATEPTDFN+2, VALIDATEPTDFN+3, VALIDATEDUR~, VALIDATEDUR+2, VALIDATEDUR+3, CLEANUP+1!
HASDATA CHKOVERL+1~, CHKOVERL+19*, CHKOVERL+20, CLEANUP+2!
HASFIELDS CHKOVERLAP+10~, CHKOVERLAP+12*, CHKOVERLAP+20*, CHKOVERLAP+21
IEN CHKOVERL+1~, CHKOVERL+6*, CHKOVERL+7*, CHKOVERL+8, CHKOVERL+10, CHKOVERL+12, CHKOVERL+13, CLEANUP+2!
ISBEGDTVALID CHKOVERLAP+11~, CHKOVERLAP+16*, CLEANUP+1!
ISDFNVALID CHKOVERLAP+11~, CHKOVERLAP+15*, CLEANUP+1!
ISDURVALID CHKOVERLAP+11~, CHKOVERLAP+17*, CLEANUP+1!
RETURN CHKOVERLAP+10~, CHKOVERLAP+12*, CHKOVERLAP+19*, CHKOVERLAP+21*, CHKOVERLAP+23
RETURNERROR CLEANUP+1!
RETURNJSON CHKOVERLAP~, CHKOVERLAP+23
SDALLAPPTARY CLEANUP+1!
SDAPPDUR CHKOVERL+1~, CHKOVERL+13*, CHKOVERL+14, CLEANUP+2!
SDAPPEDATE CHKOVERL+1~, CHKOVERL+12*, CHKOVERL+14*, CHKOVERL+15, CHKOVERL+16, CLEANUP+2!
SDAPPSDATE CHKOVERL+1~, CHKOVERL+4*, CHKOVERL+5*, CHKOVERL+7, CHKOVERL+15, CHKOVERL+16, CLEANUP+2!
SDBEG CLEANUP+1!
SDBEGDATE CHKOVERLAP~, CHKOVERLAP+13*, CHKOVERLAP+16, CHKOVERLAP+20, VALIDATEBEGDATE~, VALIDATEBEGDATE+2, VALIDATEBEGDATE+3*, VALIDATEBEGDATE+4, VALIDATEBEGDATE+5, CHKOVERL~
, CHKOVERL+3, CHKOVERL+4, CHKOVERL+14, CHKOVERL+15
SDCANDATE CHKOVERL+1~, CHKOVERL+10*, CHKOVERL+11, CLEANUP+2!
SDDFN CHKOVERLAP~, CHKOVERLAP+15, CHKOVERLAP+20, VALIDATEPTDFN~, VALIDATEPTDFN+2, VALIDATEPTDFN+3, CHKOVERL~, CHKOVERL+5, CHKOVERL+7
SDDUR CHKOVERLAP~, CHKOVERLAP+17, CHKOVERLAP+20, VALIDATEDUR~, VALIDATEDUR+2, VALIDATEDUR+3, CHKOVERL~, CHKOVERL+3
SDEND CLEANUP+1!
SDENDDATE CHKOVERL+1~, CHKOVERL+3*, CHKOVERL+5, CHKOVERL+16, CLEANUP+2!
SDNOD CHKOVERL+1~, CHKOVERL+8*, CHKOVERL+9, CLEANUP+2!
SDOVERLAP CHKOVERL+1~, CHKOVERL+2*, CHKOVERL+15*, CHKOVERL+16*, CHKOVERL+17, CHKOVERL+18, CLEANUP+2!
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