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

Package: IHS Uniform Data System

Routine: BUDBRP6V


Information

BUDBRP6V ; IHS/CMI/LAB - UDS REPORT PROCESSOR ;

Source Information

Source file <BUDBRP6V.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
IHS Uniform Data System 5 $$CPT^BUDBDU  $$PREG^BUDBRP6B  $$BMI^BUDBRP6R  ($$GETV,$$TOBACCO,$$TOBCESS)^BUDBRP6U  ($$CPT,$$DATE,$$LASTDX,$$REFRNU)^BUDBUTL1  
Patient Care Component Reports 2 $$START1^APCLDF  ($$CLINIC,$$VD)^APCLV  
DRG Grouper 1 $$ICDDX^ICDCODE  
IHS Patient 1 ($$AGE,$$DOB)^AUPNPAT  
IHS VA Utilities 1 ($$VAL,$$VALI)^XBDIQ1  
Kernel 1 ($$FMADD,$$FMTE)^XLFDT  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
IHS Uniform Data System 4 BUDBRP6B  BUDBRP6M  BUDBRP6O  BUDBRPTC  

Entry Points

Name Comments DBIA/ICR reference
PA(P,BDATE,EDATE) ;EP
ADOLWT ;EP - called from xbdbque
REF(P,BDATE,EDATE) ;EP
LASTHF(P,C,BDATE,EDATE) ;EP
TOBACCO(P,BDATE,EDATE) ;
G ;EP
TOBACCO1 ;
PLAN(P,BD,ED) ;
WT(P,BDATE,EDATE) ;EP
N
NUTR(P,BDATE,EDATE) ;EP
HTWTSD(P,BDATE,EDATE) ;get last ht / wt on same day
S ;put the rest in demoninator
VBBD(P,BDATE,EDATE) ;EP
BMINPA(P,BDATE,EDATE,AGE) ;EP
HT(P,BDATE,EDATE) ;EP
BMIPROC(P,BDATE,EDATE) ;EP
TOBPED(P,BDATE,EDATE) ;EP
BMI(P,BDATE,EDATE,AGE) ;EP
ADULT ;EP

External References

