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 |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDECXML

Package: Scheduling

Routine: SDECXML


Information

SDECXML ;ALB/JCH - SCHEDULING ENHANCEMENTS 3 ;11/03/14 10:59am

Source Information

Source file <SDECXML.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 5 $$ISLOCKED^SDCED  ($$GETWEEK,EN,WEEKS)^SDCED1  (CLINIC,PROVIDER)^SDECXML2  (DIVALL,GRPALL)^SDECXML3  ($$DIVNAME,$$XDATE,BEGEND,NODATA,OUTPUT,SETSDREC)^SDECXUTL  
Kernel 1 ($$FMADD,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  
M XML Parser 1 $$SYMENC^MXMLUTL  
Registration 1 $$SITE^VASITE  
VA FileMan 1 ^%DT  

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

Package Total Caller Graph
Scheduling 9 SD VSE FILTER RPC  SD VSE REPORT RPC  SDCED  SDECXML1  SDECXML2  SDECXML3  SDECXML4  SDECXML5  
SDECXUTL  

Entry Points

Name Comments DBIA/ICR reference
GETFLT(RESULT,ALL,SDEBUG)
REPORT(RESULT,SDRPTLST,SDBEGRNG,SDENDRNG,SDEBUG)
START(SDRPTLST,SDDTINC,SDBEGRNG,SDENDRNG,SDFLTFLG,SDUR,SDEBUG,XMLNODE) ; Begin building report data from ^XTMP("SDVSE","DT"
DATINC(SDLCNT,SDBEGDT,SDENDDT,SDRPTYP,DATINC,DTRANGE,SDNODE,SDEBUG,XMLNODE) ; Get Year, Quarter, Month, Week, and Date data for Division, Group, Clinic, Provider
DIVISION(SDLCNT,SDRPTYP,SDAT,SDFAC,SDIV,DTINC,DIVCOUNT,XMLNODE) ; Division
GROUP(SDLCNT,SDRPTYP,SDAT,SDFAC,SDIV,SDGRP,DTINC,IG) ; Group
RPT(RPT) ; Report Type
FAC(SDFAC,XTYP) ; Return formatted Facility
DIV(DIV,XTYP) ; Return formatted Division
GRP(GRP,XTYP) ; Return Clinic Group
GRPNAM(GRP) ; Get Group Name
CLIN(CLIN,FILT) ; Return formatted Clinic
PROV(PROV) ; Return formatted Provider
DATE(DATE,DTFMT,SDACTDT,DTRANGE) ; Return formatted Date
ENC(ENC,TEL,NEW,EST) ; Return formatted number of encounters
TEL(TEL) ; Return formatted telephone encounters
NEW(NEW) ; Return new patients
EST(EST) ; Return established patients
RCAOVR(OVR) ; Appointment
RCADEM(DEM) ; Demand
RCADEMA(DEM) ; Demand
RCASUP(SUP) ; Supply
SETTMPF(SDLCNT,SDFILT,INDENTF,SDMEAS) ; Set/Write filter
SETFILT(SDLCNT,SDFILT,INDENT) ; Set ^XTMP or Write
SETREC(SDLCNT,SDDATA,INDENT) ; Set/Write Record
PARSE(STRING,CHAR,SUBS)
SDETFM(DATE) ; Convert external date to FM

External References

Name Field # of Occurrence
^%DT SDETFM+4
$$SYMENC^MXMLUTL FAC+2, GRPNAM+7, CLIN+4, PROV+6
$$ISLOCKED^SDCED GETFLT+3
$$GETWEEK^SDCED1 REPORT+19
EN^SDCED1 START+12
WEEKS^SDCED1 REPORT+18
CLINIC^SDECXML2 DATINC+31
PROVIDER^SDECXML2 DATINC+35
DIVALL^SDECXML3 DIVISION+3
GRPALL^SDECXML3 GROUP+4
$$DIVNAME^SDECXUTL DIV+2
$$XDATE^SDECXUTL DATE+3, DATE+9, DATE+12, DATE+15, DATE+17, DATE+18
BEGEND^SDECXUTL REPORT+21, DATE+6
NODATA^SDECXUTL GETFLT+5, GETFLT+8
OUTPUT^SDECXUTL START+17, START+25, START+27, DATINC+11, DATINC+12, DATINC+36, DATINC+37, DATINC+38, DATINC+39, DATINC+41
, GROUP+7
SETSDREC^SDECXUTL START+26
$$SITE^VASITE START+14, START+16, FAC+1
$$FMADD^XLFDT REPORT+13, DATINC+3, DATINC+4, DATINC+5, DATINC+8, DATINC+9
$$FMDIFF^XLFDT REPORT+24
$$FMTE^XLFDT DATE+14
$$NOW^XLFDT REPORT+5, DATINC+3, DATINC+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$G(PAD)_"<"_SDFILT_">"
  • Line Location: SETFILT+4
Function Call: WRITE
  • Prompt: !,?($G(INDENT)+1),TMPREC
  • Line Location: SETREC+6

Used in RPC

RPC Name Call Tags
SD VSE REPORT RPC REPORT
SD VSE FILTER RPC GETFLT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] CLIN+2
^TMP($J GETFLT+9, GETFLT+10*, REPORT+2!, REPORT+3, REPORT+27*, REPORT+30*
^VA(200 - [#200] PROV+3
^XTMP( START+28!, DATINC+6, DATINC+9, DATINC+10, DATINC+13, DATINC+18, DATINC+23, DATINC+29, DATINC+33
^XTMP("SDVSE" GETFLT+6, GETFLT+7, GETFLT+10, REPORT+5, REPORT+27, REPORT+30, REPORT+31!, START+4!, START+6, SETFILT+5*
, SETREC+7*

Label References

Name Line Occurrences
$$DATE DATINC+12
$$DIV DIVISION+5
$$FAC START+18
$$GRP GROUP+8
$$GRPNAM GRP+2
$$PARSE SETREC+3
$$RPT START+20
$$SDETFM REPORT+8, REPORT+9, REPORT+22, REPORT+23, START+7, START+8
DATINC START+24
DIVISION DATINC+20
GROUP DATINC+25
SETFILT START+18, START+20, SETTMPF+1
SETTMPF DIVISION+5, GROUP+8
START GETFLT+7, REPORT+29

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DATE+14~*
ACTDT1 REPORT+15~, REPORT+21, REPORT+22
ACTDT2 REPORT+15~, REPORT+21, REPORT+23
ALL GETFLT~
BEGDT DATE+1~, DATE+6, DATE+7, DATE+8, DATE+9, DATE+12, DATE+15, DATE+17
CHAR PARSE~, PARSE+2, PARSE+3
CLIN CLIN~, CLIN+1*, CLIN+2
CLNAM CLIN+1~, CLIN+2*, CLIN+4
CLNTAG START+2~, START+17, START+25, START+27, DATINC+2~, DATINC+11, DATINC+12, DATINC+31, DATINC+35, DATINC+36
, DATINC+37, DATINC+38, DATINC+39, DATINC+41, DIVISION+3, GROUP+4, GROUP+7, CLIN+2*, SETFILT+8*
DA GRPNAM+1~
DATE REPORT+1~, DATE~, DATE+6, DATE+11, DATE+14, SDETFM~, SDETFM+3, SDETFM+4, SDETFM+5
DATINC DATINC~, DATINC+6, DATINC+8, DATINC+9, DATINC+10, DATINC+11, DATINC+12, DATINC+13, DATINC+18, DATINC+20
, DATINC+23, DATINC+25, DATINC+29, DATINC+31, DATINC+33, DATINC+35
DATNAM SDETFM+1~
DEM RCADEM~, RCADEM+1*, RCADEM+2, RCADEMA~, RCADEMA+1*, RCADEMA+2
DIC GRPNAM+1~
DIQ GRPNAM+1~
DIV DIV~, DIV+2
DIVCOUNT DATINC+18*, DATINC+20, DIVISION~, DIVISION+3
DIVTAG START+2~, START+17, START+25, START+27, DATINC+2~, DATINC+11, DATINC+12, DATINC+36, DATINC+37, DATINC+38
, DATINC+39, DATINC+41, DIVISION+3, GROUP+4, GROUP+7, DIV+1*, SETFILT+7*
DR GRPNAM+1~
DT START+1~, START+6*
DTAGAB GETFLT+1~, REPORT+1~
DTFMT DATE~, DATE+6, DATE+9, DATE+10, DATE+13, DATE+16
DTINC DIVISION~, DIVISION+2, DIVISION+3, GROUP~, GROUP+3
DTNAM START+2~, START+15*, DATINC+35, DIVISION+1~, DIVISION+2*, GROUP+1~, GROUP+3*
DTNAMAR START+1~
DTNAMAR( START+15*, START+22, DIVISION+2, GROUP+3
DTNAMEX DATE+1~, DATE+5*, DATE+8*, DATE+9, DATE+11*, DATE+12, DATE+14~*, DATE+15, DATE+17, DATE+18
DTRANGE GETFLT+1~, START+1~, START+9*, START+10, START+11, START+24, DATINC~, DATINC+5, DATINC+6, DATINC+10
, DATINC+12, DATE~, DATE+3, DATE+6, DATE+17
ENC ENC~, ENC+1
ENDDT DATE+1~, DATE+6, DATE+7, DATE+9, DATE+12, DATE+15, DATE+17
EST ENC~, EST~, EST+1
FILT CLIN~, CLIN+3
GRP GRP~, GRP+2, GRPNAM~, GRPNAM+2, GRPNAM+4, GRPNAM+6
GRPFLG START+2~, START+17, START+25, START+27, DATINC+2~, DATINC+11, DATINC+12, DATINC+31, DATINC+35, DATINC+36
, DATINC+37, DATINC+38, DATINC+39, DATINC+41, DIVISION+3, GROUP+4, GROUP+7, GROUP+8*, SETFILT+6*
GRPNAM GRP+1~, GRP+2*, GRP+3, GRP+4, GRPNAM+1*, GRPNAM+2*, GRPNAM+3, GRPNAM+4*, GRPNAM+5*, GRPNAM+6*
, GRPNAM+7
I GETFLT+1~, REPORT+1~, PARSE+2*, PARSE+3
IC DATINC+1~, DATINC+29*
IG DATINC+23*, DATINC+25, GROUP~
INDENT SETFILT~, SETFILT+3, SETREC~, SETREC+6
INDENTF SETTMPF~, SETTMPF+1
IO SETFILT+4, SETREC+6
NEW ENC~, NEW~, NEW+1
NEWDATA SETREC+2~, PARSE+1~*, PARSE+3*, PARSE+4
NODATA GETFLT+1~, GETFLT+2*, GETFLT+6, GETFLT+8*
OVR RCAOVR~, RCAOVR+1
PAD SETFILT+3~*, SETFILT+4
PROV PROV~, PROV+2, PROV+3
PRVNAM PROV+1~*, PROV+2*, PROV+3*, PROV+4*, PROV+5*, PROV+6
RANGE DATE+1~, DATE+3*, DATE+5, DATE+18
RANGEX DATE+1~, DATE+2*, DATE+7*
RESULT GETFLT~, GETFLT+5, GETFLT+8, GETFLT+9*, REPORT~, REPORT+3*
RPT RPT~, RPT+1*, RPT+2
SDACTDT START+2~, START+6*, DATINC+8, DATINC+9, DATINC+12, DATE~, DATE+6, DATE+9, DATE+12, DATE+15
, DATE+17, DATE+18
SDACTDT1 REPORT+1~, REPORT+5*, REPORT+13
SDALL DATINC+1~, DATINC+17*
SDALLALL DATINC+16~
SDAT DIVISION~, DIVISION+3, GROUP~, GROUP+4
SDBEGDT START+1~, START+7*, START+8, START+9, START+24, DATINC~, DATINC+3*, DATINC+5, DATINC+10
SDBEGRNG REPORT~, REPORT+7*, REPORT+8*, REPORT+10, REPORT+11, REPORT+13*, REPORT+16*, REPORT+19*, REPORT+20, REPORT+22*
, REPORT+24, REPORT+29, START~, START+7, START+12
SDCALL DATINC+7*, DATINC+16~, DATINC+17*, DATINC+28*, DATINC+31, DATINC+32*, DATINC+35, DIVISION+3, GROUP+4
SDCLN DATINC+1~, DATINC+29*, DATINC+30, DATINC+31, DATINC+33, DATINC+35
SDDATA GROUP+1~, SETREC~, SETREC+3*, SETREC+5
SDDATE REPORT+15~, REPORT+20*, REPORT+21, DATINC+1~, DATINC+5*, DATINC+6*, DATINC+7*, DATINC+8*, DATINC+9*, DATINC+10*
, DATINC+12, DATINC+13, DATINC+18, DATINC+20, DATINC+23, DATINC+25, DATINC+29, DATINC+31, DATINC+33, DATINC+35
SDDGRP DATINC+1~, DATINC+23*, DATINC+24, DATINC+25, DATINC+26, DATINC+29, DATINC+31, DATINC+33, DATINC+35
SDDIV DATINC+1~, DATINC+18*, DATINC+20, DATINC+23, DATINC+25, DATINC+29, DATINC+31, DATINC+33, DATINC+35
SDDT GETFLT+1~, REPORT+1~, START+1~
SDDTCNT START+1~, START+21*
SDDTINC REPORT+28*, REPORT+29, START~, START+21
SDEBUG GETFLT~, GETFLT+2*, REPORT~, REPORT+4*, REPORT+29, START~, START+17, START+24, START+25, START+27
, DATINC~, DATINC+11, DATINC+12, DATINC+31, DATINC+36, DATINC+37, DATINC+38, DATINC+39, DATINC+41, DIVISION+3
, GROUP+4, GROUP+7, SETFILT+4, SETREC+6
SDENDDT START+1~, START+8*, START+9, START+24, DATINC~, DATINC+4*
SDENDRNG REPORT~, REPORT+7*, REPORT+9*, REPORT+13*, REPORT+16, REPORT+18, REPORT+23*, REPORT+24, REPORT+29, START~
, START+8, START+12
SDFAC START+1~, START+16*, START+18, DATINC+1~, DATINC+13*, DATINC+18, DATINC+20, DATINC+23, DATINC+25, DATINC+29
, DATINC+31, DATINC+33, DATINC+35, DIVISION~, DIVISION+3, GROUP~, GROUP+4, FAC~
SDFACDAT FAC+1~*, FAC+2
SDFACNAM START+1~, START+14*
SDFACNUM START+1~, START+14*
SDFILT START+1~, START+18*, START+20*, DIVISION+1~, DIVISION+5*, GROUP+1~, GROUP+8*, SETTMPF~, SETTMPF+1, SETFILT~
, SETFILT+1, SETFILT+4, SETFILT+5, SETFILT+6, SETFILT+7, SETFILT+8
SDFLTFLG GETFLT+1~, START~, START+3, START+9, START+26, DATINC+8, DATINC+9, DATINC+14, SETFILT+2
SDGALL DATINC+7*, DATINC+16~, DATINC+17*, DATINC+22*, DATINC+27*, DATINC+35, DIVISION+3, GROUP+4
SDGRP GROUP~, GROUP+6, GROUP+8
SDGRPRV GROUP+1~
SDII DATINC+1~, DATINC+10*, DATINC+11, DATINC+40
SDINTDT REPORT+1~, SDETFM+2*, SDETFM+4*, SDETFM+5
SDIV DATINC+1~, DIVISION~, DIVISION+3, DIVISION+5, GROUP~, GROUP+2, GROUP+4
SDLCNT GETFLT+1~, REPORT+1~, START+14*, START+17, START+18, START+20, START+24, START+25, START+26, START+27
, DATINC~, DATINC+11, DATINC+12, DATINC+20, DATINC+25, DATINC+31, DATINC+35, DATINC+36, DATINC+37, DATINC+38
, DATINC+39, DATINC+41, DIVISION~, DIVISION+3, DIVISION+5, GROUP~, GROUP+7, GROUP+8, SETTMPF~, SETTMPF+1
, SETFILT~, SETFILT+1*, SETFILT+5, SETREC~, SETREC+4*, SETREC+7
SDMEAS SETTMPF~
SDNODE START+1~, START+10*, START+12, START+24, START+28, DATINC~, DATINC+6, DATINC+9, DATINC+10, DATINC+13
, DATINC+18, DATINC+23, DATINC+29, DATINC+31, DATINC+33, DATINC+35, DIVISION+3, GROUP+4
SDPC GETFLT+1~, REPORT+1~
SDPRV DATINC+1~, DATINC+33*, DATINC+34, DATINC+35
SDRPT START+2~, START+5*, START+19*, START+20, START+24, DATINC+1~
SDRPTAR START+1~, START+12
SDRPTAR( START+5*
SDRPTCNT START+1~, START+19*
SDRPTLST REPORT~, REPORT+6*, REPORT+27, REPORT+29, START~, START+19, START+26
SDRPTYP GETFLT+1~, REPORT+1~, DATINC~, DATINC+6, DATINC+9, DATINC+10, DATINC+13, DATINC+18, DATINC+20, DATINC+23
, DATINC+25, DATINC+29, DATINC+31, DATINC+33, DATINC+35, DIVISION~, DIVISION+3, GROUP~, GROUP+4
SDSINGRP DATINC+21~*, DATINC+26
SDSTAT GETFLT+1~, GETFLT+3*, GETFLT+5, GETFLT+7
SDTINC START+21*, START+22*, START+23, START+24, DATINC+1~
SDUR REPORT+1~, REPORT+11*, REPORT+12, REPORT+14, REPORT+17, REPORT+21, REPORT+24*, REPORT+25*, REPORT+27, REPORT+29
, START~, DATINC+11
SDVGRCL DATINC+16~, DATINC+17*
SDWEEKS REPORT+1~, REPORT+18, REPORT+19
STRING DATINC+2~, RPT+2*, RPT+3, FAC+2*, DIV+2*, GRP+3*, GRP+4*, CLIN+3*, CLIN+4*, PROV+6*
, DATE+2*, DATE+9*, DATE+12*, DATE+15*, DATE+17*, DATE+18*, DATE+19, ENC+1*, ENC+2, TEL+1*
, NEW+1*, EST+1*, RCAOVR+1*, RCAOVR+2, RCADEM+2*, RCADEM+3, RCADEMA+2*, RCADEMA+3, RCASUP+1*, RCASUP+2
, PARSE~, PARSE+2, PARSE+3
SUBS PARSE~, PARSE+3
SUP RCASUP~, RCASUP+1
TEL ENC~, TEL~, TEL+1
TMPDATA SETREC+2~, PARSE+1~*, PARSE+3*
TMPREC SETREC+2~, SETREC+5*, SETREC+6, SETREC+7
U GETFLT+5
X DATE+14~, SDETFM+1~, SDETFM+4*
XMLNODE REPORT+1~, REPORT+4*, REPORT+29, REPORT+30, REPORT+31, START~, START+3*, START+4, START+17, START+24
, START+25, START+26, START+27, DATINC~, DATINC+11, DATINC+12, DATINC+15, DATINC+20, DATINC+31, DATINC+36
, DATINC+37, DATINC+38, DATINC+39, DATINC+41, DIVISION~, DIVISION+3, GROUP+4, GROUP+7, SETFILT+2*, SETFILT+5
, SETREC+7
XTYP FAC~, DIV~, GRP~, GRP+3
Y DATE+14~, SDETFM+1~, SDETFM+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All