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

Package: Methicillin Resistant Staph Aurerus Initiative Reports

Routine: MMRSIPC


Information

MMRSIPC ;MIA/LMT - Print MRSA IPEC Report ;Oct 18, 2018@15:12

Source Information

Source file <MMRSIPC.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Methicillin Resistant Staph Aurerus Initiative Reports 3 GETMOVE^MMRSIPC2  GETLABS^MMRSIPC3  PRINT^MMRSIPC4  
VA FileMan 3 ^%DT  (,FIND)^DIC  ^DIR  
Kernel 2 ($$DT,$$FMADD)^XLFDT  EN^XUTMDEVQ  

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

Package Total Caller Graph
Methicillin Resistant Staph Aurerus Initiative Reports 7 MMRS MRSA IPEC REPORT  MMRSCDI  MMRSCDI2  MMRSIPC5  MMRSIPCP  MMRSISL  MMRSORD  

Entry Points

Name Comments DBIA/ICR reference
MAIN ;
CHECK ;Check if parameters are setup
CHECK2 ;Check if lab tests and etiologies are setup
CHECK3 ;Check if Ward Mappings have been setup for this division
MAIN2 ; Entry for queuing
CLEAN ;
GETDIV() ;Prompt user to select Division
PROMPT ;Prompts user for start date, end date, locations, and if user wants to only print the Summary Report.
DATE ;Prompts user for date range
LOC ;Prompts user for locations
SUMRPT ;Prompt user if should only run the summary report.
ASKDVC ;Prompts user for device of output (allows queuing)
GETPARAM ;(MDRO) ; Loads lab search/extract parameters from file 104.1
PATDAYS ;Gets 'PATIENT DAYS OF CARE'.
GETPATDY(WARD,SDT,EDT) ;Helper function for PATDAYS() - Gets Patient Days of care for specific ward
FY(DATE) ;Helper function for GETPATDY - Gets fiscal year for the specified date

External References

Name Field # of Occurrence
^%DT DATE+3, DATE+6
^DIC GETDIV+9, LOC+12, LOC+15
FIND^DIC CHECK2+18, GETPARAM+66
^DIR PROMPT+5, LOC+3, SUMRPT+6
GETMOVE^MMRSIPC2 MAIN2+4
GETLABS^MMRSIPC3 MAIN2+5
PRINT^MMRSIPC4 MAIN2+7
$$DT^XLFDT GETPATDY+11
$$FMADD^XLFDT GETPATDY+8, GETPATDY+11
EN^XUTMDEVQ ASKDVC+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: MAIN+4
Function Call: WRITE
  • Prompt: !
  • Line Location: MAIN+5
Function Call: WRITE
  • Prompt: !
  • Line Location: MAIN+8
Function Call: WRITE
  • Prompt: !!," >>> Make sure the Ward Mappings for each Geographical Unit has been setup.",!!
  • Line Location: CHECK3+4
Function Call: WRITE
  • Prompt: !
  • Line Location: DATE+3
Function Call: WRITE
  • Prompt: !!,"The ending date of the range must be later than the starting date."
  • Line Location: DATE+10
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+1
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+9
Function Call: WRITE
  • Prompt: !
  • Line Location: SUMRPT+2
Routine Call
  • DIC
  • Line Location:
    • GETDIV+9
    • LOC+12
    • LOC+15
Routine Call
  • DIC
  • Line Location:
    • CHECK2+18
    • GETPARAM+66
