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

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

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

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
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call