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

Package: IHS Uniform Data System

Routine: BUDCRP7T


Information

BUDCRP7T ; IHS/CMI/LAB - UDS REPORT DRIVER TABLE 7 ;

Source Information

Source file <BUDCRP7T.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
IHS Uniform Data System 2 $$RACEL^BUDCRP7I  ($$HISP,$$RACE)^BUDCRPTC  
IHS Patient 1 $$HRN^AUPNPAT  
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 BUDCRP7  BUDCRP71  

Entry Points

Name Comments DBIA/ICR reference
S(V) ;
PAUSE ;
DMR2HD ;
DMR2 ;EP
LOC() ;EP - Return location name from file 4 based on DUZ(2).
CTR(X,Y) ;EP - Center X in a field Y wide.
DMR2L ;EP
DMR2H ;
USR() ;EP - Return name of current user from ^VA(200.
DMR2LX ;
DMR2H1 ;
GENI ;general introductions
DMR2L2 ;
DMR2L1 ;

External References

Name Field # of Occurrence
$$CLINIC^APCLV DMR2L2+28, DMR2L2+29
$$PRIMPROV^APCLV DMR2L2+28, DMR2L2+29
$$HRN^AUPNPAT DMR2L2+10, DMR2L2+11
$$RACEL^BUDCRP7I DMR2L2+2
$$HISP^BUDCRPTC DMR2L2+16
$$RACE^BUDCRPTC DMR2L2+13
^DIR PAUSE+1, GENI+4, DMR2H+3
$$VAL^XBDIQ1 DMR2L2+28, DMR2L2+29
$$FMTE^XLFDT DMR2L2+28, DMR2L2+29, DMR2H1+3, DMR2H1+8, DMR2HD+2, DMR2HD+6

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 visits"
  • Line Location: GENI+5
Function Call: WRITE
  • Prompt: !,"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 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), Telemedicine (M), 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: !?4,"- the patient must NOT have a gender of 'Unknown'"
  • Line Location: GENI+19
Function Call: WRITE
  • Prompt: !
  • Line Location: GENI+20
Function Call: WRITE
  • Prompt: !,$$CTR($$LOC,80)
  • Line Location: DMR2+2
Function Call: WRITE
  • Prompt: !,$$CTR("UDS 2015",80)
  • Line Location: DMR2+3
Function Call: WRITE
  • Prompt: !!,"All Patients w/DM and A1c >9 by Race and Hispanic or Latino Identity (Table 7)",!
  • Line Location: DMR2+4
Function Call: WRITE
  • Prompt: !!,"This report provides a list by race and Hispanic or Latino Identity of "
  • Line Location: DMR2+7
Function Call: WRITE
  • Prompt: !,"patients age 18 to 75 years old who have had two medical visits during"
  • Line Location: DMR2+8
Function Call: WRITE
  • Prompt: !,"the report period, with a diagnosis of Type I or Type II diabetes anytime"
  • Line Location: DMR2+9
Function Call: WRITE
  • Prompt: !,"through the end of the report period, and without a diagnosis of "
  • Line Location: DMR2+10
Function Call: WRITE
  • Prompt: !,"polycystic ovaries, gestational diabetes, or steroid-induced diabetes"
  • Line Location: DMR2+11
Function Call: WRITE
  • Prompt: !,"and with a most recent hemoglobin A1c greater than 9%, or with an A1c"
  • Line Location: DMR2+12
Function Call: WRITE
  • Prompt: !,"with no result, or with no A1c test during the report period."
  • Line Location: DMR2+13
Function Call: WRITE
  • Prompt: !
  • Line Location: DMR2+14
Function Call: WRITE
  • Prompt: !!,"TOTAL DIABETES PATIENTS 18-75 W/A1C >9% BY RACE AND HISPANIC ",!,"OR LATINO IDENTITY: ",BUDTOT,!
  • Line Location: DMR2L+6
Function Call: WRITE
  • Prompt: !,BUDRACEL
  • Line Location: DMR2L2+3
Function Call: WRITE
  • Prompt: !,BUDRACEL,!
  • Line Location: DMR2L2+9
Function Call: WRITE
  • Prompt: !?2,$E($P(^DPT(DFN,0),U,1),1,20),?24,$S($$HRN^AUPNPAT(DFN,BUDSITE)]"":$$HRN^AUPNPAT(DFN,BUDSITE,2),1:$$HRN^AUPNPAT(DFN,DUZ(2),2)),?36,$E(BUDCOM,1,10),?47,$P(^DPT(DFN,0),U,2),?51,BUDA,!
  • Line Location: DMR2L2+10
Function Call: WRITE
  • Prompt: ?2,$E($P(BUDRACV,U,4),1,16)_" ("_$P(BUDRACV,U,3),")"
  • Line Location: DMR2L2+14
Function Call: WRITE
  • Prompt: ?24,$P(BUDHISV,U,3)," (",$P(BUDHISV,U,2),")",!
  • Line Location: DMR2L2+17
Function Call: WRITE
  • Prompt: ?5,$P(BUDALL,"^",2),!
  • Line Location: DMR2L2+21