Routine Call
  • DIR
  • Line Location:
    • PROMPT+5
    • LOC+3
    • SUMRPT+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MMRS(104.3 - [#104.3] Classic Fileman Calls
^DG(40.8 - [#40.8] Classic Fileman Calls
^LAB(61.2 - [#61.2] FIND^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(41.9 - [#41.9] GETPATDY+10, GETPATDY+12
^LAB(60 - [#60] CHECK2+3, CHECK2+4, CHECK2+5, GETPARAM+6, GETPARAM+8, GETPARAM+16, GETPARAM+18, GETPARAM+23, GETPARAM+25, GETPARAM+33
GETPARAM+35
^MMRS(104 - [#104] CHECK+3, GETDIV+3, GETDIV+4, GETDIV+12
^MMRS(104.1 - [#104.1] GETPARAM+39, GETPARAM+40, GETPARAM+42, GETPARAM+43, GETPARAM+46, GETPARAM+53, GETPARAM+54, GETPARAM+56, GETPARAM+57, GETPARAM+59
GETPARAM+60, GETPARAM+63, GETPARAM+64, GETPARAM+65
^MMRS(104.2 - [#104.2] GETPARAM+3
^MMRS(104.3 - [#104.3] CHECK3+3, LOC+6, PATDAYS+7, PATDAYS+8, PATDAYS+16
^TMP($J CLEAN+1!, GETPARAM+10*, GETPARAM+11*, GETPARAM+13*, GETPARAM+14*, GETPARAM+20*, GETPARAM+21*, GETPARAM+27*, GETPARAM+28*, GETPARAM+30*
GETPARAM+31*, GETPARAM+37*, GETPARAM+38*, GETPARAM+46*, GETPARAM+55*, GETPARAM+58*, GETPARAM+62*, GETPARAM+65*, GETPARAM+71!, GETPARAM+72*
GETPARAM+73*, PATDAYS+17*, PATDAYS+18*

Label References

Name Line Occurrences
$$FY GETPATDY+3
$$GETDIV MAIN+6
$$GETPATDY PATDAYS+9, GETPATDY+3
ASKDVC MAIN+10
CHECK MAIN+2
CHECK2 MAIN+3
CHECK3 MAIN+7
CLEAN MAIN2+2, MAIN2+8
DATE DATE+10
GETPARAM MAIN2+3
PATDAYS MAIN2+6
PROMPT MAIN+9
SUMRPT LOC+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DATE+1~, DATE+3*
%DT("A" DATE+3*, DATE+6*
ANTI GETPARAM+2~, GETPARAM+63*, GETPARAM+64, GETPARAM+65
ANTIM GETPARAM+2~, GETPARAM+64*, GETPARAM+65
BACT GETPARAM+1~, GETPARAM+54*, GETPARAM+55, GETPARAM+57*, GETPARAM+58
BYADM MAIN+1~, MAIN2+6, PROMPT+7*, PROMPT+8*
COUNT GETDIV+1~, GETDIV+3*, GETDIV+4
DATE FY~, FY+1, FY+2
DIC GETDIV+1~, GETDIV+5*, GETDIV+9!, LOC+8~, LOC+12*, LOC+16!
DIC("A" GETDIV+7*, LOC+10*, LOC+15*
DIC("S" GETDIV+8*, LOC+11*
DIC(0 GETDIV+6*, LOC+12*
DIR PROMPT+2~, PROMPT+5!, LOC+3!, SUMRPT+6!
DIR("A" PROMPT+4*, LOC+2*, SUMRPT+4*
DIR("B" LOC+2*, SUMRPT+5*
DIR(0 PROMPT+3*, LOC+2*, SUMRPT+3*
DIRUT PROMPT+2~, PROMPT+6, LOC+4, SUMRPT+7
DIV GETDIV+1~, GETDIV+3*
DLAYGO GETDIV+1~, LOC+8~
DTOUT GETDIV+1~, GETDIV+10, LOC+8~, LOC+13, LOC+17
DUOUT GETDIV+1~, GETDIV+10, LOC+8~, LOC+13, LOC+17
EBACT GETPARAM+1~, GETPARAM+56*, GETPARAM+57, GETPARAM+58
ECUMPD GETPATDY+1~, GETPATDY+12*, GETPATDY+14
EDT PATDAYS+1~, PATDAYS+4*, PATDAYS+9, GETPATDY~, GETPATDY+2, GETPATDY+3, GETPATDY+11*, GETPATDY+12
ENDDT MAIN+1~, DATE+8*, DATE+9*, DATE+10, PATDAYS+4
ETIOL GETPARAM+2~, GETPARAM+59*, GETPARAM+60, GETPARAM+63, GETPARAM+64, GETPARAM+65
ETIOLOGY GETPARAM+2~, GETPARAM+60*, GETPARAM+61, GETPARAM+62, GETPARAM+65
ETIONAME CHECK2+1~, CHECK2+20*, CHECK2+22, GETPARAM+2~, GETPARAM+68*, GETPARAM+70
ETOP GETPARAM+1~
EXTFLG MAIN+1~, MAIN+4, MAIN+6, MAIN+8, MAIN+9, MAIN+10, CHECK+7*, CHECK2+7*, CHECK2+24*, CHECK3+4*
, GETDIV+10*, PROMPT+6*, DATE+4*, DATE+7*, LOC+4*, LOC+13*, LOC+17*, SUMRPT+7*
IBACT GETPARAM+1~, GETPARAM+53*, GETPARAM+54, GETPARAM+55
IEN GETPARAM+1~, GETPARAM+39*, GETPARAM+40, GETPARAM+42, GETPARAM+43, GETPARAM+46, GETPARAM+53, GETPARAM+54, GETPARAM+56, GETPARAM+57
GETPARAM+59, GETPARAM+60, GETPARAM+63, GETPARAM+64, GETPARAM+65
INC GETPARAM+2~, GETPARAM+4*, GETPARAM+9*, GETPARAM+10, GETPARAM+11, GETPARAM+12*, GETPARAM+13, GETPARAM+14, GETPARAM+19*, GETPARAM+20
GETPARAM+21, GETPARAM+26*, GETPARAM+27, GETPARAM+28, GETPARAM+29*, GETPARAM+30, GETPARAM+31, GETPARAM+36*, GETPARAM+37, GETPARAM+38
GETPARAM+45*, GETPARAM+46
ITOP GETPARAM+1~
LOC PATDAYS+1~, PATDAYS+5*, PATDAYS+7, PATDAYS+8, PATDAYS+16
LOCNAME PATDAYS+1~, PATDAYS+16*, PATDAYS+17
MDRO GETPARAM+1~, GETPARAM+40*, GETPARAM+41, GETPARAM+46, GETPARAM+55, GETPARAM+58, GETPARAM+62, GETPARAM+65
MMRSDIV MAIN+1~, MAIN+6*, CHECK+1~, CHECK+3*, CHECK3+3, GETDIV+1~, GETDIV+2*, GETDIV+4*, GETDIV+11*, GETDIV+12*
, GETDIV+13, LOC+6, LOC+11, GETPARAM+39
MMRSET CHECK2+1~, GETPARAM+2~
MMRSET("DILIST" CHECK2+19, CHECK2+20, CHECK2+21, GETPARAM+67, GETPARAM+68, GETPARAM+69
MMRSI CHECK2+1~, CHECK2+19*, CHECK2+20, CHECK2+21, GETPARAM+2~, GETPARAM+67*, GETPARAM+68, GETPARAM+69
MMRSLOC MAIN+1~, CHECK3+1~, CHECK3+3*
MMRSLOC( LOC+6*, LOC+14*, LOC+15*, PATDAYS+5
MMRSSUM MAIN+11!, SUMRPT+1
MMRSVAR ASKDVC+1~, ASKDVC+5
MMRSVAR("BYADM" ASKDVC+4*
MMRSVAR("ENDDT" ASKDVC+3*
MMRSVAR("MMRSDIV" ASKDVC+4*
MMRSVAR("MMRSLOC(" ASKDVC+3*
MMRSVAR("PRTSUM" ASKDVC+4*
MMRSVAR("STRTDT" ASKDVC+3*
MRSAETIO CHECK2+1~, CHECK2+13*, CHECK2+22*, CHECK2+23
MRSAMDRO GETPARAM+1~, GETPARAM+3*, GETPARAM+11, GETPARAM+14, GETPARAM+21, GETPARAM+28, GETPARAM+31, GETPARAM+38, GETPARAM+71, GETPARAM+73
MRSASTAP CHECK2+1~, GETPARAM+2~
NUMDIV MAIN+1~, CHECK+1~, CHECK+2*, CHECK+3*, CHECK+4
NUMLOC CHECK3+1~, CHECK3+2*, CHECK3+3*, CHECK3+4
ODOBS MAIN2+1~
ODOBS( PATDAYS+14
ORG CHECK2+1~, CHECK2+21*, CHECK2+22, GETPARAM+2~, GETPARAM+69*, GETPARAM+71, GETPARAM+72, GETPARAM+73
PATDAYS PATDAYS+1~, PATDAYS+9*, PATDAYS+14*, PATDAYS+15
PRMPTTXT PROMPT+2~, PROMPT+7*, PROMPT+8*, DATE+3, DATE+6
PRTSUM MAIN+1~, SUMRPT+1*, SUMRPT+8*, ASKDVC+2
RSLT PATDAYS+1~, PATDAYS+6*, PATDAYS+15*, PATDAYS+17
SCUMPD GETPATDY+1~, GETPATDY+10*, GETPATDY+13*, GETPATDY+14
SDT PATDAYS+1~, PATDAYS+3*, PATDAYS+9, GETPATDY~, GETPATDY+2, GETPATDY+3, GETPATDY+8*, GETPATDY+10, GETPATDY+13
STRTDT MAIN+1~, DATE+5*, DATE+10, PATDAYS+3
TEST GETPARAM+1~, GETPARAM+43*, GETPARAM+44, GETPARAM+46
TIEN GETPARAM+1~, GETPARAM+42*, GETPARAM+43, GETPARAM+46
TOP GETPARAM+1~
TST GETPARAM+1~, GETPARAM+8*, GETPARAM+10, GETPARAM+11, GETPARAM+13, GETPARAM+14, GETPARAM+18*, GETPARAM+20, GETPARAM+21, GETPARAM+25*
GETPARAM+27, GETPARAM+28, GETPARAM+30, GETPARAM+31, GETPARAM+35*, GETPARAM+37, GETPARAM+38
TSTNM GETPARAM+1~, GETPARAM+5*, GETPARAM+6*, GETPARAM+7, GETPARAM+8, GETPARAM+15*, GETPARAM+16*, GETPARAM+17, GETPARAM+18, GETPARAM+22*
GETPARAM+23*, GETPARAM+24, GETPARAM+25, GETPARAM+32*, GETPARAM+33*, GETPARAM+34, GETPARAM+35
TSTSTP CHECK2+1~, CHECK2+2*, CHECK2+3*, CHECK2+4*, CHECK2+5*, CHECK2+6
TTLRSLT PATDAYS+1~, PATDAYS+2*, PATDAYS+15*, PATDAYS+18
U CHECK2+20, CHECK2+21, CHECK3+3, LOC+6, GETPARAM+40, GETPARAM+43, GETPARAM+46, GETPARAM+64, GETPARAM+68, GETPARAM+69
PATDAYS+8, PATDAYS+16, PATDAYS+17, PATDAYS+18, GETPATDY+10, GETPATDY+12
WARD PATDAYS+1~, PATDAYS+8*, PATDAYS+9, PATDAYS+14, GETPATDY~, GETPATDY+3, GETPATDY+10, GETPATDY+12
WLOC PATDAYS+1~, PATDAYS+7*, PATDAYS+8
X GETDIV+1~, DATE+1~
Y GETDIV+1~, GETDIV+10, GETDIV+11, PROMPT+2~, PROMPT+7, PROMPT+8, DATE+2!, DATE+4, DATE+5, DATE+7
DATE+8, DATE+9, LOC+5, LOC+6*, LOC+13, LOC+14, LOC+15, SUMRPT+8
ZTSK ASKDVC+1~, ASKDVC+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All