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

Package: Scheduling

Routine: SDEC50


Information

SDEC50 ;ALB/SAT/JSM - VISTA SCHEDULING RPCS ;JUL 26, 2017

Source Information

Source file <SDEC50.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Scheduling 4 $$ANC^SDAM1  $$FIND^SDAM2  ERR1^SDECERR  $$GETRES^SDECUTL  
VA FileMan 2 ^%DT  $$GET1^DIQ  
Kernel 1 ($$FMADD,$$NOW)^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Scheduling 2 SDEC  SDECAR3  

Entry Points

Name Comments DBIA/ICR reference
FAPPTGET(SDECY,DFN,SDBEG,SDEND,SDANC) ; GET Future appointments for given patient and date range
GETIEN(DFN,SDCLN,SDDT)
CHKPT
CLSTOP(CLINIC)
PCSGET(SDECY,SDSVSP,SDCL)
PCST2GET(SDECY,DFN,STOP,SDBEG,SDEND)
CONS(SDCL,DFN,SDDT) ;check for consult in file 44
; SDCL = (required) clinic IEN
; DFN = (required) patient IEN
; SDDT = (required) appointment time in FM format
LOOKWL ;
PCSTGET(SDECY,DFN,SDCL,SDBEG,SDEND)
LOOK ;

External References

