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

Package: Scheduling

Routine: SDEC51B


Information

SDEC51B ;ALB/LAB,ANU - VISTA SCHEDULING RPCS ;APR 12, 2021@14:39

Source Information

Source file <SDEC51B.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Scheduling 4 $$PRIORITY^SDEC51  $$PRIO^SDEC51A  $$CALLCON^SDECAR1A  ERR1^SDECERR  
VA FileMan 1 ($$GET1,GETS)^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: 1

Package Total Caller Graph
Scheduling 1 SDEC1  

Entry Points

Name Comments DBIA/ICR reference
CONSLIST(SDECY,DFN) ;Return a list of ACTIVE or PENDING CONSULTS for patient
INIT ;
VALIDATE ;
HDR ;Get the header information
;
; Consult IEN^Request Type^ORIGDT^TO Service^CLINIEN^CLINNAME^Date of Request
; Prio^Provider IEN^Provider Name^Service Rendered As
; Req_Proc_Act^Stop^PRHBLOC^Earliest
; CPHONE^CLET^Covid_Priority
; 1 2 3 4
SELCONS ;selection all open consults - those consults in PENDING and ACTIVE status
ASSIGNINFO ;
BLDREC ;build consult record
EXIT ;
CONSULT1(SDECY,SDCONSID) ; RPC: SDEC GET PAT CONSULT BY IEN - Return a CONSULT
VALIDATE1 ;

External References

