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

Package: Health Summary Components

Routine: BHSDM2


Information

BHSDM2 ;IHS/CIA/MGH - Health Summary for Diabetic Supplement ;14-Jan-2014 13:48;DU

Source Information

Source file <BHSDM2.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Diabetes Registry 4 $$HEP^BDMD413  $$DATE^BDMS9B1  ($$CHEST,$$DIETV,$$EKG,$$FLU,$$TD)^BDMS9B3  ($$PNEU,$$PPD,$$PPDS)^BDMS9B4  
Kernel 2 ($$FMADD,$$FMTE)^XLFDT  ($$STRIP,$$UP)^XLFSTR  
IHS Patient 1 $$DOB^AUPNPAT  
IHS VA Utilities 1 $$VAL^XBDIQ1  
Patient Care Component Reports 1 $$START1^APCLDF  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Health Summary Components 2 BHSDM1  BHSDMPR1  

Entry Points

Name Comments DBIA/ICR reference
SEMI(P) ;
S1 ;
PCR(P) ;EP
CREAT(P) ;
EDUC ;EP - gather up all education provided in past year in BHSX
TB(P) ;
REF1(P,F,I,D,T) ; ;
GFR(P) ;
LBLK(V,L) ;EP LEFT blank fill
DATE(D) ;EP - convert to slashed date
HR24(P) ;
TYPEREF(N) ;
L ;
CHOL(P) ;EP
EDT(E) ;
ACRATIO(P) ;
MORE ;EP
S(Y,F,C,T) ;set up array
EDUCREF ;EP - gather up all education provided in past year in BDMR
LDLLAB ;EP
EDUCD
REF(P,T,D) ;return refusal string after date D for test is tax T
HBA1C(P) ;
MICRO(P) ;
NLHGB(P) ;return next to last HGBA1C
TRIG(P) ;EP
TCHOL(P) ;EP
LOINC(A,B) ;
NONHDL(P) ;
URIN(P) ;
LAB(P,T,LT,YEAR) ;EP
HDL(P) ;EP

External References

