BUDEUTL2 ; IHS/CMI/LAB - utilities for BUD ;
Source file <BUDEUTL2.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
AGEF(DFN,APCLDT) | ;EP
|
|
AGE(DFN,APCLZ,APCLDT) | ;EP
|
|
GETMEDS(P,BUDMBD,BUDMED,TAXM,TAXN,TAXC,BUDDNAME,BUDZ) | ;EP
|
|
DECEASED(DFN,APCLDT) | ;EP
|
|
ALLCPT(P,BD,ED,T,A) | ;EP - ALL CPTS IN A DATE RANGE IN TAXONOMY T
|
|
HL(P,BD,ED) | ;EP - was patient homeless on any day in this time period?
|
|
DOB(DFN) | ;EP
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ATXAX - [#9002226] | GETMEDS+32, GETMEDS+34, GETMEDS+35, GETMEDS+36, ALLCPT+11 |
^ATXAX("B" | GETMEDS+24, GETMEDS+25, GETMEDS+26 |
^AUPNPAT - [#9000001] | HL+1, HL+4, HL+5, HL+6, HL+7, HL+9, HL+10, HL+11, HL+12 |
^AUPNVCPT - [#9000010.18] | ALLCPT+18 |
^AUPNVCPT("AA" | ALLCPT+15, ALLCPT+16 |
^AUPNVMED - [#9000010.14] | GETMEDS+11, GETMEDS+12, GETMEDS+16, GETMEDS+28, GETMEDS+30 |
^AUPNVMED("AA" | GETMEDS+9, GETMEDS+10 |
^DPT - [#2] | DOB+6, DOB+7, DECEASED+7 |
^PSDRUG - [#50] | GETMEDS+14, GETMEDS+16, GETMEDS+31, GETMEDS+33, GETMEDS+37 |
^TMP($J | GETMEDS+4!, GETMEDS+16*, GETMEDS+19, GETMEDS+20, GETMEDS+22*, GETMEDS+23!, GETMEDS+27, GETMEDS+39, GETMEDS+41! |
Name | Line Occurrences |
---|---|
$$AGE | AGEF+7, AGEF+12, AGEF+15 |
$$DOB | AGE+10 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | 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 | 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 |
BUDC | ALLCPT+9~, ALLCPT+12*, ALLCPT+17*, ALLCPT+18 |
BUDCC1 | GETMEDS+6~, GETMEDS+7*, GETMEDS+15*, GETMEDS+16, GETMEDS+18*, GETMEDS+21*, GETMEDS+22, GETMEDS+27*, GETMEDS+39*, GETMEDS+42! |
BUDD | GETMEDS+6~, GETMEDS+12*, GETMEDS+13, GETMEDS+14, GETMEDS+16, GETMEDS+42! |
BUDDNAME | GETMEDS~, GETMEDS+5*, GETMEDS+37, GETMEDS+42! |
BUDINBD | GETMEDS+6~, GETMEDS+8*, GETMEDS+9, GETMEDS+42! |
BUDINED | GETMEDS+6~, GETMEDS+8*, GETMEDS+9*, GETMEDS+10, GETMEDS+16, GETMEDS+42! |
BUDMBD | GETMEDS~, GETMEDS+8, GETMEDS+42! |
BUDMED | GETMEDS~, GETMEDS+8, GETMEDS+42! |
BUDMIEN | GETMEDS+6~, GETMEDS+10*, GETMEDS+11, GETMEDS+12, GETMEDS+16 |
BUDZ | GETMEDS~, GETMEDS+4!, GETMEDS+7! |
BUDZ( | GETMEDS+39* |
C | GETMEDS+31*, GETMEDS+32, GETMEDS+33*, GETMEDS+34, GETMEDS+35, HL+3~ |
CPTTAX | ALLCPT+9~ |
CPTTAX( | ALLCPT+13, ALLCPT+18 |
D | GETMEDS+6~, GETMEDS+30*, GETMEDS+31, GETMEDS+33, GETMEDS+36, GETMEDS+37, ALLCPT+9~, ALLCPT+15*, ALLCPT+16, ALLCPT+18 |
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 |
DT | AGE+12*, AGE+13, HL+14 |
E | HL+19*, HL+21, ALLCPT+9~, ALLCPT+14*, ALLCPT+15 |
ED | HL~, HL+20, ALLCPT~, ALLCPT+14 |
G | GETMEDS+6~, GETMEDS+29*, GETMEDS+32*, GETMEDS+34*, GETMEDS+35*, GETMEDS+36*, GETMEDS+37*, GETMEDS+38*, GETMEDS+39, ALLCPT+9~ , ALLCPT+15* |
J | ALLCPT+9~, ALLCPT+13*, ALLCPT+15, ALLCPT+16, ALLCPT+18 |
N | HL+3~, HL+9*, HL+10, HL+13 |
P | GETMEDS~, GETMEDS+9, GETMEDS+10, 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 | GETMEDS+6~, GETMEDS+24*, GETMEDS+36, ALLCPT~, ALLCPT+7*, ALLCPT+8, ALLCPT+11 |
T1 | GETMEDS+6~, GETMEDS+25*, GETMEDS+34, GETMEDS+35 |
>> T2 | GETMEDS+26*, GETMEDS+32 |
TAXC | GETMEDS~, GETMEDS+3*, GETMEDS+26, GETMEDS+38 |
TAXM | GETMEDS~, GETMEDS+1*, GETMEDS+24, GETMEDS+38 |
TAXN | GETMEDS~, GETMEDS+2*, GETMEDS+25, GETMEDS+38 |
U | DOB+6, DOB+7, GETMEDS+12, GETMEDS+16, GETMEDS+27, GETMEDS+30, GETMEDS+31, GETMEDS+33, GETMEDS+37, HL+6 , HL+7, HL+11, HL+12, HL+15, HL+18, HL+19, ALLCPT+11, ALLCPT+18 |
V | ALLCPT+9~ |
X | AGE+8~, AGE+37, DECEASED+7~*, DECEASED+8, DECEASED+10, GETMEDS+6~, GETMEDS+18*, GETMEDS+19*, GETMEDS+20, GETMEDS+22 , GETMEDS+27*, GETMEDS+39, HL+3~, HL+4*, HL+5, HL+9, HL+15, HL+16*, HL+22*, HL+23 , ALLCPT+9~, ALLCPT+16*, ALLCPT+18 |
X1 | AGE+8~, AGE+35* |
X2 | AGE+8~, AGE+35* |
Y | AGEF+6~, AGEF+7*, AGEF+8, AGEF+9, AGEF+12*, AGEF+15*, AGEF+18, GETMEDS+6~, GETMEDS+20*, GETMEDS+22 , GETMEDS+27*, GETMEDS+28, GETMEDS+30, HL+3~, HL+5*, HL+6, HL+7, HL+17*, HL+18, HL+19 |
Z | HL+3~ |
Z( | HL+15*, HL+17, HL+18, HL+19 |