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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: BUDBRP6U

Package: IHS Uniform Data System

Routine: BUDBRP6U


Information

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

Source Information

Source file <BUDBRP6U.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
IHS Uniform Data System 3 $$CPTI^BUDBDU  $$LASTDX^BUDBUTL1  GETMEDS^BUDBUTL2  
Kernel 2 $$FMTE^XLFDT  $$UP^XLFSTR  
Patient Care Component Reports 2 $$START1^APCLDF  ($$CLINIC,$$PRIMPROV,$$VD)^APCLV  
DRG Grouper 1 $$CPT^ICPTCOD  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Taxonomy 1 $$ICD^ATXCHK  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
IHS Uniform Data System 3 BUDBRP6B  BUDBRP6V  BUDBRPTC  

Entry Points

Name Comments DBIA/ICR reference
ASTHTHER(P,BD,ED) ;
MEDC
GETV(P,BD,ED,SITE) ;EP - get all visits for this patient and COUNT MEDICAL VISITS
STATDC(V) ;EP - is the prescription associated with this V MED discontinued?
H ;EP ; ASTHMA
NDC(A,B) ;
PROBAS1(P,BDATE,EDATE) ;EP
SABA(P,BD,ED) ;
TOBCESS(P,BDATE,EDATE,PDATE) ;EP
ASTALG(P,ED) ;
ASTHMA(P,BDATE,EDATE) ;EP
AST1039(P,BDATE,EDATE) ;EP
MEDC1
TOBACCO(P,BDATE,EDATE) ;

External References

