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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: BUD8RP7T

Package: IHS Uniform Data System

Routine: BUD8RP7T


Information

BUD8RP7T ; IHS/CMI/LAB - UDS REPORT DRIVER TABLE 6B ;

Source Information

Source file <BUD8RP7T.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
IHS Patient 1 ($$AGE,$$HRN)^AUPNPAT  
IHS Uniform Data System 1 $$RACE^BUD8RPTC  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Kernel 1 $$FMTE^XLFDT  
Patient Care Component Reports 1 ($$CLINIC,$$PRIMPROV)^APCLV  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
IHS Uniform Data System 2 BUD8RP7  BUD8RP71  

Entry Points

Name Comments DBIA/ICR reference
PAUSE ;
DMR3 ;EP
LOC() ;EP - Return location name from file 4 based on DUZ(2).
CTR(X,Y) ;EP - Center X in a field Y wide.
DMR3L ;EP
DMR3H ;
DMR3H1 ;
DMR3L2 ;
USR() ;EP - Return name of current user from ^VA(200.
DMR3L1 ;
GENI ;general introductions
DMR3LX ;

External References

Name Field # of Occurrence
$$CLINIC^APCLV DMR3L2+17
$$PRIMPROV^APCLV DMR3L2+17
$$AGE^AUPNPAT DMR3L2+8
$$HRN^AUPNPAT DMR3L2+7
$$RACE^BUD8RPTC DMR3L2+8
^DIR PAUSE+1, GENI+4, DMR3H+2
$$VAL^XBDIQ1 DMR3L2+17
$$FMTE^XLFDT DMR3L2+17, DMR3H1+3, DMR3H1+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"NOTE: Patient lists may be hundreds of pages long, depending on the size of your"
  • Line Location: GENI+1
Function Call: WRITE
  • Prompt: !,"patient population. It is recommended that you run these reports at night and"
  • Line Location: GENI+2
Function Call: WRITE
  • Prompt: !,"print to an electronic file, not directly to a printer.",!
  • Line Location: GENI+3
Function Call: WRITE
  • Prompt: !!,"This Patient List option documents the individual patients and encounters"
  • Line Location: GENI+5
Function Call: WRITE
  • Prompt: !,"(visits) that are counted and summarized on each Table report (main menu"
  • Line Location: GENI+6
Function Call: WRITE
  • Prompt: !,"option REP). The summary Table report is included at the beginning of each"
  • Line Location: GENI+7
Function Call: WRITE
  • Prompt: !,"List report."
  • Line Location: GENI+8
Function Call: WRITE
  • Prompt: !,"UDS searches your database to find all visits (encounters) and related patients"
  • Line Location: GENI+9
Function Call: WRITE
  • Prompt: !,"during the time period selected. Based on the UDS definition, to be counted"
  • Line Location: GENI+10
Function Call: WRITE
  • Prompt: !,"as a patient, the patient must have had at least one visit meeting the "
  • Line Location: GENI+11
Function Call: WRITE
  • Prompt: !,"following criteria:"
  • Line Location: GENI+12
Function Call: WRITE
  • Prompt: !?4,"- must be to a location specified in your visit location setup"
  • Line Location: GENI+13
Function Call: WRITE
  • Prompt: !?4,"- must be to Service Category Ambulatory (A), Hospitalization (H), Day"
  • Line Location: GENI+14
Function Call: WRITE
  • Prompt: !?6,"Surgery (S), Observation (O), Nursing home visit (R), "
  • Line Location: GENI+15
Function Call: WRITE
  • Prompt: !?6,"or In-Hospital (I) visit"
  • Line Location: GENI+16
Function Call: WRITE
  • Prompt: !?4,"- must NOT have an excluded clinic code (see User Manual for a list)"
  • Line Location: GENI+17
Function Call: WRITE
  • Prompt: !?4,"- must have a primary provider and a coded purpose of visit"
  • Line Location: GENI+18
Function Call: WRITE
  • Prompt: !
  • Line Location: GENI+19
Function Call: WRITE
  • Prompt: !,$$CTR($$LOC,80)
  • Line Location: DMR3+2
Function Call: WRITE
  • Prompt: !,$$CTR("UDS 2008",80)
  • Line Location: DMR3+3
Function Call: WRITE
  • Prompt: !!,"All Patients w/DM and A1c >9 by Race (Table 7)",!
  • Line Location: DMR3+4
Function Call: WRITE
  • Prompt: !!,"This report provides a list by race of patients age 18 and older who"
  • Line Location: DMR3+7
Function Call: WRITE
  • Prompt: !,"have had two medical visits during the report period, with a diagnosis"
  • Line Location: DMR3+8
Function Call: WRITE
  • Prompt: !,"of Type I or Type II diabetes anytime through the end of the report"
  • Line Location: DMR3+9
Function Call: WRITE
  • Prompt: !,"period, and without a diagnosis of polycystic ovaries, gestational diabetes,"
  • Line Location: DMR3+10
Function Call: WRITE
  • Prompt: !,"or steroid-induced diabetes and with a most recent hemoglobin A1c greater"
  • Line Location: DMR3+11
Function Call: WRITE
  • Prompt: !,"than 9%, or with an A1c with no result, or with no A1c test during the"
  • Line Location: DMR3+12
Function Call: WRITE
  • Prompt: !,"report period."
  • Line Location: DMR3+13
Function Call: WRITE
  • Prompt: !
  • Line Location: DMR3+14
Function Call: WRITE
  • Prompt: !!,"No patients to report."
  • Line Location: DMR3L+3
Function Call: WRITE
  • Prompt: !!,"TOTAL DM PATIENTS 18+ W/A1C >9% BY RACE: ",BUDTOT,!
  • Line Location: DMR3L+6
Function Call: WRITE
  • Prompt: !,BUDRACE
  • Line Location: DMR3L2+2
Function Call: WRITE
  • Prompt: !,BUDRACE,!
  • Line Location: DMR3L2+6
Function Call: WRITE
  • Prompt: !,BUDRACE,!
  • Line Location: DMR3L2+14
Function Call: WRITE
  • Prompt: ?5,BUDV,!
  • Line Location: DMR3L2+15
Function Call: WRITE
  • Prompt: !,BUDRACE,!
  • Line Location: DMR3L2+18
Function Call: WRITE
  • Prompt: !,"Sub-Total ",BUDRACE,": ",BUDSTOT,!
  • Line Location: DMR3L2+19
Function Call: WRITE
  • Prompt: !
  • Line Location: DMR3H+2
Function Call: WRITE
  • Prompt: !,"***** CONFIDENTIAL PATIENT INFORMATION, COVERED BY THE PRIVACY ACT *****"
  • Line Location: DMR3H1+2
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",BUDGPG,!
  • Line Location: DMR3H1+3
Function Call: WRITE
  • Prompt: !,$$CTR("*** RPMS Uniform Data System (UDS) ***",80)
  • Line Location: DMR3H1+4
Function Call: WRITE
  • Prompt: !,$$CTR("Patient List for Table 7, Section C, DM w/A1c >9 by Race",80),!
  • Line Location: DMR3H1+5
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,BUDSITE,0),U),80),!
  • Line Location: DMR3H1+6
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: DMR3H1+7
Function Call: WRITE
  • Prompt: $TR($J("",80)," ","-")
  • Line Location: DMR3H1+8