Name Field # of Occurrence
$$START1^APCLDF VBBD+4, HT+3, WT+3, HTWTSD+4, HTWTSD+9, NUTR+3, PA+2, PA+5, PLAN+10, PLAN+23
, TOBPED+4
$$CLINIC^APCLV PLAN+32
$$VD^APCLV BMINPA+4, ADULT+8, ADULT+13, N+1
$$AGE^AUPNPAT ADOLWT+10
$$DOB^AUPNPAT G+13
$$CPT^BUDBDU NUTR+13
$$PREG^BUDBRP6B ADOLWT+16, ADULT+12
$$BMI^BUDBRP6R N+1
$$GETV^BUDBRP6U G+9
$$TOBACCO^BUDBRP6U G+15
$$TOBCESS^BUDBRP6U G+18
$$CPT^BUDBUTL1 PLAN+4, TOBACCO+11
$$DATE^BUDBUTL1 S+3, S+5
$$LASTDX^BUDBUTL1 BMIPROC+2, ADULT+8, PLAN+6, TOBACCO+9
$$REFRNU^BUDBUTL1 REF+2, REF+4
$$ICDDX^ICDCODE WT+9
$$VAL^XBDIQ1 LASTHF+13
$$VALI^XBDIQ1 PLAN+28
$$FMADD^XLFDT ADOLWT+13, ADOLWT+16, BMINPA+4, BMI+4, BMI+11, ADULT+6, ADULT+8, ADULT+12, ADULT+13, N+1
, G+8
$$FMTE^XLFDT VBBD+4, BMI+4, BMI+6, BMI+11, BMI+12, NUTR+3, PA+2, PA+5, PLAN+5, PLAN+7
, PLAN+10, PLAN+19, PLAN+23, PLAN+31, PLAN+32, TOBACCO+10, LASTHF+13, TOBPED+4, TOBPED+11, TOBPED+12
, TOBPED+13, TOBPED+14, TOBPED+15, TOBPED+16, TOBPED+17, TOBPED+18, TOBPED+19, TOBPED+20, TOBPED+21, TOBPED+22
, TOBPED+23, TOBPED+24

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX("B" NUTR+12, PLAN+4, TOBACCO+11
^AUPNVHF("AA" LASTHF+5, LASTHF+6, LASTHF+9
^AUPNVPED - [#9000010.16] NUTR+5, PA+8, PLAN+12, TOBPED+7
^AUPNVPOV - [#9000010.07] WT+9
^AUPNVPOV("AD" VBBD+11, WT+6, WT+7
^AUPNVPRV - [#9000010.06] PLAN+26
^AUPNVPRV("AD" VBBD+10, PLAN+25
^AUPNVSIT - [#9000010] VBBD+7, VBBD+8, VBBD+9, VBBD+12, VBBD+15, VBBD+16, VBBD+17, VBBD+18, VBBD+19, VBBD+20
^AUTTEDT - [#9999999.09] NUTR+7, NUTR+8, PA+10, PA+11, PLAN+14, PLAN+15, TOBPED+9, TOBPED+10
^AUTTHF("AC" LASTHF+4
^AUTTHF("B" LASTHF+1
^AUTTMSR("B" REF+2, REF+4
^BUDBSITE - [#90666.1] VBBD+14
^DIC(7 - [#7] PLAN+30
^DPT - [#2] ADOLWT+2, ADOLWT+6, ADOLWT+24, ADOLWT+26, ADULT+1, ADULT+15, N+8, N+10, G+3, S+3
, S+5
^XTMP("BUDBRP6B" ADOLWT+24*, ADOLWT+26*, ADULT+15*, N+8*, N+10*, S+3*, S+5*

Label References

Name Line Occurrences
$$BMI BMINPA+2, ADULT+13
$$BMINPA ADOLWT+17
$$BMIPROC BMINPA+3
$$HT BMI+8, BMI+15
$$HTWTSD BMI+18
$$LASTHF TOBACCO1+2, TOBACCO1+4
$$NUTR BMINPA+5
$$PA BMINPA+6
$$PLAN ADULT+15, N+2
$$REF BMINPA+4
$$TOBACCO G+13
$$TOBPED TOBACCO+7
$$VBBD ADOLWT+13, ADULT+6, G+8
$$WT BMI+7, BMI+13
N ADULT+17
TOBACCO1 TOBACCO+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% BMINPA+1~, HT+2~, HT+3*, WT+2~, HTWTSD+2!, HTWTSD+4*, HTWTSD+9*, NUTR+1~, NUTR+4*, NUTR+9*
, NUTR+10*, NUTR+11, NUTR+13*, NUTR+14, PA+1~, PA+7*, PA+12*, PA+13*, PA+14, PLAN+1~
, PLAN+11*, PLAN+17*, PLAN+18*, PLAN+19, PLAN+23*, TOBPED+1~, TOBPED+6*, TOBPED+26*, TOBPED+27
%DT BMINPA+1~
A VBBD+4*, BMIPROC+1~, BMIPROC+2*, BMIPROC+3
AGE BMINPA~, BMINPA+2, BMI~, BMI+3, BMI+10, BMI+17
B VBBD+4*, BMINPA+1~
BD PLAN~, PLAN+4, PLAN+6, PLAN+10, PLAN+23
BDATE VBBD~, VBBD+4, BMINPA~, BMINPA+2, BMINPA+3, BMINPA+5, BMINPA+6, BMIPROC~, BMIPROC+2, REF~
, REF+2, REF+4, BMI~, BMI+4, BMI+6*, BMI+7, BMI+11, BMI+12*, BMI+13, BMI+14
, BMI+18, HT~, HT+3, WT~, WT+3, HTWTSD~, HTWTSD+4, HTWTSD+9, NUTR~, NUTR+3
, NUTR+13, PA~, PA+2, PA+5, TOBACCO~, TOBACCO+7, TOBACCO+9, TOBACCO+11, TOBACCO1+2, TOBACCO1+4
, LASTHF~, LASTHF+8, TOBPED~, TOBPED+4
>> BUD3BD ADOLWT+7*, ADOLWT+8
>> BUD3RB ADOLWT+5*
>> BUDAGE ADOLWT+17, ADOLWT+24, ADOLWT+26, ADULT+13, ADULT+15, ADULT+17, N+1, N+8, N+10, S+3
, S+5
BUDALLED NUTR+1~, PA+1~, PLAN+1~, PLAN+8!
BUDALLED( NUTR+4, NUTR+5, PA+7, PA+8, PLAN+11, PLAN+12, PLAN+16
BUDALLED(1 PA+6
BUDARRY HT+2~
BUDARRY(1 HT+3
>> BUDAWS1L N+9
>> BUDAWS2L N+7
>> BUDBD ADOLWT+3, ADOLWT+17, ADULT+2, ADULT+15, G+4, G+12
BUDBMI BMINPA+1~, BMINPA+2*, BMINPA+3*, BMINPA+4, BMINPA+7, ADULT+9!, ADULT+10*, ADULT+13*, ADULT+15, ADULT+16
, ADULT+18, ADULT+19, ADULT+20, ADULT+21, N+8, N+10
BUDBMIH BMI+1~, BMI+2*, BMI+3, BMI+9*, BMI+10, BMI+16*, BMI+17, BMI+22*
>> BUDCESS G+16*, G+18*, S+3, S+5
>> BUDCOM ADOLWT+24, ADOLWT+26, ADULT+15, N+8, N+10, S+3, S+5
>> BUDCPT TOBACCO+11*, TOBACCO+12
>> BUDDOB ADOLWT+2*, ADOLWT+6*, ADOLWT+7, ADOLWT+9, ADOLWT+12, ADOLWT+13, ADULT+1*, ADULT+3, ADULT+5, G+3*
, G+5, G+7, G+9
>> BUDED ADOLWT+4, ADOLWT+5, ADOLWT+8, ADOLWT+10, ADOLWT+16, ADOLWT+17, ADULT+6, ADULT+12, ADULT+15, N+2
, G+8, G+9, G+13, G+15, G+18
BUDG NUTR+1~, PA+1~, PA+2!, PLAN+21~, PLAN+22!, TOBPED+1~, TOBPED+5
BUDG( PLAN+24, PLAN+25, PLAN+31, PLAN+32, TOBPED+6, TOBPED+7, TOBPED+11, TOBPED+12, TOBPED+13, TOBPED+14
, TOBPED+15, TOBPED+16, TOBPED+17, TOBPED+18, TOBPED+19, TOBPED+20, TOBPED+21, TOBPED+22, TOBPED+23, TOBPED+24
BUDG(1 PA+3
BUDGOT G+1~, G+2*, G+17*, G+18*, G+19, S+3, S+5
>> BUDH ADOLWT+24, ADOLWT+26, ADULT+15, N+8, N+10, S+3, S+5
>> BUDJ ADOLWT+24, ADOLWT+26, ADULT+15, N+8, N+10, S+3, S+5
BUDL WT+2~, WT+3!
BUDL( WT+4, WT+5, WT+6, WT+8, WT+16
BUDLAST TOBACCO+2~, TOBACCO+3!, TOBACCO+13
BUDLAST( TOBACCO+5*, TOBACCO+8*, TOBACCO+10*, TOBACCO+12*, TOBACCO+14, TOBACCO+15, TOBACCO1+3*, TOBACCO1+5*
>> BUDLASTV BMINPA+4, ADULT+8, ADULT+13, N+1
>> BUDLCHT HTWTSD+13*, HTWTSD+14
BUDLD WT+2~, WT+7*, WT+9
BUDLHTS HTWTSD+2!
BUDLHTS( HTWTSD+5!, HTWTSD+7, HTWTSD+13
BUDLHTS1 HTWTSD+2!, HTWTSD+7!
BUDLHTS1( HTWTSD+7*, HTWTSD+13
BUDLN WT+2~, WT+4*, WT+5, WT+6, WT+8, WT+16
BUDLW WT+2~, WT+3*, WT+4, WT+6*, WT+7, WT+16*, WT+18
BUDLWTS HTWTSD+2!
BUDLWTS( HTWTSD+10!, HTWTSD+12, HTWTSD+13
BUDLWTS1 HTWTSD+2!, HTWTSD+12!
BUDLWTS1( HTWTSD+12*, HTWTSD+13
BUDLX WT+2~, WT+3*
BUDLZ WT+2~, WT+5*, WT+6, WT+7
>> BUDMEDV ADOLWT+11, ADULT+4, G+6
BUDNE BMINPA+1~, BMINPA+5*, BMINPA+7
BUDOW ADULT+9!, ADULT+10*, ADULT+15, ADULT+18*, ADULT+20*, N, N+8, N+10
BUDPA BMINPA+1~, BMINPA+6*, BMINPA+7
BUDPAP ADOLWT+14!, ADOLWT+17*, ADOLWT+18, ADOLWT+19, ADOLWT+24, ADOLWT+26
BUDPED TOBPED+1~, TOBPED+2!, TOBPED+25
BUDPED( TOBPED+11*, TOBPED+12*, TOBPED+13*, TOBPED+14*, TOBPED+15*, TOBPED+16*, TOBPED+17*, TOBPED+18*, TOBPED+19*, TOBPED+20*
, TOBPED+21*, TOBPED+22*, TOBPED+23*, TOBPED+24*, TOBPED+26, TOBPED+27
>> BUDPLAN ADULT+10*, ADULT+15*, N+2*, N+4, N+8, N+10
BUDPV TOBACCO+2~, TOBACCO+9*, TOBACCO+10
>> BUDSECG1("ABM" G+19*
>> BUDSECG1("PTS" S+1*
>> BUDSECTE("AWT" ADOLWT+20*
>> BUDSECTE("PTS" ADOLWT+22*
>> BUDSECTF("PLAN" N+4*
>> BUDSECTF("PTS" N+6*
>> BUDSITE VBBD+14, G+9
BUDTOB TOBACCO+2~, TOBACCO+5, TOBACCO+7*, TOBACCO+8, TOBACCO+14*, TOBACCO+15, TOBACCO1+1!, TOBACCO1+2*, TOBACCO1+3, TOBACCO1+4*
, TOBACCO1+5
BUDTOBD G+11!
>> BUDTOBDD G+12*, G+15, G+18
BUDTOBS G+11!, G+13*, G+17, G+18, S+3, S+5
>> BUDTUA1L S+4
>> BUDTUA2L S+2
>> BUDUSER G+15*, G+17, G+18, S+3, S+5
BUDUW ADULT+9!, ADULT+10*, ADULT+15, ADULT+19*, ADULT+21*, N, N+8, N+10
BUDVL VBBD+1~, VBBD+2!, VBBD+5
BUDVL( VBBD+6
>> BUDWAC1L ADOLWT+25
>> BUDWAC2L ADOLWT+23
>> BUDWTDT N+1*, N+2
BUDX TOBACCO+2~, TOBACCO+14*
>> BUDX27BD ADOLWT+9*
>> BUDX27RB ADOLWT+3*
>> BUDX27TH ADOLWT+12*, ADOLWT+13
>> BUDX28RB ADULT+2*, ADULT+3, G+4*, G+5
>> BUDX28TH ADULT+5*, ADULT+6, G+7*, G+8
>> BUDX2RB ADOLWT+4*
C LASTHF~, LASTHF+1*, LASTHF+2, LASTHF+4
D BMINPA+1~, WT+8*, WT+9, NUTR+1~, NUTR+4*, PA+1~, PA+7*, PLAN+11*, PLAN+24*, PLAN+31*
, PLAN+32*, PLAN+33, TOBACCO1+2!, TOBACCO1+4!, LASTHF+3*, LASTHF+6*, LASTHF+7, LASTHF+8, LASTHF+9, LASTHF+11*
, LASTHF+12, LASTHF+13, TOBPED+1~, TOBPED+6*
>> DFN ADOLWT+2, ADOLWT+6, ADOLWT+10, ADOLWT+13, ADOLWT+16, ADOLWT+17, ADOLWT+24, ADOLWT+26, VBBD+4, ADULT+1
, ADULT+6, ADULT+8, ADULT+12, ADULT+13, ADULT+15, N+1, N+2, N+8, N+10, G+3
, G+8, G+9, G+13, G+15, G+18, S+3, S+5
E VBBD+4*, HT+2~, HT+3*, WT+2~, WT+3*, HTWTSD+4*, HTWTSD+9*, NUTR+1~, NUTR+3*, PA+1~
, PA+2*, PA+5*, PLAN+1~, PLAN+10*, PLAN+16*, PLAN+17, PLAN+18, PLAN+23*, TOBPED+1~, TOBPED+4*
ED PLAN~, PLAN+4, PLAN+6, PLAN+10, PLAN+23
EDATE VBBD~, VBBD+4, BMINPA~, BMINPA+2, BMINPA+3, BMINPA+5, BMINPA+6, BMIPROC~, BMIPROC+2, REF~
, REF+2, REF+4, BMI~, BMI+6*, BMI+7, BMI+8, BMI+12*, BMI+13, BMI+15, BMI+18
, HT~, HT+3, WT~, WT+3, HTWTSD~, HTWTSD+4, HTWTSD+9, NUTR~, NUTR+3, NUTR+13
, PA~, PA+2, PA+5, TOBACCO~, TOBACCO+7, TOBACCO+9, TOBACCO+11, TOBACCO1+2, TOBACCO1+4, LASTHF~
, LASTHF+7, TOBPED~, TOBPED+4
G ADOLWT+19*, ADOLWT+20, ADOLWT+24, ADOLWT+26, VBBD+1~, VBBD+3*, VBBD+21*, VBBD+23, ADULT+15*, N+3*
, N+4*, N+8, N+10, PLAN+1~, PLAN+4*, PLAN+5, PLAN+6*, PLAN+7
H BMINPA+1~, REF+1~, REF+2*, REF+3, BMI+1~, BMI+8*, BMI+9*, BMI+15*, BMI+16*, BMI+21*
, BMI+22*, HT+2~, HT+3*, HT+4, HT+5, HT+6*, HT+7, TOBACCO1+2!, TOBACCO1+4!, LASTHF+3*
, LASTHF+4*, LASTHF+5, LASTHF+6, LASTHF+9
HDATE BMI+1~, BMI+4*, BMI+8, BMI+11*, BMI+14*, BMI+15
ICD WT+2~, WT+9*, WT+10, WT+11, WT+12, WT+13, WT+14, WT+15
>> L VBBD+12*, VBBD+13, VBBD+14
O TOBACCO1+2!, TOBACCO1+4!, LASTHF+3!
O( LASTHF+9*, LASTHF+13
O(0 LASTHF+11
P VBBD~, BMINPA~, BMINPA+2, BMINPA+3, BMINPA+4, BMINPA+5, BMINPA+6, BMIPROC~, BMIPROC+2, REF~
, REF+2, REF+4, BMI~, BMI+7, BMI+8, BMI+13, BMI+15, BMI+18, HT~, HT+1
, HT+3, WT~, WT+1, WT+3, HTWTSD~, HTWTSD+1, HTWTSD+4, HTWTSD+9, NUTR~, NUTR+3
, NUTR+13, PA~, PA+2, PA+5, PLAN~, PLAN+4, PLAN+6, PLAN+10, PLAN+23, TOBACCO~
, TOBACCO+7, TOBACCO+9, TOBACCO+11, TOBACCO1+2, TOBACCO1+4, LASTHF~, LASTHF+5, LASTHF+6, LASTHF+9, TOBPED~
, TOBPED+4
R PLAN+21~, PLAN+28*, PLAN+29, PLAN+30*, PLAN+31, PLAN+32*
RETVAL BMINPA+1~
T NUTR+1~, NUTR+4*, NUTR+5*, NUTR+6, NUTR+7, NUTR+8*, NUTR+9, NUTR+10, NUTR+12*, NUTR+13
, PA+1~, PA+7*, PA+8*, PA+9, PA+10, PA+11*, PA+12, PA+13, PLAN+1~, PLAN+11*
, PLAN+12*, PLAN+13, PLAN+14, PLAN+15*, PLAN+17, PLAN+18, TOBPED+1~, TOBPED+6*, TOBPED+7*, TOBPED+8
, TOBPED+9, TOBPED+10*, TOBPED+11, TOBPED+12, TOBPED+13, TOBPED+14, TOBPED+15, TOBPED+16, TOBPED+17, TOBPED+18
, TOBPED+19, TOBPED+20, TOBPED+21, TOBPED+22, TOBPED+23, TOBPED+24
U ADOLWT+2, ADOLWT+6, ADOLWT+19, ADOLWT+24, ADOLWT+26, VBBD+6, VBBD+8, VBBD+9, VBBD+12, VBBD+15
, VBBD+16, VBBD+17, VBBD+18, VBBD+19, VBBD+20, BMINPA+7, BMIPROC+3, BMI+7, BMI+13, HT+3
, WT+5, WT+6, WT+8, WT+9, WT+16, HTWTSD+5, HTWTSD+7, HTWTSD+10, HTWTSD+12, HTWTSD+13
, NUTR+5, NUTR+8, NUTR+14, PA+8, PA+11, ADULT+1, ADULT+15, N+8, N+10, PLAN+5
, PLAN+7, PLAN+12, PLAN+15, PLAN+16, PLAN+17, PLAN+18, PLAN+19, PLAN+25, PLAN+26, PLAN+30
, PLAN+31, PLAN+32, G+3, S+3, S+5, TOBACCO+5, TOBACCO+8, TOBACCO+10, TOBACCO+12, TOBACCO1+3
, TOBACCO1+5, TOBPED+7, TOBPED+10, TOBPED+11, TOBPED+12, TOBPED+13, TOBPED+14, TOBPED+15, TOBPED+16, TOBPED+17
, TOBPED+18, TOBPED+19, TOBPED+20, TOBPED+21, TOBPED+22, TOBPED+23, TOBPED+24
>> V VBBD+6*, VBBD+7, VBBD+8, VBBD+9, VBBD+10, VBBD+11, VBBD+12, VBBD+15, VBBD+16, VBBD+17
, VBBD+18, VBBD+19, VBBD+20, VBBD+21
W BMINPA+1~, REF+1~, REF+4*, REF+5, BMI+1~, BMI+7*, BMI+9*, BMI+13*, BMI+16*, BMI+21*
, BMI+22*, PLAN+21~, PLAN+26*, PLAN+27, PLAN+28
X ADOLWT+19*, VBBD+6*, BMI+1~, BMI+18*, BMI+19, BMI+20, BMI+21, WT+2~, HTWTSD+2!, HTWTSD+7*
, HTWTSD+12*, HTWTSD+13*, NUTR+1~, NUTR+3*, NUTR+4*, NUTR+5, PA+1~, PA+2*, PA+5*, PA+7*
, PA+8, PLAN+1~, PLAN+10*, PLAN+11*, PLAN+12, PLAN+16, PLAN+24*, PLAN+25, PLAN+31, PLAN+32
, G+9*, G+10, TOBACCO+8*, TOBPED+1~, TOBPED+4*, TOBPED+6*, TOBPED+7, TOBPED+11, TOBPED+12, TOBPED+13
, TOBPED+14, TOBPED+15, TOBPED+16, TOBPED+17, TOBPED+18, TOBPED+19, TOBPED+20, TOBPED+21, TOBPED+22, TOBPED+23
, TOBPED+24, TOBPED+26*
Y HTWTSD+2!, HTWTSD+5*, HTWTSD+10*, NUTR+1~, NUTR+2*, NUTR+3, PA+1~, PA+4*, PA+5, PLAN+1~
, PLAN+9*, PLAN+10, PLAN+24*, PLAN+25, PLAN+31*, PLAN+32*, PLAN+33, TOBPED+1~, TOBPED+3*, TOBPED+4
Z PLAN+1~, PLAN+25*, PLAN+26
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All