Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: MMRSCRE

Package: Methicillin Resistant Staph Aurerus Initiative Reports

Routine: MMRSCRE


Information

MMRSCRE ;TCK - Print CRE Acute Care IPEC Report ; 3/22/17 3:02pm

Source Information

Source file <MMRSCRE.m>

Entry Points

Name Comments DBIA/ICR reference
MAIN ;
CHKPAR(ORG,Y,CHK) ;
CHECK(L) ;Check if parameters are setup
CHECK2 ;Check if lab tests and etiologies are setup
ERROR ;
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.
LOC ;Prompts user for division
DATE ;Prompts user for date range
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
END ;

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+7
Function Call: WRITE
  • Prompt: !!," >>> Make sure the Ward Mappings for each Geographical Unit has been setup.",!!
  • Line Location: CHECK3+5
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+3
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: SUMRPT+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^MMRS(104 - [#104] Classic Fileman Calls,  GET1^DIQ
104.109 GET1^DIQ
104.15 GET1^DIQ
^MMRS(104.2 - [#104.2] GET1^DIQ
^DG(40.8 - [#40.8] Classic Fileman Calls,  GET1^DIQ
^DIC(42 - [#42] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call