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

Package: Consult Request Tracking

Routine: GMRCCB


Information

GMRCCB ;SFVAMC/DAD - Consult Closure Tool: Data Gathering ;01/20/17 15:19

Source Information

Source file <GMRCCB.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 2 ($$FMADD,$$NOW)^XLFDT  $$MIN^XLFMTH  
VA FileMan 2 $$OREF^DILF  $$GET1^DIQ  
Consult Request Tracking 1 ($$CONSOKAY,$$GLOBROOT,$$SEEN,$$UNSEEN,CLINLIST,NOTESTAT)^GMRCCD  
Scheduling 1 $$SDAPI^SDAMA301  

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

Package Total Caller Graph
Consult Request Tracking 1 GMRCCA  

Entry Points

Name Comments DBIA/ICR reference
NOTECHEK(GMROOT,GM0CFG,GM0DFN,GM0CON,GMTCON,GMTAPT,GMNOTE,GMOPUT) ;
; *** Check for notes
SETDATA(GMROOT,GM0DFN,GM0CON,GMADAT,GMNDAT,GMOPUT) ;
; *** Save report data
NOTEQUIT(GMORDR,GMTITL,GMOPUT) ;
; *** Stop note search?
APPTLIST(GMROOT,GM0CFG,GM0DFN,GMTCON,GMAPPT) ;
; *** Get Pt's appts
; $$APPTLIST() = ApptDate ^ ClinIEN ^ ClinName ^ ApptStatInt ^ ApptStatExt
GETDATA(GMROOT,GMTBEG,GMTEND,GM0CFG,GMAPPT,GMNOTE,GMOPUT,GMDLIM) ;
; *** Get consults
CONSCHEK(GM0CON,GMSERV,GMPROC,GMPROT,GMCLPR) ;
; *** Consult active & part of config?
NOTELIST(GMROOT,GM0CFG,GM0DFN,GMTAPT,GMTCON,GMOPUT) ;
; *** Get Pt's notes
; $$NOTELIST() = RefDate ^ TitleIEN ^ TitleName ^ NoteIEN
APPTCHEK(GMROOT,GM0CFG,GM0DFN,GM0CON,GMTCON,GMAPPT,GMNOTE,GMOPUT) ;
; *** Check for appts

External References

