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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDECRMG2

Package: Scheduling

Routine: SDECRMG2


Information

SDECRMG2 ;ALB/SAT/JSM - VISTA SCHEDULING RPCS ;MAR 15, 2017

Source Information

Source file <SDECRMG2.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Scheduling 4 (ARGET,GETONE,WLGET)^SDEC  $$REQCHK^SDEC51  (GETSVC,STOP)^SDECGMR  ($$CVTDT,$$SORT,APPT1,SETNODE,WAIT1)^SDECRMG1  
VA FileMan 2 ^%DT  $$GET1^DIQ  
Kernel 1 ($$FMADD,$$FMDIFF,$$NOW)^XLFDT  

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 SDECRMG  SDECRMG2 URGENCY  

Entry Points

Name Comments DBIA/ICR reference
URGENCY(SDECY) ;GET valid urgency protocol values that are used in the URGENCY field 5 of the REQUEST CONSULTAION file 123
CONSULT(RET,MAXREC,DFN,SDBEG,SDEND,CLINIC,PRI,SCVISIT,SVCR,ORIGDT,DESDT,DESDTR,PRIGRP,SORT,PTS,SDMAX,URG,SDSVC,SDLASTC,ORIGDTR,SDCNT,MGIENS,SDALL) ;REQUEST/CONSULTATION
SVC ;look up REQUEST/CONSULTATION by service (CLINIC STOP) ;alb/sat 658
SVC1 ;lookup 1 service
SVC1R ;lookup 1 service reverse lookup
COR ;look up REQUEST/CONSULTATION by file entry date
CSDCL ;look up REQUEST/CONSULTATION by clinic
CDTR ;look up REQUEST/CONSULTATION by date of request (desired date or date range)
CDTR1 ;look up REQUEST/CONSULTATION by date of request (desired date or date range) ;alb/sat 658 - this appears to not be used
CDTRALL ;look up REQUEST/CONSULTATION by date of request (desired date or date range)
CDFN ;look up REQUEST/CONSULTATION by patient
CGET1 ;
CGET1X ;
INRANGE(CHK,BEG,END)
MGIENS(MGIENS,MAXREC,DFN,SDBEG,SDEND,CLINIC,PRI,SCVISIT,SVCR,ORIGDT,DESDT,DESDTR,PRIGRP,SORT,PTS,SDMAX,URG,SDSVC,SDLASTA,ORIGDTR,SDCNT,MRTC) ;get specified IENs and sort to the top alb/jsm added MRTC
; MGIENS("A123")=""
A ;
C ;
E ;
R ;

External References

Name Field # of Occurrence
^%DT CGET1+10
$$GET1^DIQ URGENCY+15, URGENCY+18
ARGET^SDEC A+2
GETONE^SDEC CGET1+4
WLGET^SDEC E+2
$$REQCHK^SDEC51 CGET1+9
GETSVC^SDECGMR SVC+2
STOP^SDECGMR CGET1+33
$$CVTDT^SDECRMG1 CGET1+39
$$SORT^SDECRMG1 CGET1+47
APPT1^SDECRMG1 A+3
SETNODE^SDECRMG1 CGET1+48
WAIT1^SDECRMG1 E+3
$$FMADD^XLFDT CONSULT+9, CDTR+3
$$FMDIFF^XLFDT CGET1+39
$$NOW^XLFDT CONSULT+9, CDTR+3, CGET1+39

Used in RPC

