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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDAPIAP

Package: Scheduling

Routine: SDAPIAP


Information

SDAPIAP ;ALB/MJK - Outpatient API/Appointments ;JAN 15, 2016

Source Information

Source file <SDAPIAP.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Scheduling 11 $$STATUS^SDAM1  $$FIND^SDAM2  (AFTER,CLEAN,EVT)^SDAMEVT  CHANGE^SDAMEVT4  FILE^SDAPICO  ($$ERRCHK,ERRFILE)^SDAPIER  (BEFORE,DIE,ELIG)^SDCO1  EN^SDCOM  
CO1^SDEC25B  $$APPTGET^SDECUTL  $$GETAPT^SDVSIT2  
Kernel 1 $$NOW^XLFDT  
VA FileMan 1 ^DIE  

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

Package Total Caller Graph
Scheduling 6 SCDXSUP1  SCENIA2  SDAPI  SDAPIAE0  SDAPIDP  SDVSIT  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,SDT,SDCL,SDUZ,SDMODE,SDVIEN) ; -- check api for appts
ENQ
CHECK(DFN,SDT,SDCL,SDDA) ; -- check if event can occur/allowed
CHECKQ
FILE(DFN,SDT,SDCL,SDUZ,SDDA,SDMODE,SDVIEN) ; -- file data
FILEQ
DT(DFN,SDT,SDCL,SDDA,SDCODT) ; -- time stamp check out date
; -- NOTE: this code duplicates at DT^SDCO1 but silent
DTQ
LOGDATA(SDOE,SDLOG) ; -- log user, date/time and other data

External References

Name Field # of Occurrence
^DIE LOGDATA+4
$$STATUS^SDAM1 CHECK+13
$$FIND^SDAM2 CHECK+10
AFTER^SDAMEVT FILE+36
CLEAN^SDAMEVT FILE+40
EVT^SDAMEVT FILE+37
CHANGE^SDAMEVT4 FILE+33
FILE^SDAPICO FILE+27
$$ERRCHK^SDAPIER EN+4
ERRFILE^SDAPIER CHECK+4, CHECK+7, CHECK+10, CHECK+16, CHECK+19, CHECK+22, FILE+12
BEFORE^SDCO1 FILE+5
DIE^SDCO1 DT+7
ELIG^SDCO1 FILE+8
EN^SDCOM FILE+30
CO1^SDEC25B FILE+23
$$APPTGET^SDECUTL FILE+21
$$GETAPT^SDVSIT2 FILE+11
$$NOW^XLFDT LOGDATA+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCE - [#409.68] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVPRV("AD" FILE+22
^DPT - [#2] CHECK+3
^SC - [#44] DT+3, DT+4
^SCE - [#409.68] FILE+33
^SD(409.63 - [#409.63] CHECK+16

Label References

Name Line Occurrences
$$FILE EN+7
CHECK EN+4
CHECKQ CHECK+4, CHECK+7, CHECK+10, CHECK+16, CHECK+22
DT FILE+15
ENQ EN+4
FILEQ FILE+12
LOGDATA FILE+16

Naked Globals

Name Field # of Occurrence
^(0 DT+3*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DT+2~
DA DT+2~, LOGDATA+1~, LOGDATA+4*
DFN EN~, EN+4, EN+7, CHECK~, CHECK+3, CHECK+4, CHECK+10, CHECK+13, FILE~, FILE+5
, FILE+8, FILE+11, FILE+15, FILE+21, FILE+36, DT~
DIE DT+2~, LOGDATA+1~, LOGDATA+4*
DR DT+2~, DT+6*, DT+7, LOGDATA+1~, LOGDATA+4*
DT CHECK+22
DUZ LOGDATA+2
SDATA CHECK+1~, CHECK+3*, CHECK+4, CHECK+7, CHECK+13, FILE+1~, FILE+5, FILE+36, FILE+37
SDCIDT DT+2~, DT+4*, DT+6
SDCL EN~, EN+4, EN+7, CHECK~, CHECK+7, CHECK+10, CHECK+13, FILE~, FILE+5, FILE+8
, FILE+11, FILE+15, FILE+21, FILE+36, DT~, DT+3, DT+4, DT+7
SDCODT DT~, DT+6
SDCOMPF FILE+1~, FILE+30
SDDA EN+1~, EN+4, EN+7, CHECK~, CHECK+10*, CHECK+13, FILE~, FILE+5, FILE+8, FILE+15
, FILE+36, DT~, DT+4, DT+7
SDECAPPT FILE+20~, FILE+21*, FILE+23
SDECVPRV FILE+20~, FILE+22*, FILE+23
SDHDL FILE+1~, FILE+5, FILE+30, FILE+33, FILE+36, FILE+37, FILE+40
SDLOG FILE+1~, LOGDATA~
SDLOG("DATE/TIME" LOGDATA+3*
SDLOG("USER" LOGDATA+2*
SDMODE EN~, EN+7, FILE~, FILE+30, FILE+37
SDOE EN+1~, EN+2*, EN+7*, ENQ, FILE+1~, FILE+2*, FILE+11*, FILE+12, FILE+16, FILE+23
, FILE+27, FILE+30, FILE+33, FILEQ, LOGDATA~, LOGDATA+4
>> SDROOT FILE+15, FILE+19, FILE+23, FILE+33
SDT EN~, EN+4, EN+7, CHECK~, CHECK+3, CHECK+4, CHECK+10, CHECK+13, CHECK+22, FILE~
, FILE+5, FILE+8, FILE+11, FILE+15, FILE+21, FILE+36, DT~, DT+4, DT+7
SDUZ EN~, EN+7, FILE~, FILE+27, LOGDATA+2
SDVIEN EN~, EN+7, FILE~, FILE+11, FILE+22
STATUS CHECK+1~, CHECK+13*, CHECK+16, CHECK+19
U CHECK+4, CHECK+7, CHECK+10, FILE+33
X DT+2~, DT+4*, LOGDATA+1~
Y LOGDATA+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All