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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: BUDHUTL2

Package: IHS Uniform Data System

Routine: BUDHUTL2


Information

BUDHUTL2 ; IHS/CMI/LAB - utilities for BUD ;

Source Information

Source file <BUDHUTL2.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
VA Fileman 3 ^%DTC  ^DIE  IX1^DIK  
IHS Uniform Data System 2 $$DATE^BUDEDU  $$DATE^BUDHDU  
Kernel 2 ($$DT,$$FMADD)^XLFDT  $$STRIP^XLFSTR  
IHS Standard Terminology 1 ($$SUBLST,SUBLST)^BSTSAPI  
IHS VA Utilities 1 ($$VAL,$$VALI)^XBDIQ1  
Patient Care Component Reports 1 ALLV^APCLAPIU  
Taxonomy 1 BLDTAX^ATXAPI  

Caller Graph

Caller Graph Total: 13

Package Total Caller Graph
IHS Uniform Data System 13 BUDHRP6B  BUDHRP6M  BUDHRP6N  BUDHRP6O  BUDHRP6Q  BUDHRP6R  BUDHRP6U  BUDHRP6W  
BUDHRP7  BUDHRP7C  BUDHRPC2  BUDHRPTC  BUDHUTL3  

Entry Points

Name Comments DBIA/ICR reference
AGEF(DFN,APCLDT) ;EP
GETMEDS(P,BUDMBD,BUDMED,TAXM,TAXN,TAXC,BUDDNAME,BUDZ,TAXRN) ;EP
DECEASED(DFN,APCLDT) ;EP
SETUP ;EP - set up table 6 and 7 dx and snomed lists in ^BUDHTSSC
AGE(DFN,APCLZ,APCLDT) ;EP
ALLCPT(P,BD,ED,T,A) ;EP - ALL CPTS IN A DATE RANGE IN TAXONOMY T
LOINC(A,B) ;
CTC(P,BDATE,EDATE) ;EP
HL(P,BD,ED) ;EP - was patient homeless on any day in this time period?
DX ;
DOB(DFN) ;EP
FITDNA(P,BDATE,EDATE) ;EP

External References