Function Call: WRITE
  • Prompt: !?2,"PATIENT NAME",?24,"HRN",?36,"COMMUNITY",?47,"SEX",?51,"AGE",?55,"RACE*"
  • Line Location: DMR3H1+19
Function Call: WRITE
  • Prompt: !?5,"LAST A1C VALUE OR CD & DATE"
  • Line Location: DMR3H1+20
Function Call: WRITE
  • Prompt: !?5,"LAST DM DATE",?19,"DX OR SRV CD",?35,"PROV TYPE",?45,"SRV CAT",?53,"CLINIC",?65,"LOCATION"
  • Line Location: DMR3H1+21
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-"),!
  • Line Location: DMR3H1+22
Routine Call
  • DIR
  • Line Location:
    • PAUSE+1
    • GENI+4
    • DMR3H+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] DMR3L2+17
^DIC(4 - [#4] LOC+1, DMR3H1+6
^DPT - [#2] DMR3L2+7, DMR3L2+8
^VA(200 - [#200] USR+1, DMR3H1+3
^XTMP("BUD8RP7" DMR3L+3, DMR3L1+3, DMR3L2+3, DMR3L2+4, DMR3L2+5, DMR3L2+10

Label References

Name Line Occurrences
$$CTR DMR3+2, DMR3+3, DMR3H1+4, DMR3H1+5, DMR3H1+6, DMR3H1+7
$$LOC DMR3+2
DMR3H DMR3L+2, DMR3L+5, DMR3L1+1, DMR3L2+6, DMR3L2+14, DMR3L2+18
DMR3H1 DMR3H+1
DMR3L1 DMR3L+4
DMR3L2 DMR3L1+3
DMR3LX DMR3L+5
GENI DMR3+5
PAUSE DMR3+6

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BUDALL DMR3L2+10*, DMR3L2+11, DMR3L2+12
>> BUDBD DMR3H1+7
>> BUDCOM DMR3L2+4*, DMR3L2+5, DMR3L2+8, DMR3L2+10
>> BUDED DMR3L2+8, DMR3H1+7
>> BUDGPG DMR3H+1, DMR3H1+1*, DMR3H1+3
>> BUDH DMR3L+3, DMR3L1+3, DMR3L2+3, DMR3L2+4, DMR3L2+5, DMR3L2+10
>> BUDJ DMR3L+3, DMR3L1+3, DMR3L2+3, DMR3L2+4, DMR3L2+5, DMR3L2+10
>> BUDNAME DMR3L2+3*, DMR3L2+4, DMR3L2+5, DMR3L2+10
>> BUDP DMR3L+1*, DMR3H1+9, DMR3H1+23*
>> BUDPPV DMR3L2+12*, DMR3L2+13
>> BUDQUIT DMR3L+1*, DMR3L+2, DMR3L+5, DMR3L1+1, DMR3L1+3, DMR3L2+3, DMR3L2+4, DMR3L2+5, DMR3L2+6, DMR3L2+13
, DMR3L2+14, DMR3L2+18, DMR3H+2*
>> BUDRACE DMR3L1+3*, DMR3L2+2, DMR3L2+3, DMR3L2+4, DMR3L2+5, DMR3L2+6, DMR3L2+10, DMR3L2+14, DMR3L2+18, DMR3L2+19
>> BUDSITE DMR3L2+7, DMR3H1+6
>> BUDSTOT DMR3L2+1*, DMR3L2+9*, DMR3L2+19
>> BUDTOT DMR3L+1*, DMR3L+6, DMR3L1+2*, DMR3L2+9*
>> BUDV DMR3L2+13*, DMR3L2+15, DMR3L2+16
>> BUDX DMR3L2+13*
>> C DMR3L2+16*, DMR3L2+17
DA PAUSE+1!
>> DFN DMR3L2+5*, DMR3L2+7, DMR3L2+8, DMR3L2+10
DIR PAUSE+1!, GENI+4!, DMR3H+2!
DIR("A" PAUSE+1*, GENI+4*
DIR(0 PAUSE+1*, GENI+4*, DMR3H+2*
DT DMR3H1+3
>> DTOUT DMR3H+2
DUZ USR+1, DMR3H1+3
DUZ(2 LOC+1, DMR3L2+7
IO DMR3H+2
IO(0 DMR3H+2
IOF DMR3+1, DMR3H1+1
IOM CTR+1
IOSL DMR3L+5, DMR3L1+1, DMR3L2+6, DMR3L2+14, DMR3L2+18
IOST DMR3H+2
U USR+1, LOC+1, DMR3L2+7, DMR3L2+8, DMR3L2+11, DMR3L2+13, DMR3L2+17, DMR3H1+3, DMR3H1+6
>> V DMR3L2+16*, DMR3L2+17
X CTR~, CTR+1, DMR3H1+7*
Y CTR~, CTR+1, DMR3H+2
>> ZTQUEUED DMR3H+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All