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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: BUD0RPT1

Package: IHS Uniform Data System

Routine: BUD0RPT1


Information

BUD0RPT1 ; IHS/CMI/LAB - UDS REPORT DRIVER 12 Dec 2010 8:11 AM ;

Source Information

Source file <BUD0RPT1.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
IHS Uniform Data System 5 PRENATT^BUD0RP6B  (PAUSE,PRENATT)^BUD0RP7  PROC^BUD0RPTC  PRINT^BUD0RPTP  TAXCHK^BUD0XTCH  
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  $$FMTE^XLFDT  
VA Fileman 2 ^DIC  ^DIR  
IHS VA Utilities 1 EN^XBVK  

Entry Points

Name Comments DBIA/ICR reference
T3AI ;intro for table 3A
USR() ;EP - Return name of current user from ^VA(200.
T6I ;intro for table 6
TSKMN ;EP ENTRY POINT FROM TASKMAN
TZ ;EP - entry point for Table 3A only
LOC() ;EP - Return location name from file 4 based on DUZ(2).
T51 ;EP
EN1 ;
T51I ;
EOJ ;
T3BI ;
EN ;EP
ZIS ;call to XBDBQUE
T6 ;EP - entry point for Table 6A only
DRIVER ;
T5 ;EP
M ;EP - called from option
T5I ;
YEAR ;
QUARTER ;
CTR(X,Y) ;EP - Center X in a field Y wide.
ZIS1 ;
T3B ;EP
T3A ;EP - entry point for Table 3A only
NRY ;
GENI ;general introductions
TZAI ;intro for table Z
PNC ;

External References

Name Field # of Occurrence
^%ZIS ZIS+2
^%ZISC DRIVER+4
^%ZTLOAD TSKMN+5
PRENATT^BUD0RP6B EN1+1
PAUSE^BUD0RP7 GENI+19
PRENATT^BUD0RP7 EN1+2
PROC^BUD0RPTC DRIVER+1
PRINT^BUD0RPTP DRIVER+3
TAXCHK^BUD0XTCH EN1+9
^DIC EN1+5
^DIR M+15, PNC+2, QUARTER+9, YEAR+7
EN^XBVK EOJ+1
$$FMTE^XLFDT QUARTER+17

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Table 6B:"
  • Line Location: EN1+1
Function Call: WRITE
  • Prompt: !,"Table 7:"
  • Line Location: EN1+2
Function Call: WRITE
  • Prompt: !!,"Warning: There are no locations defined in the site parameter file for this",!,"site. Report will not be accurate!"
  • Line Location: EN1+8
Function Call: WRITE
  • Prompt: !!,"Year not entered.",!
  • Line Location: EN1+11
Function Call: WRITE
  • Prompt: !,"Time period not entered."
  • Line Location: EN1+13
Function Call: WRITE
  • Prompt: !!
  • Line Location: ZIS+2
Function Call: WRITE
  • Prompt: !!,"UDS Table Selection"
  • Line Location: M+5
Function Call: WRITE
  • Prompt: !!?5,"1 Patients by Zip Code"
  • Line Location: M+6
Function Call: WRITE
  • Prompt: !?5,"2 Table 3A: Patients by Age and Gender"
  • Line Location: M+7
Function Call: WRITE
  • Prompt: !?5,"3 Table 3B: Patients by Hispanic or Latino Identity/Race/Language"
  • Line Location: M+8
Function Call: WRITE
  • Prompt: !?5,"4 Table 5 (a): Staffing List only (column A)"
  • Line Location: M+9
Function Call: WRITE
  • Prompt: !?5,"5 Table 5 (b&c): Staffing and Utilization (cols b&c)"
  • Line Location: M+10
Function Call: WRITE
  • Prompt: !?5,"6 Table 6A: Selected Diagnoses and Services Rendered"
  • Line Location: M+11
Function Call: WRITE
  • Prompt: !?5,"7 Table 6B: Quality of Care Indicators"
  • Line Location: M+12
Function Call: WRITE
  • Prompt: !?5,"8 Table 7: Health Outcomes and Disparities"
  • Line Location: M+13
Function Call: WRITE
  • Prompt: !?5,"9 Multiple/ALL Tables Zip through 7"
  • Line Location: M+14
Function Call: WRITE
  • Prompt: !!,"Patients by Zip Code"
  • Line Location: TZAI+1
Function Call: WRITE
  • Prompt: !,"The Patients by Zip Code table reports the number of users by"
  • Line Location: TZAI+2
Function Call: WRITE
  • Prompt: !,"their zip code as entered in patient registration."
  • Line Location: TZAI+3
Function Call: WRITE
  • Prompt: !!,"TABLE 3A: USERS BY AGE AND GENDER"
  • Line Location: T3AI+1
Function Call: WRITE
  • Prompt: !,"This report will produce UDS Table 3A, an itemization of users (patients) by age"
  • Line Location: T3AI+2
Function Call: WRITE
  • Prompt: !,"and gender. Users must have at least one visit during the selected time period."
  • Line Location: T3AI+3
Function Call: WRITE
  • Prompt: !,"as defined above. Age is calculated as of June 30th of the year you select.",!
  • Line Location: T3AI+4
Function Call: WRITE
  • Prompt: !!,"TABLE 3B: USERS BY HISPANIC OR LATINO IDENTITY/RACE/LANGUAGE"
  • Line Location: T3BI+1
Function Call: WRITE
  • Prompt: !,"This report will produce UDS Table 3B, an itemization of users",!,"by Hispanic or Latino Identity/Race/Language."
  • Line Location: T3BI+2
Function Call: WRITE
  • Prompt: !!,"TABLE 5 (b&c): STAFFING AND UTILIZATION"
  • Line Location: T5I+1
Function Call: WRITE
  • Prompt: !,"This report will produce UDS Table 5 that itemizes visits and patients",!,"(columns b and c only) by primary provider discipline."
  • Line Location: T5I+2
Function Call: WRITE
  • Prompt: !!,"STAFF LIST FOR TABLE 5 col a: STAFFING"
  • Line Location: T51I+1
Function Call: WRITE
  • Prompt: !,"This report will produce a Staff List to be used to manually calculate",!,"Column A on Table 5 Staffing and Utilization, itemizing all staff by"
  • Line Location: T51I+2
Function Call: WRITE
  • Prompt: !,"disciplines and by FTE."
  • Line Location: T51I+3
Function Call: WRITE
  • Prompt: !!,"TABLE 6A: SELECTED DIAGNOSES AND SERVICES RENDERED"
  • Line Location: T6I+1
Function Call: WRITE
  • Prompt: !,"This report will produce UDS Table 6A which itemizes visits",!,"and patients by selected diagnoses and services provided.",!
  • Line Location: T6I+2
Function Call: WRITE
  • Prompt: !!,"Your report will be run for the time period: ",$$FMTE^XLFDT(BUDBD)," to ",$$FMTE^XLFDT(BUDED)
  • Line Location: QUARTER+17
Function Call: WRITE
  • Prompt: !
  • Line Location: YEAR+2
Function Call: WRITE
  • Prompt: !,"Enter the Calendar Year. Use a 4 digit year, e.g. 2003, 2007"
  • Line Location: YEAR+3
Function Call: WRITE
  • Prompt: !!,"Please enter a year only!",!
  • Line Location: YEAR+11
Function Call: WRITE
  • Prompt: !!,$$CTR($$LOC,80),!,$$CTR("UDS 2010",80),!
  • Line Location: GENI+2
Function Call: WRITE
  • Prompt: !,"UDS searches your database to find all visits and related patients"
  • Line Location: GENI+3
Function Call: WRITE
  • Prompt: !,"during the time period selected. Based on the UDS definition, to be considered"
  • Line Location: GENI+4
Function Call: WRITE
  • Prompt: !,"a patient the patient must have had at least one visit meeting the following"
  • Line Location: GENI+5
Function Call: WRITE
  • Prompt: !,"criteria:"
  • Line Location: GENI+6
Function Call: WRITE
  • Prompt: !?4,"- must be to a location specified in your visit location setup"
  • Line Location: GENI+7
Function Call: WRITE
  • Prompt: !?4,"- must be to Service Category Ambulatory (A), Hospitalization (H), Day"
  • Line Location: GENI+8
Function Call: WRITE
  • Prompt: !?6,"Surgery (S), Observation (O), Telemedicine (M), Nursing home visit (R), "
  • Line Location: GENI+9
Function Call: WRITE
  • Prompt: !?6,"or In-Hospital (I) visit"
  • Line Location: GENI+10
Function Call: WRITE
  • Prompt: !?4,"- must NOT have an excluded clinic code (see User Manual for a list)"
  • Line Location: GENI+11
Function Call: WRITE
  • Prompt: !?4,"- must have a primary provider and a coded purpose of visit"
  • Line Location: GENI+12
Function Call: WRITE
  • Prompt: !
  • Line Location: GENI+14
Function Call: WRITE
  • Prompt: !,"NOTE: Tables 6B and 7 must be run using the Full Calendar Year option."
  • Line Location: GENI+15
Function Call: WRITE
  • Prompt: !,"If these reports are run using the Quarterly options, the totals combined"
  • Line Location: GENI+16
Function Call: WRITE
  • Prompt: !,"will not match the yearly totals."
  • Line Location: GENI+17
Function Call: WRITE
  • Prompt: !
  • Line Location: GENI+18
Function Call: WRITE
  • Prompt: !!,"not developed yet....."
  • Line Location: NRY+1
Routine Call
  • DIC
  • Line Location:
    • EN1+5
Routine Call
  • DIR
  • Line Location:
    • M+15
    • PNC+2
    • QUARTER+9
    • YEAR+7
Routine Call
  • %ZIS
  • Line Location:
    • ZIS+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BUDTSITE - [#90662.1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BUDTSITE - [#90662.1] EN1+8
^DIC(4 - [#4] LOC+1
^VA(200 - [#200] USR+1

Label References

Name Line Occurrences
$$CTR GENI+2
$$LOC GENI+2
EN EN1+8
EN1 M+26, T3A+5, TZ+5, T3B+5, T5+5, T51+5, T6+5
EOJ EN1+3, EN1+6, EN1+11, EN1+13, ZIS+3, DRIVER+6, TSKMN+5, M+1, M+16, T3A+1
, TZ+1, T3B+1, T5+1, T51+1, T6+1
GENI M+3, T3A+3, TZ+3, T3B+3, T5+3, T51+3, T6+3
PNC EN1+3
QUARTER EN1+12
T3AI T3A+4
T3BI T3B+4
T51I T51+4
T5I T5+4
T6I T6+4
TSKMN ZIS1+1
TZAI TZ+4
YEAR EN1+10, YEAR+11

Naked Globals

Name Field # of Occurrence
^(0 USR+1, LOC+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS ZIS+1!, ZIS+2*
>> BUDBD QUARTER+12*, QUARTER+13*, QUARTER+14*, QUARTER+15*, QUARTER+16*, QUARTER+17, YEAR+12*
>> BUDCAD YEAR+13*
>> BUDED QUARTER+12*, QUARTER+13*, QUARTER+14*, QUARTER+15*, QUARTER+16*, QUARTER+17, YEAR+12*
>> BUDPREN EN1+3, PNC+1*, PNC+4*
>> BUDQTR EN1+13, QUARTER+1*, QUARTER+11*
>> BUDQUIT QUARTER+10*
>> BUDSITE EN1+4*, EN1+7*, EN1+8
BUDT3A M+4!, M+17*, M+18*, T3A+2*
BUDT3B M+4!, M+17*, M+19*, T3B+2*
BUDT4 M+4!, M+17*
BUDT5 M+4!, M+17*, M+20*, M+21*, T5+2*, T51+2*
BUDT5L1 M+4!, M+17*, M+20*, T51+2*
BUDT6 M+4!, M+17*, M+22*, T6+2*
BUDT6B EN1+1, EN1+3, M+4!, M+17*, M+24*
BUDT7 EN1+2, EN1+3, M+4!, M+17*, M+25*
BUDTZ M+4!, M+17*, M+23*, TZ+2*
>> BUDXXXXX M+2*, GENI+13
>> BUDYEAR EN1+11, QUARTER+12, QUARTER+13, QUARTER+14, QUARTER+15, QUARTER+16, YEAR+1*, YEAR+12*, YEAR+13
DA M+15!, PNC+2!, QUARTER+9!
DIC EN1+5*, YEAR+8!
DIC("A" EN1+5*
DIC(0 EN1+5*
DIR M+15!, PNC+2!, QUARTER+9!, YEAR+7!
DIR("?" QUARTER+2*, QUARTER+3*, QUARTER+4*, QUARTER+5*, QUARTER+6*, QUARTER+7*, YEAR+6*
DIR("A" M+15*, PNC+2*, QUARTER+9*, YEAR+5*
DIR("B" M+15*, PNC+2*, QUARTER+9*
DIR(0 M+15*, PNC+2*, QUARTER+8*, YEAR+4*
>> DIRUT M+16, PNC+3, QUARTER+10, YEAR+9*, YEAR+10
>> DUOUT YEAR+9
DUZ USR+1
DUZ(2 LOC+1
IO DRIVER+2, TSKMN+1
IO("DOC" TSKMN+2
IO("Q" ZIS1+1
>> IOCPU TSKMN+5
IOF GENI+1
IOM TSKMN+3, CTR+1
ION TSKMN+1
IOP ZIS+1!
IOSL TSKMN+3
IOST TSKMN+1
>> POP ZIS+3
U USR+1, LOC+1
X CTR~, CTR+1
Y EN1+6, EN1+7, M+17, M+18, M+19, M+20, M+21, M+22, M+23, M+24
, M+25, PNC+4, QUARTER+10, QUARTER+11, QUARTER+12, QUARTER+13, QUARTER+14, QUARTER+15, QUARTER+16, YEAR+11
, YEAR+12, CTR~, CTR+1
>> ZTCPU TSKMN+5*
>> ZTDESC TSKMN+5*
>> ZTDTH TSKMN+5*
>> ZTIO TSKMN+1*, TSKMN+2*, TSKMN+3*
>> ZTQUEUED DRIVER+5
>> ZTREQ DRIVER+5*
>> ZTRTN TSKMN+5*
ZTSAVE TSKMN+4!
ZTSAVE("BUD*" TSKMN+4*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All