Name Field # of Occurrence
$$START1^APCLDF TOBCESS+3, ASTHMA+4, AST1039+4, GETV+3
$$CLINIC^APCLV GETV+12
$$PRIMPROV^APCLV GETV+17, GETV+26
$$VD^APCLV TOBACCO+5, H+7, H+9, SABA+12, SABA+26, ASTHMA+18, ASTHTHER+12, GETV+16
$$ICD^ATXCHK PROBAS1+10, ASTHMA+16
$$CPTI^BUDBDU TOBACCO+26, TOBACCO+28, TOBCESS+19, TOBCESS+21, TOBCESS+23, TOBCESS+25, ASTHMA+22, ASTHMA+24, AST1039+7
$$LASTDX^BUDBUTL1 TOBACCO+24
GETMEDS^BUDBUTL2 TOBCESS+29, SABA+3, SABA+17, ASTHTHER+3
$$CPT^ICPTCOD TOBACCO+26, TOBACCO+28, TOBCESS+19, TOBCESS+21, TOBCESS+23, TOBCESS+25, ASTHMA+22, ASTHMA+24, AST1039+7
$$VAL^XBDIQ1 SABA+13, SABA+27, ASTHMA+18, ASTHTHER+13, MEDC+4
$$FMTE^XLFDT TOBCESS+3, TOBCESS+10, TOBCESS+11, TOBCESS+12, TOBCESS+13, TOBCESS+14, TOBCESS+15, TOBCESS+16, SABA+13, SABA+27
, ASTHMA+4, ASTHMA+30, AST1039+4, AST1039+11, ASTHTHER+13, GETV+3
$$UP^XLFSTR TOBCESS+35, SABA+9, SABA+23, ASTHTHER+9

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] TOBCESS+39, TOBCESS+40, TOBCESS+43, NDC+5, ASTALG+12, ASTALG+14, ASTALG+17, ASTALG+18
^ATXAX("B" TOBCESS+31, TOBCESS+32, ASTALG+3, ASTALG+4, PROBAS1+3, ASTHMA+6
^AUPNPROB - [#9000011] PROBAS1+5, PROBAS1+6, PROBAS1+8, PROBAS1+9, PROBAS1+11, PROBAS1+12
^AUPNPROB("AC" PROBAS1+4
^AUPNVAST("AS" PROBAS1+16, PROBAS1+19, PROBAS1+21
^AUPNVHF - [#9000010.23] TOBACCO+3, TOBACCO+4, TOBACCO+8
^AUPNVHF("AC" TOBACCO+2
^AUPNVMED - [#9000010.14] TOBCESS+35, TOBCESS+36, SABA+8, SABA+9, SABA+22, SABA+23, ASTHTHER+8, ASTHTHER+9, STATDC+2
^AUPNVPED - [#9000010.16] TOBCESS+6
^AUPNVPOV - [#9000010.07] ASTHMA+15
^AUPNVPOV("AD" ASTHMA+13, GETV+19
^AUPNVSIT - [#9000010] TOBCESS+34, TOBCESS+39, TOBCESS+41, TOBCESS+43, ASTHMA+9, ASTHMA+10, ASTHMA+11, ASTHMA+12, GETV+5, GETV+6
, GETV+7, GETV+8, GETV+11, GETV+18, GETV+23, GETV+24, MEDC1+3, MEDC1+4
^AUPNVSIT("AC" ASTHMA+1, AST1039+1
^AUTTEDT - [#9999999.09] TOBCESS+8, TOBCESS+9
^AUTTHF - [#9999999.64] TOBACCO+9
^BUDBCNTL - [#90666.2] GETV+14, MEDC1+1
^BUDBCNTL("B" GETV+13, MEDC+2
^BUDBSITE - [#90666.1] GETV+10
^BUDBTFIV("AA" MEDC+6
^BUDBTFIV("C" MEDC+5
^DPT - [#2] H+1, H+24, H+32, H+34
^GMR(120.8 - [#120.8] ASTALG+6, ASTALG+7, ASTALG+8, ASTALG+16
^PSDRUG - [#50] TOBCESS+38, TOBCESS+42, NDC+4, ASTALG+13, ASTALG+19
^PSRX - [#52] STATDC+6, STATDC+11
^PSRX("APCC" STATDC+4
^TMP($J H+21!, H+23!, ASTHMA+5, ASTHMA+8, AST1039+5
^XTMP("BUDBRP6B" H+24*, H+32*, H+34*

Label References

Name Line Occurrences
$$AST1039 H+26
$$ASTALG H+18
$$ASTHMA H+22
$$ASTHTHER H+24, H+27
$$GETV H+15
$$PROBAS1 H+17
$$SABA H+19
$$STATDC SABA+10, SABA+24, ASTHTHER+10
MEDC1 MEDC+4, MEDC+5

Naked Globals

Name Field # of Occurrence
^( STATDC+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% TOBCESS+1~, TOBCESS+5*, TOBCESS+10*, TOBCESS+11*, TOBCESS+12*, TOBCESS+13*, TOBCESS+14*, TOBCESS+15*, TOBCESS+16*, TOBCESS+17
, ASTHMA+15*, ASTHMA+16
A NDC~, NDC+4, SABA+1~, SABA+6*, SABA+7, SABA+9, SABA+10, SABA+11, SABA+20*, SABA+21
, SABA+23, SABA+24, SABA+25, ASTALG+2~, ASTALG+17*, ASTALG+18, PROBAS1+1~, ASTHMA+2~, ASTHMA+4*, AST1039+2~
, AST1039+4*, ASTHTHER+1~, ASTHTHER+6*, ASTHTHER+7, ASTHTHER+9, ASTHTHER+10, ASTHTHER+11, GETV+1~, GETV+3*
A("MEDCARE" MEDC1+2, MEDC1+4*
A("SAMEPROV" GETV+22, GETV+24*
A("VISITS" GETV+4
B NDC~, NDC+5, ASTALG+2~, ASTALG+18*, ASTALG+19, PROBAS1+1~, ASTHMA+2~, ASTHMA+4*, AST1039+2~, AST1039+4*
, GETV+3*
BD SABA~, SABA+3, SABA+17, ASTHTHER~, ASTHTHER+3, GETV~, GETV+3
BDATE TOBACCO~, TOBACCO+7, TOBACCO+24, TOBACCO+26, TOBACCO+28, TOBCESS~, TOBCESS+3, TOBCESS+19, TOBCESS+21, TOBCESS+23
, TOBCESS+25, TOBCESS+29, PROBAS1~, ASTHMA~, ASTHMA+4, ASTHMA+22, ASTHMA+24, AST1039~, AST1039+4, AST1039+7
BGPHSABA SABA+1~, SABA+2*, SABA+14*, SABA+15
>> BUD40RB H+2*, H+5
>> BUD5RB H+3*, H+4
>> BUDAGE H+24, H+32, H+34
>> BUDAPT1L H+33
>> BUDAPT2L H+31
>> BUDAST H+22*, H+24, H+25, H+26, H+32, H+34
>> BUDASTT H+27*, H+28, H+32, H+34
>> BUDBD H+2, H+19, H+22, H+24, H+27
BUDC ASTALG+2~, ASTALG+5*, ASTALG+10, ASTALG+12*, ASTALG+14*, ASTALG+19*, ASTALG+20
>> BUDCOM H+24, H+32, H+34
>> BUDDOB H+1*, H+4, H+5, H+6, H+8, H+15, H+17
>> BUDED H+3, H+15, H+17, H+18, H+19, H+22, H+24, H+26, H+27
BUDG TOBCESS+1~
BUDG( TOBCESS+5, TOBCESS+6, TOBCESS+10, TOBCESS+11, TOBCESS+12, TOBCESS+13, TOBCESS+14, TOBCESS+15, TOBCESS+16
>> BUDH H+24, H+32, H+34
>> BUDISD SABA+5*, SABA+19*, ASTHTHER+5*
>> BUDJ H+24, H+32, H+34
>> BUDLASTV H+7, H+9
BUDLPED TOBCESS+27~, TOBCESS+28*, TOBCESS+39*, TOBCESS+41*, TOBCESS+43*, TOBCESS+44
BUDMEDS1 TOBCESS+27~, TOBCESS+29, SABA+1~, SABA+3, SABA+4, SABA+17, SABA+18, ASTHTHER+1~, ASTHTHER+3, ASTHTHER+4
BUDMEDS1( TOBCESS+33, SABA+6, SABA+7, SABA+9!, SABA+10!, SABA+11, SABA+20, SABA+21, SABA+23!, SABA+24!
, SABA+25, ASTHTHER+6, ASTHTHER+7, ASTHTHER+9!, ASTHTHER+10!, ASTHTHER+11
>> BUDMEDV H+14
BUDNDC NDC+3~, NDC+4*, NDC+5
>> BUDSECTH("APT" H+28*
>> BUDSECTH("PTS" H+30*
>> BUDSITE H+15
C TOBACCO+1~, TOBCESS+27~, TOBCESS+42*, TOBCESS+43, SABA+1~, SABA+6*, SABA+13*, SABA+14, SABA+20*, SABA+27*
, SABA+28, ASTALG+2~, ASTHTHER+1~, ASTHTHER+6*, ASTHTHER+13*, ASTHTHER+14
CLINC GETV+1~, GETV+12*, GETV+14
D TOBACCO+1~, TOBACCO+5*, TOBACCO+6, TOBACCO+7, TOBACCO+20, TOBCESS+1~, TOBCESS+5*, TOBCESS+33*, ASTALG+13*, ASTALG+14
, PROBAS1+16*, PROBAS1+17, PROBAS1+19, PROBAS1+21, ASTHMA+13*, ASTHMA+14*, ASTHMA+16*, ASTHMA+17, GETV+1~, GETV+22*
, GETV+23, MEDC1+2*, MEDC1+3
>> DFN H+1, H+15, H+17, H+18, H+19, H+22, H+24, H+26, H+27, H+32
, H+34
E TOBCESS+1~, TOBCESS+3*, TOBCESS+27~, TOBCESS+33*, PROBAS1+19*, ASTHMA+2~, ASTHMA+4*, AST1039+2~, AST1039+4*, GETV+3*
ED SABA~, SABA+3, SABA+17, ASTALG~, ASTALG+7, ASTHTHER~, ASTHTHER+3, GETV~, GETV+3
EDATE TOBACCO~, TOBACCO+6, TOBACCO+24, TOBACCO+26, TOBACCO+28, TOBCESS~, TOBCESS+3, TOBCESS+19, TOBCESS+21, TOBCESS+23
, TOBCESS+25, TOBCESS+29, PROBAS1~, PROBAS1+7, PROBAS1+15, ASTHMA~, ASTHMA+4, ASTHMA+22, ASTHMA+24, AST1039~
, AST1039+4, AST1039+7
>> EDATE1 PROBAS1+15*, PROBAS1+16
F TOBACCO+1~, TOBACCO+9*, TOBACCO+11, TOBACCO+12, TOBACCO+13, TOBACCO+14, TOBACCO+15, TOBACCO+16, TOBACCO+17, TOBACCO+18
, TOBACCO+20
G TOBACCO+10*, TOBACCO+11*, TOBACCO+12*, TOBACCO+13*, TOBACCO+14*, TOBACCO+15*, TOBACCO+16*, TOBACCO+17*, TOBACCO+18*, TOBACCO+19
, TOBCESS+27~, TOBCESS+33*, SABA+1~, SABA+2*, SABA+4, SABA+16*, ASTALG+2~, PROBAS1+1~, PROBAS1+2*, PROBAS1+4*
, ASTHMA+2~, ASTHMA+3!, ASTHMA+8*, AST1039+2~, AST1039+3!, ASTHTHER+1~, ASTHTHER+2*, ASTHTHER+4
G( PROBAS1+14, ASTHMA+18*, ASTHMA+23*, ASTHMA+25*, ASTHMA+29, AST1039+8*, AST1039+10
G("" ASTHMA+26, AST1039+9
G(0 PROBAS1+14
G(9999999 PROBAS1+12*
H TOBACCO+1~, TOBACCO+8*, TOBACCO+9
>> LAST PROBAS1+19*, PROBAS1+20, PROBAS1+21
LASTV GETV+1~, GETV+2*
LINE GETV+1~, MEDC+4*, MEDC+5*, MEDC+6*, MEDC1+1
M TOBCESS+27~, TOBCESS+33*, SABA+1~, SABA+7*, SABA+8, SABA+9, SABA+10, SABA+13, SABA+21*, SABA+22
, SABA+23, SABA+24, SABA+27, ASTHTHER+1~, ASTHTHER+7*, ASTHTHER+8, ASTHTHER+9, ASTHTHER+10, ASTHTHER+13
MEDV GETV+1~, GETV+2*, GETV+4, MEDC1+5*, MEDC1+7
MEDVI GETV+1~, GETV+2*, MEDC1+5*
N TOBCESS+27~, TOBCESS+38*, TOBCESS+39, TOBCESS+40, TOBCESS+41, TOBCESS+43, ASTALG+2~, ASTALG+8*, ASTALG+10, ASTALG+11
O TOBACCO+1~
P TOBACCO~, TOBACCO+2, TOBACCO+24, TOBACCO+26, TOBACCO+28, TOBCESS~, TOBCESS+3, TOBCESS+19, TOBCESS+21, TOBCESS+23
, TOBCESS+25, TOBCESS+29, SABA~, SABA+3, SABA+17, ASTALG~, ASTALG+6, PROBAS1~, PROBAS1+4, PROBAS1+16
, PROBAS1+19, PROBAS1+21, ASTHMA~, ASTHMA+1, ASTHMA+4, ASTHMA+22, ASTHMA+24, AST1039~, AST1039+1, AST1039+4
, AST1039+7, ASTHTHER~, ASTHTHER+3, STATDC+3~, STATDC+4*, STATDC+5, STATDC+6, STATDC+11, GETV~, GETV+3
, GETV+22, GETV+24, MEDC1+2, MEDC1+4
PDATE TOBCESS~
PP GETV+1~, GETV+17*, GETV+21, GETV+22, GETV+24, GETV+26*, GETV+27, MEDC+4, MEDC+5, MEDC+6
S ASTALG+2~, ASTALG+16*, ASTALG+19, PROBAS1+1~, PROBAS1+21*, PROBAS1+22, STATDC+3~, GETV+1~, GETV+20*, GETV+23*
, GETV+25, MEDC+1*, MEDC1*, MEDC1+3*
SITE GETV~, GETV+10
T TOBCESS+1~, TOBCESS+5*, TOBCESS+6*, TOBCESS+7, TOBCESS+8, TOBCESS+9*, TOBCESS+10, TOBCESS+11, TOBCESS+12, TOBCESS+13
, TOBCESS+14, TOBCESS+15, TOBCESS+16, TOBCESS+31*, TOBCESS+39, TOBCESS+40, ASTALG+2~, ASTALG+3*, ASTALG+12, ASTALG+17
, ASTALG+18, PROBAS1+1~, PROBAS1+3*, PROBAS1+10, ASTHMA+2~, ASTHMA+6*, ASTHMA+7, ASTHMA+16, AST1039+2~
T1 TOBCESS+27~, TOBCESS+32*, TOBCESS+43, ASTALG+2~, ASTALG+4*, ASTALG+14
T35V GETV+1~, GETV+2*
T6V GETV+1~, GETV+2*
TIEN GETV+1~, GETV+13*, GETV+14, MEDC+2*, MEDC1+1, MEDC1+2, MEDC1+4
TV GETV+1~, GETV+2*
U TOBACCO+4, TOBACCO+8, TOBACCO+9, TOBACCO+20, TOBACCO+25, TOBACCO+26, TOBACCO+27, TOBACCO+28, TOBACCO+29, TOBCESS+6
, TOBCESS+9, TOBCESS+10, TOBCESS+11, TOBCESS+12, TOBCESS+13, TOBCESS+14, TOBCESS+15, TOBCESS+16, TOBCESS+19, TOBCESS+20
, TOBCESS+21, TOBCESS+22, TOBCESS+23, TOBCESS+24, TOBCESS+25, TOBCESS+26, TOBCESS+33, TOBCESS+35, TOBCESS+36, TOBCESS+38
, TOBCESS+39, TOBCESS+41, TOBCESS+42, TOBCESS+43, TOBCESS+44, NDC+4, H+1, H+24, H+26, H+32
, H+34, SABA+7, SABA+9, SABA+11, SABA+13, SABA+21, SABA+23, SABA+25, SABA+27, ASTALG+7
, ASTALG+8, ASTALG+13, ASTALG+16, ASTALG+18, ASTALG+19, PROBAS1+5, PROBAS1+6, PROBAS1+8, PROBAS1+9, PROBAS1+11
, PROBAS1+12, ASTHMA+8, ASTHMA+10, ASTHMA+11, ASTHMA+12, ASTHMA+15, ASTHMA+22, ASTHMA+23, ASTHMA+24, ASTHMA+25
, ASTHMA+30, AST1039+7, AST1039+8, AST1039+11, ASTHTHER+7, ASTHTHER+9, ASTHTHER+11, ASTHTHER+13, STATDC+6, STATDC+11
, GETV+4, GETV+6, GETV+7, GETV+8, GETV+11, GETV+18, GETV+22, GETV+23, GETV+24, MEDC1+2
, MEDC1+3, MEDC1+4
V TOBACCO+1~, TOBACCO+4*, TOBACCO+5, TOBCESS+33*, TOBCESS+34, TOBCESS+39, TOBCESS+41, TOBCESS+43, SABA+1~, SABA+11*
, SABA+12, SABA+25*, SABA+26, PROBAS1+1~, ASTHMA+2~, ASTHMA+8*, ASTHMA+9, ASTHMA+10, ASTHMA+11, ASTHMA+12
, ASTHMA+13, ASTHMA+18, AST1039+2~, ASTHTHER+1~, ASTHTHER+11*, ASTHTHER+12, STATDC~, STATDC+1, STATDC+2, STATDC+4
V1D SABA+1~, SABA+12*, SABA+13, SABA+26*, SABA+27, ASTHTHER+1~, ASTHTHER+12*, ASTHTHER+13
VDATE GETV+1~, GETV+16*, GETV+22, GETV+24, MEDC1+2, MEDC1+4
VLOC GETV+1~, GETV+8*, GETV+9, GETV+10, MEDC1+2, MEDC1+4
VSIT GETV+1~, GETV+4*, GETV+5, GETV+6, GETV+7, GETV+8, GETV+11, GETV+12, GETV+16, GETV+17
, GETV+18, GETV+19, GETV+23, GETV+24, GETV+26, MEDC+4, MEDC1+3, MEDC1+4, MEDC1+5
X TOBACCO+1~, TOBACCO+2*, TOBACCO+3, TOBACCO+4, TOBACCO+8, TOBCESS+1~, TOBCESS+3*, TOBCESS+5*, TOBCESS+6, TOBCESS+10
, TOBCESS+11, TOBCESS+12, TOBCESS+13, TOBCESS+14, TOBCESS+15, TOBCESS+16, TOBCESS+33*, H+15*, H+16, H+24*
, ASTALG+2~, ASTALG+6*, ASTALG+7, ASTALG+8, ASTALG+16, PROBAS1+1~, PROBAS1+4*, PROBAS1+5, PROBAS1+6, PROBAS1+8
, PROBAS1+9, PROBAS1+11, PROBAS1+12, PROBAS1+14*, ASTHMA+2~, ASTHMA+8*, ASTHMA+29*, ASTHMA+30, AST1039+2~, AST1039+10*
, AST1039+11, STATDC+3~, STATDC+6*, STATDC+7, STATDC+8, STATDC+9, STATDC+10, STATDC+11*, STATDC+12, STATDC+13
, STATDC+14, STATDC+15, GETV+1~, GETV+4*
Y TOBACCO+1~, TOBACCO+2*, TOBACCO+20*, TOBACCO+22, TOBACCO+24*, TOBACCO+25*, TOBACCO+26*, TOBACCO+27*, TOBACCO+28*, TOBACCO+29*
, TOBCESS+1~, TOBCESS+2*, TOBCESS+3, TOBCESS+18*, TOBCESS+19*, TOBCESS+20*, TOBCESS+21*, TOBCESS+22*, TOBCESS+23*, TOBCESS+24*
, TOBCESS+25*, TOBCESS+26*, TOBCESS+33*, TOBCESS+35, TOBCESS+36, ASTALG+2~, ASTALG+11*, ASTALG+12, ASTALG+13, PROBAS1+1~
, PROBAS1+8*, PROBAS1+10, ASTHMA+2~, ASTHMA+13*, ASTHMA+15, ASTHMA+18, ASTHMA+21*, ASTHMA+22*, ASTHMA+23, ASTHMA+24*
, ASTHMA+25, ASTHMA+26*, ASTHMA+28, ASTHMA+29, ASTHMA+30, AST1039+2~, AST1039+6*, AST1039+7*, AST1039+8, AST1039+9*
, AST1039+10, AST1039+11, MEDC+5*
Z TOBCESS+27~, TOBCESS+36*, TOBCESS+37, TOBCESS+38, TOBCESS+39, TOBCESS+40, TOBCESS+42, H+6*, H+7, H+8*
, H+9, PROBAS1+1~, PROBAS1+5*, PROBAS1+6*, PROBAS1+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All