Function Call: WRITE
  • Prompt: !,BUDRACEL,!
  • Line Location: DMR2L2+24
Function Call: WRITE
  • Prompt: ?5,BUDV,!
  • Line Location: DMR2L2+25
Function Call: WRITE
  • Prompt: ?5,$$FMTE^XLFDT($P($P(^AUPNVSIT(V,0),U),".")),?19,C,?35,$$PRIMPROV^APCLV(V,"D"),?45,$P(^AUPNVSIT(V,0),U,7),?53,$$CLINIC^APCLV(V,"C"),?65,$E($$VAL^XBDIQ1(9000010,V,.06),1,15),!
  • Line Location: DMR2L2+28
Function Call: WRITE
  • Prompt: !,BUDRACEL,!
  • Line Location: DMR2L2+30
Function Call: WRITE
  • Prompt: !,"Sub-Total ",BUDRACEL,": ",BUDSTOT,!
  • Line Location: DMR2L2+31
Function Call: WRITE
  • Prompt: !
  • Line Location: DMR2H+3
Function Call: WRITE
  • Prompt: !,"***** CONFIDENTIAL PATIENT INFORMATION, COVERED BY THE PRIVACY ACT *****"
  • Line Location: DMR2H1+2
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",BUDGPG,!
  • Line Location: DMR2H1+3
Function Call: WRITE
  • Prompt: !,$$CTR("*** RPMS Uniform Data System (UDS) ***",80)
  • Line Location: DMR2H1+4
Function Call: WRITE
  • Prompt: !,$$CTR("Patient List for Table 7, Section C",80)
  • Line Location: DMR2H1+5
Function Call: WRITE
  • Prompt: !,$$CTR("Diabetes w/o A1c or >9 by Race and Hispanic or Latino Identity ",80),!
  • Line Location: DMR2H1+6
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,BUDSITE,0),U),80),!
  • Line Location: DMR2H1+7
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: DMR2H1+8
Function Call: WRITE
  • Prompt: $TR($J("",80)," ","-")
  • Line Location: DMR2H1+9
Function Call: WRITE
  • Prompt: !?2,"PATIENT NAME",?24,"HRN",?36,"COMMUNITY",?47,"SEX",?51,"AGE"
  • Line Location: DMR2H1+21
Function Call: WRITE
  • Prompt: !?2,"RACE*",?24,"HISPANIC OR LATINO IDENTITY*"
  • Line Location: DMR2H1+22
Function Call: WRITE
  • Prompt: !?5,"LAST A1C VALUE OR CD & DATE"
  • Line Location: DMR2H1+23
Function Call: WRITE
  • Prompt: !?5,"LAST DM DATE",?19,"DX OR SVC CD",?35,"PROV TYPE",?45,"SVC CAT",?53,"CLINIC",?65,"LOCATION"
  • Line Location: DMR2H1+24
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-"),!
  • Line Location: DMR2H1+25
Routine Call
  • DIR
  • Line Location:
    • PAUSE+1
    • GENI+4
    • DMR2H+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] DMR2L2+28, DMR2L2+29