Name Field # of Occurrence
$$GET1^DIQ SELCONS+6, SELCONS+7, ASSIGNINFO+18, ASSIGNINFO+21, CONSULT1+30
GETS^DIQ ASSIGNINFO+2
$$PRIORITY^SDEC51 ASSIGNINFO+25
$$PRIO^SDEC51A ASSIGNINFO+10
$$CALLCON^SDECAR1A ASSIGNINFO+22
ERR1^SDECERR CONSLIST+28, CONSULT1+29

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ,  GETS^DIQ
123.5688 GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATE+6
^GMR(123 - [#123] SELCONS+5, VALIDATE1+6
^GMR(123.5 - [#123.5] ASSIGNINFO+17
^ORD(100.01 - [#100.01] INIT+3, INIT+4
^TMP("SDEC51B" INIT+1!, BLDREC+10*, EXIT+3*, EXIT+4*

Label References

Name Line Occurrences
ASSIGNINFO SELCONS+9, CONSULT1+31
BLDREC SELCONS+10, CONSULT1+32
EXIT CONSLIST+30, CONSULT1+33
HDR INIT+7
INIT CONSLIST+26, CONSULT1+27
SELCONS CONSLIST+29
VALIDATE CONSLIST+27
VALIDATE1 CONSULT1+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTIVE CONSLIST+24~, INIT+3*, SELCONS+8, CONSULT1+23~
COVPRIORITY SELCONS+1~, ASSIGNINFO+25*, BLDREC+9, CONSULT1+23~
CPRSSTAT SELCONS+1~, SELCONS+6*, SELCONS+8
DFN CONSLIST~, VALIDATE+2, VALIDATE+6, SELCONS+5, ASSIGNINFO+22, CONSULT1+23~, CONSULT1+30*
ERRMSG CONSLIST+24~, CONSLIST+28, INIT+5*, VALIDATE+4*, VALIDATE+8*, CONSULT1+23~, CONSULT1+29, VALIDATE1+4*, VALIDATE1+8*
ERRPOP CONSLIST+24~, CONSLIST+28, INIT+5*, VALIDATE+5*, VALIDATE+9*, CONSULT1+23~, CONSULT1+29, VALIDATE1+5*, VALIDATE1+9*
IFCSTAT SELCONS+1~, SELCONS+7*, SELCONS+8
PENDING CONSLIST+24~, INIT+4*, SELCONS+8, CONSULT1+23~
PRHBLOC SELCONS+1~, ASSIGNINFO+21*, BLDREC+7, CONSULT1+23~
SDARRERR ASSIGNINFO+1~
SDCLIEN SELCONS+2~, ASSIGNINFO+6*, ASSIGNINFO+21, BLDREC+3, CONSULT1+23~
SDCLNAME SELCONS+2~, ASSIGNINFO+7*, BLDREC+3, CONSULT1+24~
SDCOMM SELCONS+2~
SDCONLET SELCONS+3~, ASSIGNINFO+22*, ASSIGNINFO+23, ASSIGNINFO+24, CONSULT1+24~
SDCONSARR ASSIGNINFO+1~, CONSULT1+24~
SDCONSARR(123 ASSIGNINFO+3, ASSIGNINFO+4, ASSIGNINFO+5, ASSIGNINFO+6, ASSIGNINFO+7, ASSIGNINFO+8, ASSIGNINFO+9, ASSIGNINFO+11, ASSIGNINFO+12, ASSIGNINFO+13
ASSIGNINFO+14
SDCONSID SELCONS+1~, SELCONS+4*, SELCONS+5*, SELCONS+6, SELCONS+7, ASSIGNINFO+2, ASSIGNINFO+3, ASSIGNINFO+4, ASSIGNINFO+5, ASSIGNINFO+6
ASSIGNINFO+7, ASSIGNINFO+8, ASSIGNINFO+9, ASSIGNINFO+10, ASSIGNINFO+11, ASSIGNINFO+12, ASSIGNINFO+13, ASSIGNINFO+14, ASSIGNINFO+22, ASSIGNINFO+25
BLDREC+3, CONSULT1~, CONSULT1+30, VALIDATE1+2, VALIDATE1+6
SDCONTACT SELCONS+3~, ASSIGNINFO+23*, BLDREC+9, CONSULT1+24~
SDDOREQ SELCONS+2~, ASSIGNINFO+8*, BLDREC+3, CONSULT1+24~
SDEARLI SELCONS+3~, ASSIGNINFO+14*, BLDREC+7, CONSULT1+24~
SDECALL ASSIGNINFO+1~, CONSULT1+24~
SDECI CONSLIST+24~, CONSLIST+25*, CONSLIST+28, INIT+5*, HDR+14, BLDREC+10*, EXIT+1, EXIT+2*, EXIT+3, EXIT+4
, CONSULT1+23~, CONSULT1+24~, CONSULT1+29
SDECLET ASSIGNINFO+1~, CONSULT1+25~
SDECY CONSLIST~, CONSLIST+28, INIT+2*, HDR+14, CONSULT1~, CONSULT1+29
SDLET SELCONS+3~, ASSIGNINFO+24*, BLDREC+9, CONSULT1+25~
SDORIGDT SELCONS+2~, ASSIGNINFO+3*, BLDREC+3, CONSULT1+25~
SDPRIEN SELCONS+2~, ASSIGNINFO+11*, BLDREC+5, CONSULT1+25~
SDPRIO SELCONS+2~, ASSIGNINFO+10*, BLDREC+5, CONSULT1+25~
SDPRNAME SELCONS+2~, ASSIGNINFO+12*, BLDREC+5, CONSULT1+25~
SDREQTYPE SELCONS+1~, ASSIGNINFO+9*, BLDREC+3, CONSULT1+25~
SDSRA SELCONS+2~, ASSIGNINFO+13*, BLDREC+5, CONSULT1+25~
SDSTOP SELCONS+2~, ASSIGNINFO+15*, ASSIGNINFO+19*, ASSIGNINFO+20*, BLDREC+7, CONSULT1+25~
SDTMP CONSLIST+24~, HDR+7*, HDR+9*, HDR+11*, HDR+13*, HDR+14, BLDREC+3*, BLDREC+5*, BLDREC+7*, BLDREC+9*
BLDREC+10, CONSULT1+23~, CONSULT1+25~
SDTOSVC SELCONS+1~, SELCONS+2~, ASSIGNINFO+4*, BLDREC+3, CONSULT1+26~
SDTOSVCI SELCONS+2~, ASSIGNINFO+5*, ASSIGNINFO+16, ASSIGNINFO+17, ASSIGNINFO+18, CONSULT1+26~
SDURGEN SELCONS+1~
SIEN SELCONS+1~, ASSIGNINFO+17*, ASSIGNINFO+18, CONSULT1+26~
STOP SELCONS+1~, ASSIGNINFO+15*, ASSIGNINFO+18*, ASSIGNINFO+19, ASSIGNINFO+20, CONSULT1+26~
U ASSIGNINFO+23, ASSIGNINFO+24, BLDREC+3, BLDREC+5, BLDREC+7, BLDREC+9
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