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

Package: Scheduling

Routine: SDECUTL


Information

SDECUTL ;ALB/MGD - VISTA SCHEDULING RPCS ;Jul 02, 2021@16:42

Source Information

Source file <SDECUTL.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 3 UPDATE^DIE  $$EXTERNAL^DILFD  $$GET1^DIQ  
Kernel 1 ($$FMDIFF,$$NOW)^XLFDT  
Registration 1 (OWNREC,SENS)^DGSEC4  
Scheduling 1 $$ERR^SDEC44  

Caller Graph

Caller Graph Total: 40

Package Total Caller Graph
Scheduling 38 SDAM2  SDAMWI1  SDAPIAP  SDCCRSEN  SDCNP0  SDCO1  SDCODEL  SDEC  
SDEC02  SDEC07  SDEC08  SDEC08A  SDEC09  SDEC28  SDEC28L  SDEC44  
SDEC47  SDEC49  SDEC50  SDEC51  SDEC52  SDEC52C  SDEC52CJSON  SDEC52CRMVJSON  
SDEC658  SDEC665  SDEC781P  SDECAR1  SDECINI2  SDECPTCX  SDECWL1  SDM1A  
SDMM1  SDN  SDNACT  SDNACT1  SDREACT  SDTMP08  
Mobile Scheduling Applications Suite 2 MBAAMAP2  MBAARPC2  

Entry Points

Name Comments DBIA/ICR reference
SYSSTAT(SDECY)
STRIP(SDECSTR) ;
; SDECSTR = input string to parse
FL(SDECSTR,SDECW,SDECD) ;EP
CHKVISIT(VIEN,DFN,CAT) ;EP
ISLOCKED(IEN) ;PEP - Is visit locked?
VISREFDT(IEN) ;
UPDATE(FDA,FLG,IEN) ;EP
ISACTIVE(ADT,IDT,CDT)
APPTGET(DFN,SDBEG,SDCL,SDRES) ;get SDEC APPOINTMENT for given patient, time, and clinic
GETRES(SDCL,INACT)
RECALL(DFN,SDT,SDCL)
SDCL(SDAPID)
PTSEC(DFN)
PTSEC4(RESULT,DFN,DGMSG,DGOPT) ;RPC/API entry point for patient sensitive & record access checks ;alb/sat 658
STRIP1(SDTXT)
WP(RET,STR,CH) ;Convert string STR to Word Processing array ;alb/sat 658
WPSTR(ARR)
PF(STRING,SUB,DI)
PD(STRING,PC,DI)
PFD(STRING,SUB,DI)

External References