Name Field # of Occurrence
$$START1^APCLDF EDUC+1, TB+4
$$DOB^AUPNPAT LAB+4
$$HEP^BDMD413 MORE+5
$$DATE^BDMS9B1 L+2, L+3, L+5, L+7, L+8, L+9, L+10, L+11, L+16, L+19
, L+20, L+21, L+22, L+23, EDUC+1, EDUCREF+4
$$CHEST^BDMS9B3 MORE+9
$$DIETV^BDMS9B3 EDUCD+3
$$EKG^BDMS9B3 MORE+10
$$FLU^BDMS9B3 MORE+3
$$TD^BDMS9B3 MORE+6
$$PNEU^BDMS9B4 MORE+4
$$PPD^BDMS9B4 MORE+8
$$PPDS^BDMS9B4 MORE+7
$$VAL^XBDIQ1 LAB+19
$$FMADD^XLFDT MORE+1, L+16, EDUCD+1, LAB+4
$$FMTE^XLFDT EDUC+3, GFR+13, GFR+16, GFR+19, NLHGB+17
$$STRIP^XLFSTR NONHDL+6, NONHDL+10
$$UP^XLFSTR EDUCREF+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] EDT+4, EDT+6, EDT+8, EDT+10, TB+9, LOINC+3, LOINC+5
^ATXAX("B" EDT+3, EDT+5, EDT+7, EDT+9, TB+7, GFR+6, CHOL+2, HDL+2, TCHOL+2, NONHDL+3
, NONHDL+5, NONHDL+9, TRIG+2, CREAT+2, PCR+2, LDLLAB+2, NLHGB+3, HBA1C+2, URIN+2, MICRO+2
, ACRATIO+2
^ATXLAB - [#9002228] GFR+14, LAB+9, LDLLAB+9, REF+4, NLHGB+7
^ATXLAB("B" GFR+5, GFR+22, CHOL+2, HDL+2, TCHOL+2, NONHDL+3, NONHDL+5, NONHDL+9, TRIG+2, CREAT+2
, PCR+2, NLHGB+2, HBA1C+2, URIN+2, MICRO+2, ACRATIO+2, HR24+2, SEMI+2
^AUPNHF("AA" TB+9
^AUPNPREF - [#9000022] TYPEREF+1
^AUPNPREF("AA" EDUCREF+2, REF1+6, REF1+8
^AUPNVLAB - [#9000010.09] GFR+10, GFR+11, GFR+12, GFR+13, GFR+14, GFR+15, GFR+16, GFR+17, GFR+19, LAB+9
, LAB+11, LAB+18, LAB+19, LDLLAB+6, LDLLAB+7, LDLLAB+10, LDLLAB+13, LDLLAB+15, NLHGB+7, NLHGB+9
, NLHGB+17
^AUPNVLAB("AE" GFR+7, GFR+8, GFR+9, LAB+5, LAB+6, LAB+8, LDLLAB+3, LDLLAB+4, LDLLAB+5, NLHGB+4
, NLHGB+5, NLHGB+6
^AUPNVPED - [#9000010.16] EDUC+3
^AUPNVSIT - [#9000010] GFR+13, GFR+16, GFR+19, LAB+19, NLHGB+17
^AUTTEDT - [#9999999.09] EDUCREF+3, EDUCREF+4, EDT+11
^AUTTHF - [#9999999.64] TB+11
^LAB(60 - [#60] GFR+4
^LAB(95.3 - [#95.3] LOINC+2, LOINC+4
^TMP("BHS" S1+1*, S1+2*

Label References

Name Line Occurrences
$$ACRATIO L+14
$$CREAT L+5
$$DATE REF1+10, REF1+12
$$EDT EDUC+3, EDUCREF+2
$$GFR L+7
$$HBA1C L+2
$$HDL L+10
$$HR24 L+20
$$LAB GFR+23, CHOL+3, HDL+3, TCHOL+3, NONHDL+4, NONHDL+6, NONHDL+10, TRIG+3, CREAT+3, PCR+3
, HBA1C+3, URIN+3, MICRO+3, ACRATIO+3, HR24+3, SEMI+3
$$LBLK NONHDL+16, LAB+18
$$LOINC GFR+18, LAB+12, LDLLAB+14, NLHGB+10
$$MICRO L+22
$$NLHGB L+3
$$NONHDL L+9
$$PCR L+19
$$REF LAB+17, LAB+19
$$REF1 REF+5
$$SEMI L+21
$$TB MORE+9
$$TCHOL L+8
$$TRIG L+11
$$TYPEREF REF1+10, REF1+12
$$URIN L+23
EDUC EDUCD+4
EDUCD L+16, L+19, L+20, L+21, L+22, L+23
EDUCREF EDUCD+12
S MORE+2, MORE+3, MORE+4, MORE+5, MORE+6, MORE+7, MORE+8, MORE+9, MORE+10, L+1
, L+2, L+3, L+5, L+6, L+7, L+8, L+9, L+10, L+11, L+12
, L+15, L+16, L+18, L+19, L+20, L+21, L+22, L+23, L+24, EDUCD
, EDUCD+2, EDUCD+3, EDUCD+9, EDUCD+10, EDUCD+12, EDUCD+13
S1 S+5, S+7, S+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% EDUCD+6*, EDUCD+8, EDUCD+9, EDUCD+11!, EDUCD+13*, EDUCD+14!, S+3~, S+8*, S+9*, S1+1*
, S1+2, EDUC+1*, EDUC+4*, TB+6~, TB+7*, TB+8, TB+9, LOINC+1~, LOINC+2*, LOINC+3
, LOINC+4*, LOINC+5, REF+6*, TYPEREF+1~*, TYPEREF+2, TYPEREF+3, TYPEREF+4, LBLK+1~, LBLK+2*
A LOINC~, LOINC+2, LOINC+4
APCHC GFR+2~*, GFR+7, GFR+8, GFR+12, GFR+13*, GFR+15, GFR+16*, GFR+19*, GFR+21
APCHREF REF+4~, REF+6
APCHREF( REF+6
APCHREF(9999999 REF+5*
APCHT REF+4~*, REF+5
B LOINC~, LOINC+3, LOINC+5
BDATE LAB+3~, LAB+4*, LAB+7
>> BDMD EDUCREF+2*, EDUCREF+4
>> BDMP( EDUCREF+3
BDMR EDUCD+14!
>> BDMSBEG EDUCD+1*, EDUC+1, EDUCREF+2
BDMX EDUCD+4!, EDUCD+11!, EDUCD+12, EDUCREF+1!
BDMX( EDUCD+6, EDUCD+8, EDUCD+9, EDUCD+13, EDUCREF+4*
BDMY EDUCD+11!, EDUCD+14!, EDUCREF+1!, EDUCREF+2*, EDUCREF+3, EDUCREF+4
BHS TB+2~, TB+3!
BHS(1 TB+5
>> BHSBEG MORE+1*
>> BHSDFN MORE+3, MORE+4, MORE+5, MORE+6, MORE+7, MORE+8, MORE+9, MORE+10, L+2, L+3
, L+5, L+7, L+8, L+9, L+10, L+11, L+14, L+19, L+20, L+21
, L+22, L+23, EDUCD+3, EDUC+1
>> BHSEKG MORE+10*
>> BHSIEN LDLLAB+8
BHSP EDUC+3~!, EDUC+5!
BHSP( EDUC+3*, EDUC+4
>> BHSPAT EDUCREF+2, LDLLAB+3, LDLLAB+4, LDLLAB+5
BHSX EDUC+1!, LDLLAB+1!
BHSX( EDUC+4*, LDLLAB+11*, LDLLAB+16*
BHSX(1 EDUC+2*
BHSY EDUC+1!, EDUC+2!, EDUC+5!
BHSY( EDUC+3
C EDUCD+5*, EDUCD+7*, EDUCD+8, S~, S+7
D GFR+7~*, GFR+8, GFR+9, NONHDL+1~, LAB+5~*, LAB+6, LAB+7, LAB+8, LDLLAB+3~*, LDLLAB+4
, LDLLAB+5, LDLLAB+11, LDLLAB+16, DATE~, DATE+1, DATE+2, REF~, REF+3*, REF+5, REF1~
, REF1+4*, REF1+10, NLHGB+4~*, NLHGB+5, NLHGB+6
DT MORE+1, MORE+5, MORE+6, L+16, EDUCD+1, EDUC+1, LAB+4
E EDUC+1*, EDUC+3*, EDUC+4*, EDT~, EDT+4, EDT+6, EDT+8, EDT+10, EDT+11, TB+2~
, TB+4*, NLHGB+4~*, NLHGB+7*, NLHGB+11*, NLHGB+16, NLHGB+17
F S~, S+1*, S+5*, REF1~, REF1+2, REF1+6, REF1+8
G GFR+7~*, LAB+5~*, LAB+6, LAB+8, LAB+9*, LAB+13*, LAB+17, LAB+18, LAB+19, LDLLAB+3~*
, LDLLAB+4, LDLLAB+5, LDLLAB+11*, LDLLAB+16*, NLHGB+4~*, NLHGB+5, NLHGB+6, NLHGB+7*, NLHGB+11*, NLHGB+15
HDL NONHDL+1~, NONHDL+10*, NONHDL+11, NONHDL+13*, NONHDL+15, NONHDL+16
HDLD NONHDL+1~, NONHDL+10*, NONHDL+12
I REF1~, REF1+3, REF1+6, REF1+8, LBLK+1~, LBLK+2*
J GFR+7~, GFR+17*, GFR+18, LAB+5~, LAB+11*, LAB+12, LDLLAB+13*, LDLLAB+14, NLHGB+9*, NLHGB+10
L S+3~, S+7*, LBLK~, LBLK+2
LT CHOL+2*, CHOL+3, HDL+2*, HDL+3, TCHOL+2*, TCHOL+3, NONHDL+3*, NONHDL+4, NONHDL+5*, NONHDL+6
, NONHDL+9*, NONHDL+10, TRIG+2*, TRIG+3, CREAT+2*, CREAT+3, PCR+2*, PCR+3, LAB~, LAB+1*
, LAB+10, LAB+12, LDLLAB+2~*, LDLLAB+12, LDLLAB+14, NLHGB+3~*, NLHGB+8, NLHGB+10, HBA1C+2*, HBA1C+3
, URIN+2*, URIN+3, MICRO+2*, MICRO+3, ACRATIO+2*, ACRATIO+3, HR24+2*, HR24+3, SEMI+2*, SEMI+3
N REF1+6~, REF1+8*, REF1+10, REF1+12, TYPEREF~, TYPEREF+1
NT NONHDL+1~
P TB~, TB+1, TB+4, TB+9, GFR~, GFR+1, GFR+7, GFR+8, GFR+9, GFR+23
, CHOL~, CHOL+1, CHOL+3, HDL~, HDL+1, HDL+3, TCHOL~, TCHOL+1, TCHOL+3, NONHDL~
, NONHDL+2, NONHDL+4, NONHDL+6, NONHDL+10, TRIG~, TRIG+1, TRIG+3, CREAT~, CREAT+1, CREAT+3
, PCR~, PCR+1, PCR+3, LAB~, LAB+4, LAB+5, LAB+6, LAB+8, LAB+17, LAB+19
, REF~, REF+1, REF+5, REF1~, REF1+1, REF1+6, REF1+8, NLHGB~, NLHGB+1, NLHGB+4
, NLHGB+5, NLHGB+6, HBA1C~, HBA1C+1, HBA1C+3, URIN~, URIN+1, URIN+3, MICRO~, MICRO+1
, MICRO+3, ACRATIO~, ACRATIO+1, ACRATIO+3, HR24~, HR24+1, HR24+3, SEMI~, SEMI+1, SEMI+3
R LAB+5~, LAB+17*, LAB+18*, LAB+19*, LAB+21, LDLLAB+10*, LDLLAB+11, LDLLAB+15*, LDLLAB+16
T S~, S+2*, S+7*, S+8, S+9, EDT+2~, EDT+3*, EDT+4, EDT+5*, EDT+6
, EDT+7*, EDT+8, EDT+9*, EDT+10, EDT+11*, EDT+12, EDT+13, EDT+14, GFR+3~, GFR+4*
, GFR+11, GFR+22*, GFR+23, CHOL+2~*, CHOL+3, HDL+2~*, HDL+3, TCHOL+2~*, TCHOL+3, NONHDL+3~*
, NONHDL+4, NONHDL+5~*, NONHDL+6, NONHDL+9~*, NONHDL+10, TRIG+2~*, TRIG+3, CREAT+2~*, CREAT+3, PCR+2~*
, PCR+3, LAB~, LAB+9, LAB+17, LAB+19, LDLLAB+9, REF~, REF+2, REF+4, REF1~
, REF1+5*, REF1+10, REF1+11, NLHGB+2~*, NLHGB+7, HBA1C+2~*, HBA1C+3, URIN+2~*, URIN+3, MICRO+2~*
, MICRO+3, ACRATIO+2~*, ACRATIO+3, HR24+2~*, HR24+3, SEMI+2~*, SEMI+3
T1 GFR+3~, GFR+5*, GFR+14
T2 GFR+3~, GFR+6*, GFR+18
TC NONHDL+1~, NONHDL+6*, NONHDL+7, NONHDL+13*, NONHDL+14, NONHDL+16
TCD NONHDL+1~, NONHDL+6*, NONHDL+8, NONHDL+16
U MORE+10, S1+1, EDUC+3, EDUCREF+3, EDUCREF+4, EDT+11, TB+5, TB+11, GFR+11, GFR+12
, GFR+13, GFR+14, GFR+15, GFR+16, GFR+17, GFR+19, LAB+9, LAB+11, LAB+18, LAB+19
, LOINC+2, LOINC+4, LDLLAB+7, LDLLAB+10, LDLLAB+13, LDLLAB+15, REF+5, TYPEREF+1, NLHGB+7, NLHGB+9
, NLHGB+17
V GFR+7~, NONHDL+1~, NONHDL+4*, NONHDL+7, NONHDL+8, NONHDL+11, NONHDL+12, LAB+5~, LDLLAB+3~, REF+4~
, REF+5*, REF+6*, NLHGB+4~, LBLK~, LBLK+2*, LBLK+3
X MORE+2*, MORE+3*, MORE+4*, MORE+5*, MORE+6*, MORE+7*, MORE+8*, MORE+9*, MORE+10*, L+1*
, L+2*, L+3*, L+5*, L+6*, L+7*, L+8*, L+9*, L+10*, L+11*, L+12*
, L+15*, L+16*, L+18*, L+19*, L+20*, L+21*, L+22*, L+23*, EDUCD+2*, EDUCD+3*
, EDUCD+4*, EDUCD+8*, EDUCD+9*, EDUCD+10, EDUCD+12*, EDUCD+13*, S+3~, S+5*, S+6*, S+8*
, S+9*, S1+2, EDUC+3~*, TB+2~, TB+4*, TB+9*, GFR+7~, GFR+8*, GFR+9, LAB+5~
, LAB+6*, LAB+8, LAB+9, LDLLAB+3~, LDLLAB+4*, LDLLAB+5, LDLLAB+9, REF1+6~*, REF1+7, REF1+8
, REF1+9, NLHGB+4~, NLHGB+5*, NLHGB+6, NLHGB+7
Y MORE+7*, MORE+8, L+2*, L+3*, L+5*, L+6, L+7*, L+8*, L+9*, L+10*
, L+11*, L+14*, L+15, L+16, L+19*, L+20*, L+21*, L+22*, L+23*, S~
, S+6, S+7, S+9, TB+6~, TB+9*, TB+10, TB+11, GFR+9*, GFR+10, GFR+11
, GFR+12, GFR+13, GFR+14, GFR+15, GFR+16, GFR+17, GFR+19, LAB+8*, LAB+9, LAB+11
, LAB+13, LDLLAB+5*, LDLLAB+6, LDLLAB+7, LDLLAB+8, LDLLAB+10, LDLLAB+11, LDLLAB+13, LDLLAB+15, LDLLAB+16
, REF1+9~*, REF1+10, REF1+11, REF1+12, NLHGB+6*, NLHGB+7, NLHGB+9, NLHGB+11
YEAR LAB~, LAB+2*, LAB+4
>> Z L+13*, L+19*, L+20*, L+21*, L+22*, L+23*, L+24, LBLK+2*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All