Name Field # of Occurrence
$$OREF^DILF APPTLIST+11
$$GET1^DIQ GETDATA+9, CONSCHEK+7, CONSCHEK+8, CONSCHEK+9, CONSCHEK+16, CONSCHEK+17, CONSCHEK+18, CONSCHEK+19, APPTLIST+5, NOTELIST+6
, NOTELIST+18, NOTELIST+20, NOTELIST+21, NOTELIST+22, SETDATA+5, SETDATA+15, SETDATA+18
$$CONSOKAY^GMRCCD CONSCHEK+3
$$GLOBROOT^GMRCCD CONSCHEK+5
$$SEEN^GMRCCD APPTLIST+28
$$UNSEEN^GMRCCD APPTCHEK+14, APPTLIST+26
CLINLIST^GMRCCD GETDATA+3
NOTESTAT^GMRCCD NOTELIST+8
$$SDAPI^SDAMA301 APPTLIST+16
$$FMADD^XLFDT APPTLIST+6, NOTELIST+7
$$NOW^XLFDT APPTLIST+7
$$MIN^XLFMTH APPTLIST+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^GMR(123.033 - [#123.033] GET1^DIQ
^DPT - [#2] GET1^DIQ
^TIU(8925 - [#8925] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^GMR(123 - [#123] GETDATA+5, GETDATA+7
^GMR(123.033 - [#123.033] CONSCHEK+12, CONSCHEK+13, CONSCHEK+14, CONSCHEK+15, NOTELIST+19
^TIU(8925 - [#8925] NOTELIST+10, NOTELIST+14, NOTELIST+16
^TMP($J APPTLIST+13

Label References

Name Line Occurrences
$$APPTLIST APPTCHEK+3
$$CONSCHEK GETDATA+8, SETDATA+7
$$NOTELIST NOTECHEK+4
$$NOTEQUIT NOTELIST+10, NOTELIST+12, NOTELIST+14, NOTELIST+16
APPTCHEK GETDATA+11
NOTECHEK APPTCHEK+8, APPTCHEK+15
SETDATA NOTECHEK+9, NOTECHEK+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
GM0CFG GETDATA~, GETDATA+3, GETDATA+11, CONSCHEK+12, CONSCHEK+13, CONSCHEK+14, CONSCHEK+15, APPTCHEK~, APPTCHEK+3, APPTCHEK+8
, APPTCHEK+15, NOTECHEK~, NOTECHEK+4, APPTLIST~, APPTLIST+5, NOTELIST~, NOTELIST+6, NOTELIST+19
GM0CON GETDATA+2~, GETDATA+6*, GETDATA+7*, GETDATA+8, GETDATA+9, GETDATA+11, CONSCHEK~, CONSCHEK+3, CONSCHEK+7, CONSCHEK+8
, CONSCHEK+9, CONSCHEK+16, CONSCHEK+17, CONSCHEK+18, CONSCHEK+19, APPTCHEK~, APPTCHEK+8, APPTCHEK+15, NOTECHEK~, NOTECHEK+9
, NOTECHEK+17, SETDATA~, SETDATA+5, SETDATA+7, SETDATA+13, SETDATA+34
GM0DFN GETDATA+2~, GETDATA+9*, GETDATA+10, GETDATA+11, APPTCHEK~, APPTCHEK+3, APPTCHEK+8, APPTCHEK+15, NOTECHEK~, NOTECHEK+4
, NOTECHEK+9, NOTECHEK+17, APPTLIST~, APPTLIST+12, APPTLIST+18, APPTLIST+19, APPTLIST+24, APPTLIST+30, APPTLIST+41, NOTELIST~
, NOTELIST+10, NOTELIST+14, NOTELIST+16, NOTELIST+29, NOTELIST+31, SETDATA~, SETDATA+15, SETDATA+17, SETDATA+18, SETDATA+64
GM0NOT NOTELIST+3~, NOTELIST+15*, NOTELIST+16*, NOTELIST+18, NOTELIST+20, NOTELIST+21, NOTELIST+22, NOTELIST+23, NOTELIST+29, NOTELIST+31
GM0TTL NOTELIST+4~, NOTELIST+18*, NOTELIST+19
GMADAT SETDATA~, SETDATA+20, SETDATA+22, SETDATA+23, SETDATA+24, SETDATA+25
GMAPPT GETDATA~, GETDATA+11, APPTCHEK~, APPTCHEK+3, APPTCHEK+5, APPTLIST~, APPTLIST+37
GMCLAS NOTELIST+3~, NOTELIST+9*, NOTELIST+10*, NOTELIST+14, NOTELIST+16
GMCLIN APPTLIST+3~, APPTLIST+20*, APPTLIST+22, APPTLIST+24, APPTLIST+30, APPTLIST+39*, APPTLIST+41, SETDATA+2~, SETDATA+20*, SETDATA+21*
, SETDATA+22*, SETDATA+55, SETDATA+62
GMCLIN("E" APPTLIST+48*, APPTLIST+51
GMCLIN("I" APPTLIST+47*, APPTLIST+51
GMCLPR GETDATA+2~, GETDATA+8, CONSCHEK~, CONSCHEK+8*, CONSCHEK+12, CONSCHEK+17*, CONSCHEK+22*, SETDATA+2~, SETDATA+7, SETDATA+8
GMCLPR(0 CONSCHEK+12*, CONSCHEK+17, CONSCHEK+23*, CONSCHEK+25, SETDATA+8
GMCNAM SETDATA+2~, SETDATA+6*, SETDATA+8*, SETDATA+9*, SETDATA+10*, SETDATA+11*, SETDATA+13*, SETDATA+50, SETDATA+55, SETDATA+62
GMDATA APPTLIST+3~, APPTLIST+19*, APPTLIST+20, APPTLIST+21, APPTLIST+26, APPTLIST+31, NOTELIST+3~, NOTELIST+20*, NOTELIST+21*, NOTELIST+22*
, NOTELIST+23*, NOTELIST+26, NOTELIST+32, SETDATA+2~, SETDATA+32*, SETDATA+33*, SETDATA+34*, SETDATA+35*, SETDATA+44*, SETDATA+45*
, SETDATA+50, SETDATA+55, SETDATA+62
GMDATE APPTLIST+3~, APPTLIST+46*, APPTLIST+51, NOTELIST+3~, NOTELIST+5*, NOTELIST+7, NOTELIST+13
GMDAYS APPTLIST+3~, APPTLIST+5*, APPTLIST+6, NOTELIST+3~, NOTELIST+6*, NOTELIST+7
GMDLIM GETDATA~
GMFILE CONSCHEK+2~, CONSCHEK+4*, CONSCHEK+5
GMFRST APPTLIST+3~, APPTLIST+17*, APPTLIST+26*, APPTLIST+37, APPTLIST+38, APPTLIST+39, APPTLIST+42
GMGLOB CONSCHEK+2~
GMGLOB( CONSCHEK+5*, CONSCHEK+10
GMGLOB(101 CONSCHEK+11
GMINDX NOTELIST+3~, NOTELIST+25*, NOTELIST+26, SETDATA+2~, SETDATA+41*, SETDATA+42*, SETDATA+43
GMLAST APPTLIST+3~, APPTLIST+6*, APPTLIST+7*, APPTLIST+10
GMLIST APPTLIST+4~, APPTLIST+13*, APPTLIST+14, APPTLIST+18, APPTLIST+19, APPTLIST+45
GMNAME SETDATA+2~, SETDATA+15*, SETDATA+16*, SETDATA+17*, SETDATA+50, SETDATA+55, SETDATA+62
GMNDAT SETDATA~, SETDATA+27, SETDATA+29, SETDATA+30, SETDATA+34
GMNOTE GETDATA~, GETDATA+11, APPTCHEK~, APPTCHEK+8, APPTCHEK+15, NOTECHEK~, NOTECHEK+6, SETDATA+3~, SETDATA+27*, SETDATA+28*
, SETDATA+29*, SETDATA+43*, SETDATA+44, SETDATA+45, SETDATA+46*, SETDATA+50, SETDATA+55, SETDATA+62
GMOPUT GETDATA~, GETDATA+11, APPTCHEK~, APPTCHEK+8, APPTCHEK+15, NOTECHEK~, NOTECHEK+4, NOTECHEK+9, NOTECHEK+17, NOTELIST~
, NOTELIST+10, NOTELIST+12, NOTELIST+14, NOTELIST+16, NOTELIST+24, NOTEQUIT~, NOTEQUIT+2, SETDATA~, SETDATA+40, SETDATA+47
GMORDR NOTEQUIT~, NOTEQUIT+2
GMPROC GETDATA+2~, GETDATA+8, CONSCHEK~, CONSCHEK+9*, CONSCHEK+10*, CONSCHEK+14, CONSCHEK+18*, CONSCHEK+22*, SETDATA+3~, SETDATA+7
, SETDATA+10
GMPROC(0 CONSCHEK+14*, CONSCHEK+18, CONSCHEK+23*, CONSCHEK+25, SETDATA+10
GMPROT GETDATA+2~, GETDATA+8, CONSCHEK~, CONSCHEK+9*, CONSCHEK+11*, CONSCHEK+15, CONSCHEK+19*, CONSCHEK+22*, SETDATA+3~, SETDATA+7
, SETDATA+9
GMPROT(0 CONSCHEK+15*, CONSCHEK+19, CONSCHEK+23*, CONSCHEK+25, SETDATA+9
GMROOT GETDATA~, GETDATA+3, GETDATA+11, APPTCHEK~, APPTCHEK+3, APPTCHEK+8, APPTCHEK+15, NOTECHEK~, NOTECHEK+3, NOTECHEK+4
, NOTECHEK+9, NOTECHEK+16, NOTECHEK+17, NOTECHEK+20, APPTLIST~, APPTLIST+11, APPTLIST+24, APPTLIST+30, APPTLIST+41, NOTELIST~
, NOTELIST+25, NOTELIST+26, NOTELIST+29, NOTELIST+31, SETDATA~, SETDATA+42, SETDATA+43, SETDATA+50, SETDATA+55, SETDATA+62
, SETDATA+64
GMSDAM APPTLIST+4~, APPTLIST+16
GMSDAM("FLDS" APPTLIST+8*
GMSDAM("SORT" APPTLIST+9*
GMSDAM(1 APPTLIST+10*
GMSDAM(2 APPTLIST+11*
GMSDAM(4 APPTLIST+12*
GMSERV GETDATA+2~, GETDATA+8, CONSCHEK~, CONSCHEK+7*, CONSCHEK+13, CONSCHEK+16*, CONSCHEK+22*, SETDATA+3~, SETDATA+7, SETDATA+11
GMSERV(0 CONSCHEK+13*, CONSCHEK+16, CONSCHEK+23*, CONSCHEK+25, SETDATA+11
GMSSN SETDATA+3~, SETDATA+18*, SETDATA+32
GMSTAT APPTLIST+4~, APPTLIST+21*, APPTLIST+26, APPTLIST+28, NOTELIST+4~, NOTELIST+8, NOTELIST+11*, NOTELIST+12*, NOTELIST+14, NOTELIST+16
, SETDATA+3~
GMSTAT( NOTELIST+12
GMSTAT("E" APPTLIST+50*, APPTLIST+52, SETDATA+25*, SETDATA+33
GMSTAT("I" APPTLIST+49*, APPTLIST+52, SETDATA+24*, SETDATA+33
GMTAPT APPTCHEK+2~, APPTCHEK+3*, APPTCHEK+7, APPTCHEK+8, APPTCHEK+14, APPTCHEK+15, NOTECHEK~, NOTECHEK+4, NOTECHEK+9, NOTECHEK+17
, APPTLIST+4~, APPTLIST+17*, APPTLIST+18*, APPTLIST+19, APPTLIST+22, APPTLIST+24, APPTLIST+30, APPTLIST+38*, APPTLIST+41, NOTELIST~
, NOTELIST+5, NOTELIST+6, SETDATA+4~, SETDATA+23*, SETDATA+32
GMTBEG GETDATA~, GETDATA+4
GMTCON GETDATA+2~, GETDATA+4*, GETDATA+5*, GETDATA+7, GETDATA+11, APPTCHEK~, APPTCHEK+3, APPTCHEK+8, APPTCHEK+15, NOTECHEK~
, NOTECHEK+4, APPTLIST~, APPTLIST+6, APPTLIST+10, NOTELIST~, NOTELIST+5, SETDATA+4~, SETDATA+5*, SETDATA+32
GMTEND GETDATA~, GETDATA+5
GMTFIN NOTELIST+4~, NOTELIST+7*, NOTELIST+14
GMTITL NOTELIST+4~, NOTELIST+9*, NOTELIST+10, NOTELIST+12, NOTELIST+14, NOTELIST+16, NOTELIST+32*, NOTELIST+39, NOTEQUIT~, NOTEQUIT+2
GMTNOT NOTECHEK+2~, NOTECHEK+4*, NOTECHEK+8, NOTECHEK+9, NOTECHEK+15, NOTECHEK+17, NOTELIST+4~, NOTELIST+13*, NOTELIST+14*, NOTELIST+16
, SETDATA+4~, SETDATA+30*, SETDATA+34
GMVSIT APPTLIST+4~, APPTLIST+15*, APPTLIST+18, APPTLIST+31*, APPTLIST+37, APPTLIST+42*, APPTLIST+46, APPTLIST+47, APPTLIST+48, APPTLIST+49
, APPTLIST+50, APPTLIST+51*, APPTLIST+52*, APPTLIST+53
U APPTCHEK+14, APPTLIST+20, APPTLIST+21, APPTLIST+38, APPTLIST+39, APPTLIST+46, APPTLIST+47, APPTLIST+48, APPTLIST+49, APPTLIST+50
, APPTLIST+51, APPTLIST+52, NOTELIST+21, NOTELIST+22, NOTELIST+23, SETDATA+13, SETDATA+17, SETDATA+20, SETDATA+22, SETDATA+23
, SETDATA+24, SETDATA+25, SETDATA+27, SETDATA+29, SETDATA+30, SETDATA+32, SETDATA+33, SETDATA+34, SETDATA+35, SETDATA+44
, SETDATA+45, SETDATA+46
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