^DIC(4 - [#4] LOC+1, DMR2H1+7, DMR2HD+5
^DPT - [#2] DMR2L2+10, DMR2L2+11
^TMP($J S+2*
^VA(200 - [#200] USR+1, DMR2H1+3, DMR2HD+2
^XTMP("BUDCRP7" DMR2L+3, DMR2L1+3, DMR2L1+4, DMR2L2+5, DMR2L2+6, DMR2L2+7, DMR2L2+8, DMR2L2+19

Label References

Name Line Occurrences
$$CTR DMR2+2, DMR2+3, DMR2H1+4, DMR2H1+5, DMR2H1+6, DMR2H1+7, DMR2H1+8
$$LOC DMR2+2
DMR2H DMR2L+2, DMR2L+5, DMR2L1+1, DMR2L2+9, DMR2L2+24, DMR2L2+30
DMR2H1 DMR2H+2
DMR2HD DMR2H+1
DMR2L1 DMR2L+4
DMR2L2 DMR2L1+4
DMR2LX DMR2L+5
GENI DMR2+5
PAUSE DMR2+6
S DMR2L+3, DMR2L+7, DMR2L2+4, DMR2L2+26, DMR2L2+29, DMR2L2+32, DMR2HD+1, DMR2HD+2, DMR2HD+3, DMR2HD+4
, DMR2HD+5, DMR2HD+6, DMR2HD+7, DMR2HD+8, DMR2HD+9, DMR2HD+10, DMR2HD+11, DMR2HD+12, DMR2HD+13, DMR2HD+14
, DMR2HD+15, DMR2HD+16, DMR2HD+17, DMR2HD+18, DMR2HD+19

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BUDA DMR2L2+6*, DMR2L2+7, DMR2L2+8, DMR2L2+10, DMR2L2+11, DMR2L2+19
>> BUDALL DMR2L2+19*, DMR2L2+20, DMR2L2+21, DMR2L2+22
>> BUDBD DMR2H1+8, DMR2HD+6
>> BUDCEN DMR2HD+7
>> BUDCOM DMR2L2+5*, DMR2L2+6, DMR2L2+7, DMR2L2+8, DMR2L2+10, DMR2L2+11, DMR2L2+19
>> BUDDECNT S+1*, S+2
>> BUDED DMR2H1+8, DMR2HD+6
>> BUDETH DMR2L1+4*, DMR2L2+2, DMR2L2+5, DMR2L2+6, DMR2L2+7, DMR2L2+8, DMR2L2+19
>> BUDGPG DMR2H+2, DMR2H1+1*, DMR2H1+3
>> BUDH DMR2L+3, DMR2L1+3, DMR2L1+4, DMR2L2+5, DMR2L2+6, DMR2L2+7, DMR2L2+8, DMR2L2+19
>> BUDHISV DMR2L2+16*, DMR2L2+17, DMR2L2+18
>> BUDJ DMR2L+3, DMR2L1+3, DMR2L1+4, DMR2L2+5, DMR2L2+6, DMR2L2+7, DMR2L2+8, DMR2L2+19
>> BUDNAME DMR2L2+7*, DMR2L2+8, DMR2L2+19
>> BUDP DMR2L+1*, DMR2H1+10, DMR2H1+26*
>> BUDPPV DMR2L2+20*, DMR2L2+23
>> BUDPV DMR2L2+11*, DMR2L2+15*, DMR2L2+18*, DMR2L2+22*, DMR2L2+26*, DMR2L2+29
>> BUDQUIT DMR2L+1*, DMR2L+2, DMR2L+5, DMR2L1+1, DMR2L1+3, DMR2L1+4, DMR2L2+5, DMR2L2+6, DMR2L2+7, DMR2L2+8
, DMR2L2+9, DMR2L2+23, DMR2L2+24, DMR2L2+30, DMR2H+3*
>> BUDRACE DMR2L1+3*, DMR2L1+4, DMR2L2+2, DMR2L2+5, DMR2L2+6, DMR2L2+7, DMR2L2+8, DMR2L2+19
>> BUDRACEL DMR2L2+2*, DMR2L2+3, DMR2L2+4, DMR2L2+9, DMR2L2+24, DMR2L2+30, DMR2L2+31, DMR2L2+32
>> BUDRACV DMR2L2+13*, DMR2L2+14, DMR2L2+15
>> BUDROT DMR2L+3, DMR2L+5, DMR2L+6, DMR2L+7, DMR2L1+1, DMR2L2+3, DMR2L2+4, DMR2L2+9, DMR2L2+10, DMR2L2+11
, DMR2L2+14, DMR2L2+15, DMR2L2+17, DMR2L2+18, DMR2L2+21, DMR2L2+22, DMR2L2+24, DMR2L2+25, DMR2L2+26, DMR2L2+28
, DMR2L2+29, DMR2L2+30, DMR2L2+31, DMR2L2+32, DMR2H+1
>> BUDSITE DMR2L2+10, DMR2L2+11, DMR2H1+7, DMR2HD+5
>> BUDSTOT DMR2L2+1*, DMR2L2+12*, DMR2L2+31, DMR2L2+32
>> BUDTOT DMR2L+1*, DMR2L+6, DMR2L+7, DMR2L1+2*, DMR2L2+12*
>> BUDV DMR2L2+23*, DMR2L2+25, DMR2L2+26, DMR2L2+27
>> BUDX DMR2L2+23*
>> C DMR2L2+27*, DMR2L2+28, DMR2L2+29
DA PAUSE+1!
>> DFN DMR2L2+8*, DMR2L2+10, DMR2L2+11, DMR2L2+13, DMR2L2+16, DMR2L2+19
DIR PAUSE+1!, GENI+4!, DMR2H+3!
DIR("A" PAUSE+1*, GENI+4*
DIR(0 PAUSE+1*, GENI+4*, DMR2H+3*
DT DMR2H1+3, DMR2HD+2
>> DTOUT DMR2H+3
DUZ USR+1, DMR2H1+3, DMR2HD+2
DUZ(2 LOC+1, DMR2L2+10, DMR2L2+11
IO DMR2H+3
IO(0 DMR2H+3
IOF DMR2+1, DMR2H1+1
IOM CTR+1
IOSL DMR2L+5, DMR2L1+1, DMR2L2+9, DMR2L2+24, DMR2L2+30
IOST DMR2H+3
U USR+1, LOC+1, DMR2L2+10, DMR2L2+11, DMR2L2+14, DMR2L2+15, DMR2L2+17, DMR2L2+18, DMR2L2+22, DMR2L2+23
, DMR2L2+26, DMR2L2+28, DMR2L2+29, DMR2H1+3, DMR2H1+7, DMR2HD+2, DMR2HD+5
V S~, S+2, DMR2L2+27*, DMR2L2+28, DMR2L2+29
X CTR~, CTR+1, DMR2L+3*, DMR2L2+29*, DMR2H1+8*, DMR2HD+6*, DMR2HD+7*
Y CTR~, CTR+1, DMR2H+3
>> ZTQUEUED DMR2H+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All