RPC Name Call Tags
SDECRMG2 URGENCY URGENCY

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101 - [#101] GET1^DIQ
101.02 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(123 - [#123] SVC1+6, SVC1+7, SVC1R+6, SVC1R+7, COR+5, COR+6, COR+7, CSDCL+3, CSDCL+4, CDTR+5
, CDTR1+6, CDTR1+7, CDTRALL+4, CDFN+7, CDFN+8, CDFN+11, CDFN+12
^ORD(100.01 - [#100.01] SVC1+2, SVC1+3, SVC1R+2, SVC1R+3
^ORD(101 - [#101] URGENCY+13, URGENCY+14, URGENCY+17

Label References

Name Line Occurrences
$$INRANGE CGET1+24
@( MGIENS+6
CDFN CONSULT+11
CDTR CONSULT+20
CDTRALL CONSULT+10
CGET1 SVC1+7, SVC1R+7, COR+6, COR+7, CSDCL+3, CSDCL+4, CDTR1+7, CDFN+8, CDFN+12
COR CONSULT+14
CSDCL CONSULT+19
SVC CONSULT+15
SVC1 SVC+4, CDTR+5, CDTRALL+4
SVC1R CDTR+5, CDTRALL+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT COR+2~, CSDCL+2~, CDTR+2~, CDTR1+3~, CDTRALL+2~, CDFN+2~, CGET1+2~, CGET1+10*
BEG INRANGE~, INRANGE+4
CHK INRANGE~, INRANGE+3, INRANGE+4, INRANGE+5
CLGP CGET1+1~, CGET1+19*, CGET1+20, CGET1+47
CLIEN CONSULT+1~, CONSULT+18*, CSDCL+3, CSDCL+4
CLINIC CONSULT~, CONSULT+16, CGET1+20, MGIENS~, A+3, E+3
CLINIC( CONSULT+17, CGET1+20
DDTE CGET1+1~, CGET1+45*
DESDT CONSULT~, CDFN+6, CDFN+10, CDFN+11, CGET1+25, MGIENS~, A+3, E+3
DESDT( CGET1+25
DESDTR CONSULT~, CDTR1+4, CDTR1+5, CGET1+24, MGIENS~, A+3, E+3
DESGP CGET1+1~, CGET1+21*
DFN CONSULT~, CONSULT+9, CONSULT+11, CDFN+7, CDFN+8, CDFN+11, CDFN+12, MGIENS~, A+3, E+3
DOR CGET1+2~
DRQ SVC+1~, SVC1+6*, SVC1+7, SVC1R+6*, SVC1R+7
END INRANGE~, INRANGE+5
GMRSTOP CGET1+2~, CGET1+33
GMRSTOP( CGET1+34, CGET1+35
GMRSVC SVC+1~, SVC+2
GMRSVC( SVC+4
IEN CGET1+1~, CGET1+40*, CGET1+47, CGET1+48
LOOP CONSULT+1~, CONSULT+17*, CONSULT+18
MAXREC CONSULT~, MGIENS~, A+3, E+3
MGIENS CONSULT~, MGIENS~, A+3, E+3
MGIENS( MGIENS+3
MRTC MGIENS~, A+3
NOD A+1~, A+3*, E+1~, E+3*
ODTE CGET1+1~, CGET1+44*, CGET1+47
ORIGDT CONSULT~, CONSULT+14, CGET1+29, MGIENS~, A+3, E+3
ORIGDT( COR+3, CGET1+29
ORIGDTR CONSULT~, CGET1+28, MGIENS~, A+3, E+3
ORIGGP CGET1+1~, CGET1+26*, CGET1+27, CGET1+28, CGET1+29
OSACT SVC1+1~, SVC1+2*, SVC1+4, SVC1R+1~, SVC1R+2*, SVC1R+4
OSPEND CONSULT+1~, SVC1+1~, SVC1+3*, SVC1+4, SVC1R+1~, SVC1R+3*, SVC1R+4
PGRP CGET1+1~, CGET1+14*, CGET1+17*, CGET1+18, CGET1+38, CGET1+47
PRI CONSULT~, MGIENS~, A+3, E+3
PRI( CGET1+18
PRIGRP CONSULT~, CGET1+18, MGIENS~, A+3, E+3
PT CGET1+1~, CGET1+15*, CGET1+16, CGET1+47
PTS CONSULT~, CGET1+16, MGIENS~, A+3, E+3
PTS( CGET1+16
RET CONSULT~, A+1~, A+2, A+3, E+1~, E+2, E+3
SCPRI CGET1+1~, CGET1+37*, CGET1+47
SCVISIT CONSULT~, CONSULT+4*, CGET1+30, MGIENS~, A+3, E+3
SD90 CDTR+1~, CDTR+3*
SDALL CONSULT~
SDALL("C" CONSULT+10
SDBEG CONSULT~, CONSULT+8*, SVC1+6, SVC1R+6, CDFN+3, CGET1+22, CGET1+27, MGIENS~, A+3, E+3
SDBEGI CDTR+1~, CDTR1+2~, CDTRALL+1~, CDFN+1~, CDFN+3*, CDFN+7, CDFN+10
SDCNT CONSULT~, SVC+4, SVC1+4, SVC1+6, SVC1+7, SVC1R+4, SVC1R+6, SVC1R+7, COR+5, COR+6
, COR+7, CSDCL+3, CSDCL+4, CDTR+4*, CDTR+5, CDTR1+6, CDTR1+7, CDTRALL+1~, CDTRALL+3*, CDFN+7
, CDFN+8, CDFN+11, CDFN+12, CGET1+48, MGIENS~, A+3, E+3
SDECI URGENCY+8~, URGENCY+11*, URGENCY+12, URGENCY+19*, URGENCY+20, URGENCY+21
SDECY URGENCY~, URGENCY+9*, URGENCY+10, URGENCY+12, URGENCY+20, URGENCY+21, CGET1+1~, CGET1+4, CGET1+5, CGET1X+1
SDEDT CGET1+2~, CGET1+22*, CGET1+24, CGET1+25, CGET1+27, CGET1+47
SDEND CONSULT~, CONSULT+9*, SVC1+6, SVC1R+6, CDFN+4, CGET1+22, CGET1+27, MGIENS~, A+3, E+3
SDENDI CDTR+1~, CDTR1+2~, CDTRALL+1~, CDFN+1~, CDFN+4*, CDFN+6, CDFN+11
SDGMR SVC+1~, SVC1+7*, SVC1R+7*, COR+1~, COR+6*, COR+7*, CSDCL+1~, CSDCL+3*, CSDCL+4*, CDTR+1~
, CDTR1+2~, CDTR1+7*, CDTRALL+1~, CDFN+1~, CDFN+8*, CDFN+12*, CGET1+4, CGET1+9, CGET1+33
SDI URGENCY+8~, URGENCY+13*, URGENCY+14, COR+1~, COR+3*, COR+4, COR+5, CGET1+2~, CGET1+34*, CGET1+35
, MGIENS+2~, MGIENS+3*, MGIENS+4, MGIENS+5
SDID URGENCY+8~
SDJ URGENCY+8~, URGENCY+14*, URGENCY+15, URGENCY+17, URGENCY+18, URGENCY+20, COR+1~, COR+4*, COR+5*, COR+6
, COR+7, CSDCL+1~, CDTR+1~, CDTR1+2~, CDTR1+4*, CDTR1+6*, CDTR1+7, CDTRALL+1~, CDFN+1~, CDFN+6*
, CDFN+7*, CDFN+8, CDFN+10*, CDFN+11*, CDFN+12
SDJ1 CSDCL+1~, CDTR+1~, CDTR1+2~, CDTR1+5*, CDTR1+6, CDFN+1~, CDFN+6*, CDFN+10*, CDFN+11
SDK URGENCY+8~, URGENCY+17*, URGENCY+18
SDLASTA MGIENS~, A+3, E+3
SDLASTC CONSULT~
SDMAX CONSULT~, CONSULT+6*, SVC+4, SVC1+4, SVC1+6, SVC1+7, SVC1R+4, SVC1R+6, SVC1R+7, COR+5
, COR+6, COR+7, CSDCL+3, CSDCL+4, CDTR+5, CDTR1+6, CDTR1+7, CDFN+7, CDFN+8, CDFN+11
, CDFN+12, MGIENS~, A+3, E+3
SDNAME URGENCY+8~, URGENCY+15*, URGENCY+20
SDR CGET1+1~, CGET1+5*, CGET1+6*, CGET1+8, CGET1+10, CGET1+11, CGET1+12, CGET1+13, CGET1+14, CGET1+15
, CGET1+19, CGET1+21, CGET1+22, CGET1+26, CGET1+30, CGET1+39, CGET1+40, CGET1+41, CGET1+48
SDR2 CGET1+1~, CGET1+12*, CGET1+44
SDR8 CGET1+1~
SDR9 CGET1+1~, CGET1+13*, CGET1+45
SDSTOP CONSULT+1~, CONSULT+7*, COR+6, COR+7, CSDCL+3, CSDCL+4, CDTR+5, CDTRALL+4, CDFN+5, CDFN+9
SDSVC CONSULT~, CONSULT+5*, CONSULT+15, SVC+2, CGET1+32, MGIENS~, A+3, E+3
SDSVC( CGET1+36
SDSVCF CGET1+2~, CGET1+3*, CGET1+32, CGET1+34, CGET1+36*
SDSVCN CGET1+2~, CGET1+35*, CGET1+36
SDSYN URGENCY+8~, URGENCY+16*, URGENCY+18*, URGENCY+20
SIEN MGIENS+2~, MGIENS+5*, A+2, E+2
SORT CONSULT~, CGET1+47, MGIENS~, A+3, E+3
SORT("B" CONSULT+7
SORTSTR CGET1+1~, CGET1+47*, CGET1+48
STAT SVC+1~, SVC1+1~, SVC1+4*, SVC1+5, SVC1+6, SVC1+7, SVC1R+1~, SVC1R+4*, SVC1R+5, SVC1R+6
, SVC1R+7
STYP MGIENS+2~, MGIENS+4*, MGIENS+6
SVC SVC+1~, SVC+4*, SVC1+6, SVC1+7, SVC1R+6, SVC1R+7, CDTR+5*, CDTRALL+4*
SVCP CGET1+1~, CGET1+41*, CGET1+42
SVCPINV CGET1+1~, CGET1+42*, CGET1+47
SVCR CONSULT~, CONSULT+2, MGIENS~, A+3, E+3
SVCREL CGET1+2~, CGET1+38*, CGET1+47
SVPC CGET1+1~
TYP CGET1+1~, CGET1+7*, CGET1+47, CGET1+48
U URGENCY+20, CGET1+10, CGET1+11, CGET1+12, CGET1+13, CGET1+14, CGET1+15, CGET1+19, CGET1+21, CGET1+22
, CGET1+26, CGET1+30, CGET1+39, CGET1+40, CGET1+41
URG CONSULT~, CGET1+11, MGIENS~, A+3, E+3
URG( CGET1+11
WAITD CGET1+1~, CGET1+39*, CGET1+46*, CGET1+47, CGET1+48
X COR+2~, CSDCL+2~, CDTR+2~, CDTR1+3~, CDTRALL+2~, CDFN+2~, CGET1+2~, CGET1+10*
Y COR+2~, CSDCL+2~, CDTR+2~, CDTR1+3~, CDTRALL+2~, CDFN+2~, CGET1+1~, CGET1+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All