Name Field # of Occurrence
^%DT FAPPTGET+42, FAPPTGET+46, PCSTGET+35, PCSTGET+37, PCST2GET+43, PCST2GET+45
$$GET1^DIQ FAPPTGET+52, FAPPTGET+59, FAPPTGET+60, FAPPTGET+61, FAPPTGET+62, FAPPTGET+63, PCST2GET+36, LOOK+4, PCSGET+30, PCSGET+42
$$ANC^SDAM1 FAPPTGET+57
$$FIND^SDAM2 CHKPT+5, LOOK+7, LOOK+12
ERR1^SDECERR FAPPTGET+38, FAPPTGET+39, FAPPTGET+43, FAPPTGET+47, PCSTGET+29, PCSTGET+30, PCSTGET+32, PCSTGET+33, PCSTGET+40, PCST2GET+30
, PCST2GET+31, PCST2GET+35, PCST2GET+41, PCSGET+33, PCSGET+39
$$GETRES^SDECUTL GETIEN+8
$$FMADD^XLFDT PCSTGET+36, PCST2GET+44
$$NOW^XLFDT FAPPTGET+41, PCSTGET+36, PCSTGET+38, PCST2GET+39, PCST2GET+44, PCST2GET+46, PCSGET+37

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
2.98 GET1^DIQ
^DIC(40.7 - [#40.7] GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(40.7 - [#40.7] PCST2GET+35, PCST2GET+38, PCST2GET+39, PCSGET+36, PCSGET+37
^DPT - [#2] FAPPTGET+39, FAPPTGET+51, FAPPTGET+56, PCSTGET+30, CHKPT+2, CHKPT+3, PCST2GET+31, LOOK+3, LOOK+6
^GMR(123 - [#123] CONS+10
^SC - [#44] CONS+6, CONS+7, CONS+8, PCSTGET+33, PCSTGET+40, CLSTOP+2, CHKPT+7, LOOK+8, LOOK+11, LOOK+14
, PCSGET+29, PCSGET+40, PCSGET+41, PCSGET+43
^SDEC(409.84 - [#409.84] GETIEN+5, GETIEN+6
^SDWL(409.3 - [#409.3] LOOKWL+2, LOOKWL+3, LOOKWL+5
^SDWL(409.31 - [#409.31] PCSGET+34
^TMP("SDEC50" FAPPTGET+31!

Label References

Name Line Occurrences
$$CLSTOP PCSTGET+39, CHKPT+4
$$CONS FAPPTGET+64
$$GETIEN FAPPTGET+66
CHKPT PCSTGET+67, PCST2GET+52

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT FAPPTGET+28~, FAPPTGET+42*, FAPPTGET+46*, PCSTGET+22~, PCSTGET+35*, PCSTGET+37*, PCST2GET+22~, PCST2GET+43*, PCST2GET+45*
APIEN PCSTGET+22~, CHKPT+5*, CHKPT+6, CHKPT+7, LOOK+7*, LOOK+8, LOOK+12*, LOOK+13, LOOK+14
CLINIC CLSTOP~, CLSTOP+1, CLSTOP+2
CONS FAPPTGET+64*, FAPPTGET+67, CONS+4~, CONS+5*, CONS+6, CONS+8*, CONS+9, CONS+10, CONS+11*, CONS+12
CSTAT CONS+4~, CONS+10*, CONS+11
DFN FAPPTGET~, FAPPTGET+38, FAPPTGET+39, FAPPTGET+51, FAPPTGET+52, FAPPTGET+56, FAPPTGET+59, FAPPTGET+60, FAPPTGET+61, FAPPTGET+62
, FAPPTGET+63, FAPPTGET+64, FAPPTGET+66, FAPPTGET+67, GETIEN~, GETIEN+2, GETIEN+5, CONS~, CONS+7, PCSTGET~
, PCSTGET+29, PCSTGET+30, CHKPT+2, CHKPT+3, CHKPT+5, PCST2GET~, PCST2GET+30, PCST2GET+31, LOOK+3, LOOK+4
, LOOK+6, LOOK+7, LOOK+12, LOOKWL+2
H PCST2GET+22~, PCST2GET+38*, PCST2GET+39, PCST2GET+40, PCSGET+20~, PCSGET+36*, PCSGET+37, PCSGET+38
IEN FAPPTGET+28~, FAPPTGET+66*, FAPPTGET+67
SDANC FAPPTGET~, FAPPTGET+49*, FAPPTGET+50*, FAPPTGET+58
SDANCT FAPPTGET+28~, FAPPTGET+55*, FAPPTGET+57*, FAPPTGET+58, FAPPTGET+67
SDASD PCSTGET+20~, PCST2GET+21~, PCSGET+19~
SDATA FAPPTGET+28~, FAPPTGET+56*
SDBEG FAPPTGET~, FAPPTGET+41*, FAPPTGET+42*, FAPPTGET+51, PCSTGET~, PCSTGET+35*, PCSTGET+36*, CHKPT+8, PCST2GET~, PCST2GET+43*
, PCST2GET+44*, LOOK+5, LOOK+11, LOOKWL+4
SDCL FAPPTGET+28~, FAPPTGET+59*, FAPPTGET+64, FAPPTGET+66, FAPPTGET+67, CONS~, CONS+6, CONS+7, CONS+8, PCSTGET~
, PCSTGET+32, PCSTGET+33, PCSTGET+39, PCSTGET+40, LOOK+6, LOOK+7, LOOK+8, LOOK+11, LOOK+12, LOOK+14
, PCSGET~, PCSGET+28*, PCSGET+29, PCSGET+30, PCSGET+40*, PCSGET+41, PCSGET+42, PCSGET+43
SDCLN FAPPTGET+28~, FAPPTGET+60*, FAPPTGET+67, GETIEN~, GETIEN+3, GETIEN+8, PCSGET+41*, PCSGET+43
SDCONS FAPPTGET+28~
SDDT FAPPTGET+28~, FAPPTGET+61*, FAPPTGET+67, GETIEN~, GETIEN+4, GETIEN+9, CONS~, CONS+6, CONS+7, CONS+8
SDECI FAPPTGET+30*, FAPPTGET+38, FAPPTGET+39, FAPPTGET+43, FAPPTGET+47, FAPPTGET+67*, FAPPTGET+68, PCSTGET+20~, PCSTGET+23*, PCSTGET+29
, PCSTGET+30, PCSTGET+32, PCSTGET+33, PCSTGET+40, PCSTGET+75*, PCST2GET+21~, PCST2GET+24*, PCST2GET+30, PCST2GET+31, PCST2GET+35
, PCST2GET+41, PCST2GET+53*, PCSGET+19~, PCSGET+22*, PCSGET+33, PCSGET+39, PCSGET+43*, PCSGET+44
SDECY FAPPTGET~, FAPPTGET+32*, FAPPTGET+36, FAPPTGET+38, FAPPTGET+39, FAPPTGET+43, FAPPTGET+47, FAPPTGET+67, FAPPTGET+68, PCSTGET~
, PCSTGET+24*, PCSTGET+25, PCSTGET+27, PCSTGET+29, PCSTGET+30, PCSTGET+32, PCSTGET+33, PCSTGET+40, PCSTGET+75, PCST2GET~
, PCST2GET+25*, PCST2GET+26, PCST2GET+28, PCST2GET+30, PCST2GET+31, PCST2GET+35, PCST2GET+41, PCST2GET+53, PCSGET~, PCSGET+23*
, PCSGET+24, PCSGET+26, PCSGET+33, PCSGET+39, PCSGET+43, PCSGET+44
SDEND FAPPTGET~, FAPPTGET+45*, FAPPTGET+46*, FAPPTGET+51, PCSTGET~, PCSTGET+37*, PCSTGET+38*, CHKPT+8, PCST2GET~, PCST2GET+45*
, PCST2GET+46*, LOOK+5, LOOK+11, LOOKWL+4
SDF GETIEN+1~, GETIEN+5*, GETIEN+9*, PCST2GET+21~, PCST2GET+24*, PCST2GET+36*, PCST2GET+37
SDI GETIEN+1~, GETIEN+5*, GETIEN+6, GETIEN+10, CONS+4~, CONS+6*, CONS+7, CONS+8
SDJ CONS+4~
SDNOD GETIEN+1~, GETIEN+6*, GETIEN+7, GETIEN+9
SDR GETIEN+1~, GETIEN+8*, GETIEN+9
SDS PCSTGET+20~, CHKPT+2*, CHKPT+3, CHKPT+5, CHKPT+7, LOOK+3*, LOOK+4, LOOK+6, LOOK+7, LOOK+8
, LOOK+11*, LOOK+12, LOOK+14
SDSCL PCSTGET+20~, CHKPT+3*, CHKPT+4, CHKPT+5, CHKPT+7
SDSCN PCST2GET+21~, PCST2GET+24*, PCST2GET+36*, PCSGET+19~, PCSGET+22*, PCSGET+34*, PCSGET+36, PCSGET+38*, PCSGET+39, PCSGET+43
SDSCO CHKPT+1~, CHKPT+7*, CHKPT+8
SDSD PCST2GET+21~, LOOK+4*, LOOK+5, LOOKWL+3*, LOOKWL+4, PCSGET+19~
SDSNOD PCST2GET+21~, PCSGET+19~
SDST FAPPTGET+28~, FAPPTGET+52*, FAPPTGET+67
SDSTP PCST2GET+21~, LOOKWL+5*, LOOKWL+6, PCSGET+19~
SDSVSP PCSGET~, PCSGET+30*, PCSGET+32*, PCSGET+33, PCSGET+34, PCSGET+35, PCSGET+36
SDT FAPPTGET+28~, FAPPTGET+51*, FAPPTGET+52, FAPPTGET+56, FAPPTGET+59, FAPPTGET+60, FAPPTGET+61, FAPPTGET+62, FAPPTGET+63, FAPPTGET+64
, FAPPTGET+66, PCST2GET+21~, PCSGET+19~
SDTMP FAPPTGET+29~, FAPPTGET+34*, FAPPTGET+35*, FAPPTGET+36
SDTYP FAPPTGET+29~, FAPPTGET+62*, FAPPTGET+67
SDTYPN FAPPTGET+29~, FAPPTGET+63*, FAPPTGET+67
SDVSP PCST2GET+21~, PCSGET+19~
SDWL PCST2GET+21~, LOOKWL+2*, LOOKWL+3, LOOKWL+5, PCSGET+19~
SDYN PCSTGET+20~, PCSTGET+41*, PCSTGET+75, CHKPT+2, CHKPT+8*, PCST2GET+21~, PCST2GET+47*, PCST2GET+53, LOOK+2, LOOK+3
, LOOK+8*, LOOK+10, LOOK+11, LOOK+14*, LOOKWL+2, LOOKWL+6*, LOOKWL+7
STOP PCSTGET+20~, PCSTGET+39*, PCSTGET+40, CHKPT+4, PCST2GET~, PCST2GET+33*, PCST2GET+35, PCST2GET+36, PCST2GET+37, PCST2GET+38
, PCST2GET+40*, PCST2GET+41, LOOKWL+6
U FAPPTGET+67, GETIEN+9, CONS+7, CONS+10, PCSTGET+40, CLSTOP+2, CHKPT+3, CHKPT+7, PCST2GET+39, LOOK+6
, LOOK+14, LOOKWL+3, LOOKWL+5, PCSGET+34, PCSGET+37, PCSGET+41, PCSGET+43
WLSRVSP PCST2GET+22~, PCST2GET+23*, PCSGET+20~, PCSGET+21*
X FAPPTGET+28~, FAPPTGET+42*, FAPPTGET+46*, PCSTGET+22~, PCSTGET+35*, PCSTGET+37*, PCST2GET+22~, PCST2GET+43*, PCST2GET+45*, PCSGET+20~
Y FAPPTGET+28~, FAPPTGET+42, FAPPTGET+43, FAPPTGET+46, FAPPTGET+47, PCSTGET+22~, PCSTGET+35, PCSTGET+37, PCST2GET+22~, PCST2GET+43
, PCST2GET+45, PCSGET+20~
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