Name Field # of Occurrence
^%DTC AGE+36
ALLV^APCLAPIU CTC+3
BLDTAX^ATXAPI ALLCPT+11, DX+7
$$SUBLST^BSTSAPI SETUP+12
SUBLST^BSTSAPI SETUP+2
$$DATE^BUDEDU CTC+12
$$DATE^BUDHDU FITDNA+9, FITDNA+13, CTC+15, CTC+21, CTC+27, CTC+32
^DIE SETUP+8, DX+5
IX1^DIK SETUP+15, DX+13
$$VAL^XBDIQ1 FITDNA+9, FITDNA+13, CTC+12, CTC+13, CTC+19, CTC+21, CTC+25, CTC+32, GETMEDS+40
$$VALI^XBDIQ1 CTC+12, CTC+31
$$DT^XLFDT AGE+12
$$FMADD^XLFDT HL+15
$$STRIP^XLFSTR GETMEDS+37

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BUDHTSSC - [#90669.908] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] LOINC+3, LOINC+5, GETMEDS+34, GETMEDS+36, GETMEDS+37, GETMEDS+38, GETMEDS+41, ALLCPT+11
^ATXAX("B" FITDNA+3, GETMEDS+25, GETMEDS+26, GETMEDS+27, GETMEDS+28, DX+7
^ATXLAB - [#9002228] FITDNA+9
^ATXLAB("B" FITDNA+4
^AUPNPAT - [#9000001] HL+1, HL+4, HL+5, HL+6, HL+7, HL+9, HL+10, HL+11, HL+12
^AUPNVCPT - [#9000010.18] CTC+18, ALLCPT+18
^AUPNVCPT("AA" ALLCPT+15, ALLCPT+16
^AUPNVCPT("AD" CTC+17
^AUPNVLAB - [#9000010.09] FITDNA+8, FITDNA+9, FITDNA+11
^AUPNVLAB("AE" FITDNA+5, FITDNA+6, FITDNA+7
^AUPNVMED - [#9000010.14] GETMEDS+12, GETMEDS+13, GETMEDS+17, GETMEDS+30, GETMEDS+32
^AUPNVMED("AA" GETMEDS+10, GETMEDS+11
^AUPNVPOV - [#9000010.07] CTC+11
^AUPNVPOV("AD" CTC+10
^AUPNVPRC - [#9000010.08] CTC+30
^AUPNVPRC("AD" CTC+29
^AUPNVTC - [#9000010.33] CTC+24
^AUPNVTC("AD" CTC+23
^BUDHTSSC - [#90669.908] SETUP+4, SETUP+5, SETUP+7, SETUP+11, SETUP+14*, DX+1, DX+2, DX+4, DX+7, DX+11*
, DX+12*
^BUDHTSSC("AC" CTC+21, CTC+27
^BUDHTSSC("AD" CTC+12
^BUDHTSSC("AP" CTC+32
^BUDHTSSC("AS" CTC+15
^BUDHTSSC("B" CTC+5
^DPT - [#2] DOB+6, DOB+7, DECEASED+7
^LAB(95.3 - [#95.3] LOINC+2, LOINC+4
^PSDRUG - [#50] GETMEDS+15, GETMEDS+17, GETMEDS+33, GETMEDS+35, GETMEDS+39
^TMP($J GETMEDS+5!, GETMEDS+17*, GETMEDS+20, GETMEDS+21, GETMEDS+23*, GETMEDS+24!, GETMEDS+29, GETMEDS+43, GETMEDS+45!, SETUP+9!
, SETUP+10, SETUP+14

Label References

Name Line Occurrences
$$AGE AGEF+7, AGEF+12, AGEF+15
$$DOB AGE+10
$$LOINC FITDNA+12
DX SETUP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% LOINC+1~, LOINC+2*, LOINC+3, LOINC+4*, LOINC+5
A LOINC~, LOINC+2, LOINC+4, HL+3~, HL+9*, HL+10, HL+13*, HL+14*, HL+15, ALLCPT~
, ALLCPT+18
APCLAGEM AGE+17~, AGE+27*, AGE+28*, AGE+29*, AGE+30*, AGE+31*, AGE+32
APCLAGEY AGE+17~, AGE+20*, AGE+21*, AGE+22, AGE+27
APCLD1 AGE+17~, AGE+25*, AGE+28, AGE+31
APCLD2 AGE+17~, AGE+26*, AGE+28, AGE+31
APCLDOB AGE+8~, AGE+10*, AGE+11, AGE+14, AGE+18, AGE+19, AGE+35
APCLDT AGE~, AGE+13*, AGE+14, AGE+18, AGE+19, AGE+35, AGEF~, AGEF+7, AGEF+12, AGEF+15
, DECEASED~, DECEASED+9
APCLM1 AGE+17~, AGE+18*, AGE+20, AGE+25*, AGE+28, AGE+29, AGE+30
APCLM2 AGE+17~, AGE+18*, AGE+20, AGE+26*, AGE+28, AGE+29, AGE+30
APCLY1 AGE+17~, AGE+19*, AGE+20
APCLY2 AGE+17~, AGE+19*, AGE+20
APCLZ AGE~, AGE+8*, AGE+22, AGE+32
B LOINC~, LOINC+3, LOINC+5, FITDNA+5*, HL+3~, HL+10*, HL+11, HL+12, HL+18*, HL+20
, ALLCPT+9~, ALLCPT+14*, ALLCPT+15
BD HL~, HL+21, ALLCPT~, ALLCPT+14
BDATE FITDNA~, FITDNA+1*, FITDNA+5, CTC~, CTC+2*, CTC+3
BUDC ALLCPT+9~, ALLCPT+12*, ALLCPT+17*, ALLCPT+18
BUDCC1 GETMEDS+7~, GETMEDS+8*, GETMEDS+16*, GETMEDS+17, GETMEDS+19*, GETMEDS+22*, GETMEDS+23, GETMEDS+29*, GETMEDS+43*, GETMEDS+46!
BUDD FITDNA+2*, FITDNA+5, FITDNA+6, FITDNA+7, FITDNA+9*, FITDNA+13*, FITDNA+15, GETMEDS+7~, GETMEDS+13*, GETMEDS+14
, GETMEDS+15, GETMEDS+17, GETMEDS+46!
BUDDNAME GETMEDS~, GETMEDS+6*, GETMEDS+39, GETMEDS+46!
BUDI SETUP+1~, SETUP+7*, SETUP+8, DX+4*, DX+5
BUDINBD GETMEDS+7~, GETMEDS+9*, GETMEDS+10, GETMEDS+46!
BUDINED GETMEDS+7~, GETMEDS+9*, GETMEDS+10*, GETMEDS+11, GETMEDS+17, GETMEDS+46!
>> BUDLFOB FITDNA+2*, FITDNA+15*, FITDNA+16
>> BUDLT FITDNA+4*, FITDNA+9
BUDMBD GETMEDS~, GETMEDS+9, GETMEDS+46!
BUDMED GETMEDS~, GETMEDS+9, GETMEDS+46!
BUDMIEN GETMEDS+7~, GETMEDS+11*, GETMEDS+12, GETMEDS+13, GETMEDS+17
BUDS SETUP+1~
BUDTAX SETUP+1~
BUDTAX( DX+9, DX+11
BUDTGT SETUP+1~, DX+6*, DX+7
BUDTOB CTC+1~, CTC+4*, CTC+6, CTC+10, CTC+12*, CTC+15*, CTC+17, CTC+21*, CTC+23, CTC+27*
, CTC+29, CTC+32*, CTC+33
BUDVS CTC+1~
BUDVS( CTC+6, CTC+7, CTC+8
BUDX SETUP+1~, SETUP+4*, SETUP+5, SETUP+7, SETUP+8, SETUP+11, SETUP+14, SETUP+15, DX+1*, DX+2
, DX+4, DX+5, DX+7, DX+11, DX+12, DX+13
BUDZ GETMEDS~, GETMEDS+5!, GETMEDS+8!
BUDZ( GETMEDS+43*
C GETMEDS+33*, GETMEDS+34, GETMEDS+35*, GETMEDS+36, GETMEDS+37, GETMEDS+40*, GETMEDS+41, HL+3~, SETUP+1~, SETUP+14*
, DX+9*, DX+10*, DX+11, DX+12
CPTTAX ALLCPT+9~
CPTTAX( ALLCPT+13, ALLCPT+18
CTR CTC+1~, CTC+6*, CTC+7, CTC+8
D FITDNA+5*, FITDNA+6, FITDNA+7, FITDNA+9, FITDNA+13, GETMEDS+7~, GETMEDS+32*, GETMEDS+33, GETMEDS+35, GETMEDS+38
, GETMEDS+39, ALLCPT+9~, ALLCPT+15*, ALLCPT+16, ALLCPT+18
DA SETUP+8!*, SETUP+15!*, DX+5!*, DX+13!*
DA(1 SETUP+8*, DX+5*
DFN DOB~, DOB+5, DOB+6, DOB+7, AGE~, AGE+9, AGE+10, AGEF~, AGEF+7, AGEF+12
, AGEF+15, DECEASED~, DECEASED+6, DECEASED+7
DIC SETUP+8!, DX+5!
DIE SETUP+8*!, DX+5*!
DIK SETUP+15!*, DX+13!*
DR SETUP+8!*, DX+5!*
DT AGE+12*, AGE+13, HL+14
E FITDNA+5*, HL+19*, HL+21, ALLCPT+9~, ALLCPT+14*, ALLCPT+15
ED HL~, HL+20, ALLCPT~, ALLCPT+14
EDATE FITDNA~, FITDNA+1, FITDNA+5, CTC~, CTC+2, CTC+3
G GETMEDS+7~, GETMEDS+31*, GETMEDS+34*, GETMEDS+36*, GETMEDS+37*, GETMEDS+38*, GETMEDS+39*, GETMEDS+41*, GETMEDS+42*, GETMEDS+43
, ALLCPT+9~, ALLCPT+15*
I SETUP+1~, SETUP+14*
J FITDNA+11*, FITDNA+12, ALLCPT+9~, ALLCPT+13*, ALLCPT+15, ALLCPT+16, ALLCPT+18
>> L FITDNA+6*, FITDNA+7
N HL+3~, HL+9*, HL+10, HL+13, SETUP+1~, SETUP+11*, SETUP+12
OUT SETUP+1~, SETUP+10*, SETUP+12
P FITDNA~, FITDNA+5, FITDNA+6, FITDNA+7, CTC~, CTC+3, GETMEDS~, GETMEDS+10, GETMEDS+11, HL~
, HL+1, HL+4, HL+5, HL+6, HL+7, HL+9, HL+10, HL+11, HL+12, ALLCPT~
, ALLCPT+15, ALLCPT+16
T FITDNA+3*, FITDNA+10, FITDNA+12, GETMEDS+7~, GETMEDS+25*, GETMEDS+38, ALLCPT~, ALLCPT+7*, ALLCPT+8, ALLCPT+11
T1 GETMEDS+7~, GETMEDS+26*, GETMEDS+36, GETMEDS+37
>> T2 GETMEDS+27*, GETMEDS+34
>> T3 GETMEDS+28*, GETMEDS+41
TAXC GETMEDS~, GETMEDS+3*, GETMEDS+27, GETMEDS+42
TAXM GETMEDS~, GETMEDS+1*, GETMEDS+25, GETMEDS+42
TAXN GETMEDS~, GETMEDS+2*, GETMEDS+26, GETMEDS+42
TAXRN GETMEDS~
>> TAXRXN GETMEDS+4*, GETMEDS+28
TIEN CTC+1~, CTC+5*, CTC+12, CTC+15, CTC+21, CTC+27, CTC+32
U DOB+6, DOB+7, LOINC+2, LOINC+4, FITDNA+9, FITDNA+11, FITDNA+13, CTC+7, CTC+8, CTC+12
, CTC+15, CTC+21, CTC+27, CTC+32, GETMEDS+13, GETMEDS+17, GETMEDS+29, GETMEDS+32, GETMEDS+33, GETMEDS+35
, GETMEDS+39, HL+6, HL+7, HL+11, HL+12, HL+15, HL+18, HL+19, ALLCPT+11, ALLCPT+18
, SETUP+5, SETUP+11, SETUP+14, DX+2, DX+7, DX+11
V ALLCPT+9~
VDATE CTC+1~, CTC+8*, CTC+12, CTC+15, CTC+21, CTC+27, CTC+32
VIEN CTC+1~, CTC+7*, CTC+10, CTC+17, CTC+23, CTC+29
X AGE+8~, AGE+37, FITDNA+7*, FITDNA+8, FITDNA+9, FITDNA+11, FITDNA+13, CTC+1~, CTC+10*, CTC+11
, CTC+12, CTC+13, CTC+17*, CTC+18, CTC+19, CTC+21, CTC+23*, CTC+24, CTC+25, CTC+29*
, CTC+30, CTC+31, CTC+32, DECEASED+7~*, DECEASED+8, DECEASED+10, GETMEDS+7~, GETMEDS+19*, GETMEDS+20*, GETMEDS+21
, GETMEDS+23, GETMEDS+29*, GETMEDS+43, HL+3~, HL+4*, HL+5, HL+9, HL+15, HL+16*, HL+22*
, HL+23, ALLCPT+9~, ALLCPT+16*, ALLCPT+18, SETUP+12*, DX+9*, DX+11
X1 AGE+8~, AGE+35*
X2 AGE+8~, AGE+35*
Y CTC+1~, CTC+12*, CTC+13*, CTC+14, CTC+15, CTC+19*, CTC+20, CTC+21, CTC+25*, CTC+26
, CTC+27, CTC+31*, CTC+32, AGEF+6~, AGEF+7*, AGEF+8, AGEF+9, AGEF+12*, AGEF+15*, AGEF+18
, GETMEDS+7~, GETMEDS+21*, GETMEDS+23, GETMEDS+29*, GETMEDS+30, GETMEDS+32, GETMEDS+40, HL+3~, HL+5*, HL+6
, HL+7, HL+17*, HL+18, HL+19
Z CTC+1~, HL+3~
Z( HL+15*, HL+17, HL+18, HL+19

Marked Items

Name Field # of Occurrence
$T(SUBLST^BSTSAPI SETUP+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All