Name Field # of Occurrence
OWNREC^DGSEC4 PTSEC4+27
SENS^DGSEC4 PTSEC4+31
UPDATE^DIE UPDATE+7
$$EXTERNAL^DILFD CHKVISIT+7
$$GET1^DIQ GETRES+7, SDCL+7, SDCL+8, SDCL+9, SDCL+10
$$ERR^SDEC44 CHKVISIT+3, CHKVISIT+5, CHKVISIT+6, CHKVISIT+7
$$FMDIFF^XLFDT ISLOCKED+10
$$NOW^XLFDT ISACTIVE+14

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^SD(403.5 - [#403.5] GET1^DIQ
^SDWL(409.3 - [#409.3] GET1^DIQ
^SDEC(409.831 - [#409.831] GET1^DIQ
^SDEC(409.84 - [#409.84] GET1^DIQ
^AUPNVSIT - [#9000010] EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] CHKVISIT+4, VISREFDT+2
^DGPM - [#405] VISREFDT+6, VISREFDT+7
^DGPM("AVISIT" VISREFDT+4
^SC - [#44] GETRES+3
^SD(403.56 - [#403.56] RECALL+6, RECALL+7
^SDEC(409.831 - [#409.831] APPTGET+16, GETRES+5, GETRES+6
^SDEC(409.84 - [#409.84] APPTGET+9, APPTGET+10, APPTGET+11
^TMP("SDEC" SYSSTAT+4

Label References

Name Line Occurrences
$$ISLOCKED CHKVISIT+2
$$STRIP1 PTSEC+34
$$VISREFDT ISLOCKED+2
PTSEC4 PTSEC+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADM VISREFDT+1~, VISREFDT+4*, VISREFDT+5, VISREFDT+6
ADT ISACTIVE~, ISACTIVE+12*, ISACTIVE+16, ISACTIVE+19, ISACTIVE+23, ISACTIVE+27, ISACTIVE+30, ISACTIVE+33, ISACTIVE+36
ARR WPSTR~, WPSTR+3
ARR( WPSTR+4, WPSTR+5
BEG WP+6~, WP+12*, WP+15, WP+16, WP+17*, WP+19
CAT CHKVISIT~, CHKVISIT+7
CDT ISACTIVE~, ISACTIVE+14*, ISACTIVE+27, ISACTIVE+30, ISACTIVE+33, ISACTIVE+36
CH WP~, WP+9*, WP+10, WP+15
CH1 WP+6~, WP+13*, WP+14
CNT WP+6~, WP+13*, WP+14, WP+15, WP+16, WP+17, WP+19
DAT ISLOCKED+1~, ISLOCKED+2*, ISLOCKED+3, ISLOCKED+10, VISREFDT+1~, VISREFDT+2*, VISREFDT+3, VISREFDT+5
DAYS ISLOCKED+1~
DFN CHKVISIT~, CHKVISIT+5, UPDATE+1~, APPTGET~, APPTGET+9, APPTGET+10, RECALL~, RECALL+6, PTSEC~, PTSEC+28
, PTSEC4~, PTSEC4+23, PTSEC4+27, PTSEC4+31
DGMSG PTSEC4~, PTSEC4+26*, PTSEC4+27
DGOPT PTSEC4~
DI PF~, PF+4*, PF+5, PD~, PD+5*, PD+6, PD+8, PFD~, PFD+5*, PFD+6
DIS VISREFDT+1~, VISREFDT+6*, VISREFDT+7
DT ISLOCKED+10, VISREFDT+7
DUZ PTSEC4+27, PTSEC4+31, PTSEC4+33
END WP+6~, WP+11*, WP+14*, WP+16, WP+17, WP+18*
ERR UPDATE+1~
ERR("DIERR" UPDATE+9
EXPDT ISLOCKED+1~
FDA UPDATE~, UPDATE+6, UPDATE+8!
FLG UPDATE~, UPDATE+2*, UPDATE+7
IDT ISACTIVE~, ISACTIVE+13*, ISACTIVE+16, ISACTIVE+19, ISACTIVE+23, ISACTIVE+27, ISACTIVE+30, ISACTIVE+33, ISACTIVE+36
IEN ISLOCKED~, ISLOCKED+2, VISREFDT~, VISREFDT+2, VISREFDT+4, UPDATE~
INACT GETRES~, GETRES+7
LCNT WP+6~, WP+11*, WP+16*, WP+19*
NSTR PD+1~, PD+2*, PD+8*, PD+9, PFD+1~, PFD+2*, PFD+6*, PFD+7
PC PD~, PD+4*, PD+7
RESULT PTSEC4~, PTSEC4+22!, PTSEC4+27, PTSEC4+30!, PTSEC4+31
RESULT(1 PTSEC4+24*, PTSEC4+28*, PTSEC4+29*, PTSEC4+32, PTSEC4+35*
RESULT(2 PTSEC4+25*, PTSEC4+36*
RET CHKVISIT+1~, CHKVISIT+2*, CHKVISIT+3, CHKVISIT+5*, CHKVISIT+6*, CHKVISIT+7*, CHKVISIT+8, ISACTIVE+10~, ISACTIVE+11*, ISACTIVE+16*
, ISACTIVE+17, ISACTIVE+20*, ISACTIVE+21, ISACTIVE+23*, ISACTIVE+24, ISACTIVE+27*, ISACTIVE+28, ISACTIVE+30*, ISACTIVE+31, ISACTIVE+33*
, ISACTIVE+34, ISACTIVE+36*, ISACTIVE+37, ISACTIVE+39*, ISACTIVE+40, WP~, WP+7!, WPSTR+1~, WPSTR+2*, WPSTR+3
, WPSTR+5*, WPSTR+6
RET( WP+16*, WP+19*
RET(1 WP+10*
SDAPID SDCL~, SDCL+7
SDAPPT APPTGET+1~, APPTGET+2*, APPTGET+9, APPTGET+10, APPTGET+17*, APPTGET+18
SDAPTYP SDCL+5~, SDCL+7*, SDCL+8, SDCL+9, SDCL+10
SDARES APPTGET+1~, APPTGET+16*
SDBEG APPTGET~, APPTGET+6, APPTGET+7, APPTGET+14
SDBEGINDX APPTGET+1~, APPTGET+6*, APPTGET+9*, APPTGET+10
SDCL APPTGET~, APPTGET+3*, APPTGET+16, GETRES~, GETRES+3, GETRES+5, RECALL~, RECALL+9, SDCL+5~, SDCL+6*
, SDCL+8*, SDCL+9*, SDCL+10*, SDCL+11
SDECCNT SYSSTAT+2~
SDECD SYSSTAT+2~, FL~, FL+11*, FL+18, FL+21, FL+27, FL+32
SDECDN STRIP+2~, STRIP+7*, STRIP+8, STRIP+20*
SDECH SYSSTAT+2~
SDECI STRIP+2~, STRIP+4*, STRIP+9*, STRIP+10, STRIP+15, STRIP+16*, STRIP+17, STRIP+20
SDECII SYSSTAT+2~, SYSSTAT+3*, SYSSTAT+6, SYSSTAT+7*
SDECOUT FL+7~, FL+12*, FL+18*, FL+21*, FL+27*, FL+32*, FL+35
SDECPC STRIP+2~, STRIP+12*, STRIP+15*, STRIP+19
SDECPCNT STRIP+2~, STRIP+6*, STRIP+11*, STRIP+19, STRIP+20
SDECPDN STRIP+2~, STRIP+13*, STRIP+14, STRIP+17*
SDECPTR FL+7~, FL+13*, FL+30, FL+31*, FL+32, FL+33, FL+34*
SDECRET STRIP+2~, STRIP+5*, STRIP+19*, STRIP+22
SDECROW SYSSTAT+2~
SDECROW1 SYSSTAT+2~
SDECSTR STRIP~, STRIP+3, STRIP+10, STRIP+15, STRIP+17, STRIP+20, FL~, FL+10, FL+15, FL+16
, FL+17, FL+18, FL+19*, FL+20, FL+21, FL+22*, FL+24, FL+25, FL+26, FL+27
, FL+28*, FL+29, FL+30, FL+32, FL+33*
SDECTMP FL+7~
SDECW FL~, FL+8*, FL+9*, FL+10, FL+13, FL+17, FL+20, FL+21, FL+22, FL+26
, FL+29, FL+34
SDECY SYSSTAT~, SYSSTAT+4*, SYSSTAT+6, SYSSTAT+7
SDECYA SYSSTAT+2~
SDEND APPTGET+1~, APPTGET+7*, APPTGET+9
SDHLN GETRES+1~, GETRES+3*, GETRES+4
SDI APPTGET+1~, APPTGET+10*, APPTGET+11, APPTGET+17, GETRES+1~, GETRES+5*, GETRES+6, GETRES+7, GETRES+8, GETRES+10
, RECALL+4~, RECALL+6*, RECALL+7, RECALL+10, PTSEC+24~, PTSEC+33*, PTSEC+34, STRIP1+1~, STRIP1+3*, PF+1~
, PF+5*, PF+6, PD+1~, PD+6*, PD+7, PD+8, PFD+1~, PFD+6*
SDLINE PTSEC+24~, PTSEC+34*, PTSEC+35, PTSEC+36
SDNOD APPTGET+1~, APPTGET+11*, APPTGET+13, APPTGET+14, APPTGET+15, APPTGET+16, GETRES+1~, GETRES+6*, GETRES+9
SDNOD1 RECALL+4~, RECALL+7*, RECALL+8, RECALL+9
SDRCL APPTGET+1~, APPTGET+16*
SDRES APPTGET~, APPTGET+4*, APPTGET+15, APPTGET+16, GETRES+1~, GETRES+2*, GETRES+5, GETRES+10*, GETRES+12*, GETRES+13
SDRES1 GETRES+1~, GETRES+2*, GETRES+8*, GETRES+12
SDRET RECALL+4~, RECALL+5*, RECALL+6, RECALL+10*, RECALL+11, PTSEC+24~, PTSEC+25!, PTSEC+26*, PTSEC+29*, PTSEC+30*
, PTSEC+31*, PTSEC+37*, PTSEC+38
SDSEC PTSEC+24~, PTSEC+25!, PTSEC+28
SDSEC( PTSEC+33, PTSEC+34
SDSEC(1 PTSEC+29
SDSEC(2 PTSEC+30
SDSEC(3 PTSEC+31
SDT RECALL~, RECALL+8
SDTXT PTSEC+24~, PTSEC+32*, PTSEC+36*, PTSEC+37, STRIP1~, STRIP1+2*, STRIP1+3*, STRIP1+4
STR WP~, WP+8, WP+10, WP+13, WP+16, WP+19
STRING PF~, PF+2*, PF+5, PD~, PD+3*, PD+4, PD+6, PD+8, PFD~, PFD+3*
, PFD+4, PFD+6
SUB PF~, PF+3*, PF+5, PFD~, PFD+4*, PFD+6
U STRIP+19, CHKVISIT+5, CHKVISIT+6, CHKVISIT+7, VISREFDT+2, VISREFDT+6, VISREFDT+7, UPDATE+9, APPTGET+13, APPTGET+14
, APPTGET+15, APPTGET+16, GETRES+3, GETRES+9, RECALL+8, RECALL+9, PF+4, PD+5, PFD+5
VIEN CHKVISIT~, CHKVISIT+2, CHKVISIT+3, CHKVISIT+4, CHKVISIT+5, CHKVISIT+6, CHKVISIT+7
WPI WPSTR+1~, WPSTR+4*, WPSTR+5
X UPDATE+1~, UPDATE+4*, UPDATE+5*
X0 CHKVISIT+1~, CHKVISIT+4*, CHKVISIT+5, CHKVISIT+6, CHKVISIT+7
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