BQITBMI ;PRXM/HC/ALA-Calculate BMI value ; 04 Apr 2006 1:22 PM
Source file <BQITBMI.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
OBMI(BDFN,TMFRAME) | ;EP
|
|
BP(BDFN,TMFRAME) | ;EP -- Blood Pressure for a single patient
; Get the Mean Blood Pressure value for a patient and a time frame |
|
OB(BDFN,BBMI,AGE) | ;EP - obese
|
|
ABP(TMFRAME,TPGLOB) | ;EP -- Blood Pressure for all patients
; Input ; TMFRAME - Timeframe for search ; TPGLOB - Temporary global |
|
FD | ; Find data
|
|
OW(BDFN,BBMI,AGE) | ;EP - overweight
|
|
ABMI(TMFRAME,TPGLOB) | ;EP - Get BMIs for all patients
; Input ; TMFRAME - Timeframe for search ; TPGLOB - Temporary global |
Name | Field # of Occurrence |
---|---|
$$AGE^BQIAGE | OBMI+11, FD+27, FD+70, ABMI+29, ABMI+48, ABMI+61, ABMI+85 |
$$DATE^BQIUL1 | OBMI+8, OBMI+9, OBMI+10, BP+10, ABP+8, ABMI+10, ABMI+11, ABMI+12 |
$$FIND1^DIC | OBMI+5, OBMI+6, BP+12, BP+13, ABP+9, ABP+10, ABMI+13, ABMI+14 |
$$VFIELD^DILFD | FD+5, FD+22, BP+20, ABP+23, ABMI+27 |
$$GET1^DIQ | FD+5, FD+22, BP+20, ABP+17, ABP+18, ABP+21, ABP+23, ABP+24, ABP+25, ABP+28 , ABMI+21, ABMI+24, ABMI+27, ABMI+28, ABMI+32 |
FileNo | Call Tags |
---|---|
^DIC(40.7 - [#40.7] | FIND1^DIC |
^AUPNVSIT - [#9000010] | GET1^DIQ |
^AUPNVMSR - [#9000010.01] | GET1^DIQ, VFIELD^DILFD |
^AUTTMSR - [#9999999.07] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^APCLBMI - [#9001003.9] | OB+14, OB+15, OW+14, OW+15 |
^APCLBMI("H" | OB+11, OB+12, OW+11, OW+12 |
^AUPNVMSR - [#9000010.01] | FD+6, FD+7, FD+23, FD+24, BP+18, BP+24 |
^AUPNVMSR("AA" | FD+1, FD+3, FD+18, FD+20, BP+15, BP+17 |
^AUPNVMSR("AD" | ABP+20, ABMI+23 |
^AUPNVSIT - [#9000010] | FD+8, FD+9, FD+25, FD+26, FD+70, BP+21, BP+22, BP+24, ABMI+61, ABMI+63 , ABMI+64, ABMI+85, ABMI+87, ABMI+88 |
^AUPNVSIT("B" | ABP+14, ABP+16, ABMI+18, ABMI+20 |
^DPT - [#2] | OB+9, OW+9 |
^TMP("BQIBM" | OBMI+17, ABMI+15 |
^TMP("BQIBPA" | ABP+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | BP+7~ |
AGE | OBMI+1~, FD+27*, FD+70*, FD+71, OB~, OB+8, OB+11, OB+12, OW~, OW+8 , OW+11, OW+12, ABMI+5~, ABMI+61*, ABMI+62, ABMI+85*, ABMI+86 |
BBMI | OB~, OB+7, OB+14, OB+15, OW~, OW+7, OW+14, OW+15 |
BCLN | BP+13*, BP+21, ABP+4~, ABP+10*, ABP+17 |
BDATE | OBMI+1~, OBMI+7*, OBMI+15*, OBMI+16, FD+17, BP+7~, BP+9*, BP+14, ABP+4~, ABP+8* , ABP+13, ABMI+5~, ABMI+12*, ABMI+18 |
BDATE19 | OBMI+2~, OBMI+9*, FD+11, FD+29, FD+37, ABMI+7~, ABMI+10*, ABMI+49 |
BDATE50 | OBMI+2~, OBMI+10*, FD+12, FD+30, FD+38, ABMI+7~, ABMI+11*, ABMI+50 |
BDFN | OBMI~, OBMI+11, FD+1, FD+3, FD+13, FD+14, FD+15, FD+18, FD+20, FD+27 , FD+31, FD+32, FD+33, FD+36, FD+37, FD+38, FD+39, FD+43, FD+44, FD+45 , FD+46, FD+50, FD+51, FD+54, FD+55, FD+58, FD+59, FD+62, FD+63, FD+70 , OB~, OB+9, OW~, OW+9, BP~, BP+15, BP+17 |
BGPBMIH | OBMI+3~, FD+69*, FD+71 |
BHT | OBMI+1~, OBMI+5*, FD+1, FD+3, ABMI+5~, ABMI+13*, ABMI+25, ABMI+34 |
BMI | ABMI+6~, ABMI+60*, ABMI+62, ABMI+84*, ABMI+86 |
BQBDT | ABP+5~, ABP+33*, ABP+34*, ABP+35, ABP+36, ABP+37 |
BTYP | BP+12*, BP+15, BP+17, ABP+4~, ABP+9*, ABP+21, ABMI+5~, ABMI+24*, ABMI+25, ABMI+34 , ABMI+39 |
BWT | OBMI+1~, OBMI+6*, FD+18, FD+20, ABMI+5~, ABMI+14*, ABMI+25, ABMI+39 |
CAGE | OBMI+2~, OBMI+11*, OBMI+13, FD+11, FD+12, FD+29, FD+30, FD+37, FD+38, FD+40 , ABMI+6~, ABMI+29*, ABMI+31, ABMI+33, ABMI+48*, ABMI+49, ABMI+50, ABMI+52, ABMI+62, ABMI+86 |
CT | BP+7~, BP+14*, BP+23*, BP+24, BP+30*, BP+31, BP+36*, BP+38, BP+39, ABP+5~ , ABP+38*, ABP+39, ABP+41, ABP+44*, ABP+47 |
DATE | OBMI+1~, OBMI+16*, FD+1*, FD+3, FD+6, FD+17*, FD+18*, FD+20, FD+23, BP+14* , BP+15*, BP+17, ABP+4~, ABP+13*, ABP+14*, ABP+16, ABP+28, ABMI+5~, ABMI+17*, ABMI+18* , ABMI+20, ABMI+36, ABMI+37, ABMI+38, ABMI+40, ABMI+41, ABMI+42 |
DFN | ABP+4~, ABP+24*, ABP+27, ABP+28, ABP+30*, ABP+31*, ABP+32, ABP+34, ABP+35, ABP+36 , ABP+37, ABP+47, ABMI+5~, ABMI+28*, ABMI+29, ABMI+33, ABMI+36, ABMI+37, ABMI+38, ABMI+40 , ABMI+41, ABMI+42, ABMI+44*, ABMI+45*, ABMI+47, ABMI+48, ABMI+51, ABMI+55, ABMI+56, ABMI+57 , ABMI+58, ABMI+61, ABMI+62, ABMI+63, ABMI+64, ABMI+67, ABMI+68, ABMI+71, ABMI+72, ABMI+75 , ABMI+76, ABMI+80, ABMI+81, ABMI+85, ABMI+86, ABMI+87, ABMI+88 |
DIA | BP+33*, BP+36, ABP+5~, ABP+43*, ABP+44 |
DT | OBMI+7, BP+9, ABP+8, ABMI+12 |
E | BP+7~ |
EDATE | OBMI+1~, OBMI+8*, FD+1, FD+18, BP+7~, BP+10*, BP+15, ABP+4~, ABP+8*, ABP+14 , ABMI+5~, ABMI+12*, ABMI+17 |
H | ABMI+5~, ABMI+35*, ABMI+36 |
HDATE | OBMI+1~, OBMI+14*, FD+6*, FD+11*, FD+12* |
HIEN | OBMI+3~, FD+7*, FD+44*, FD+51*, FD+63*, FD+71, ABMI+56*, ABMI+63, ABMI+68*, ABMI+81* , ABMI+87 |
HT | OBMI+1~, OBMI+14*, FD+6*, FD+11*, FD+12*, FD+15, FD+35*, FD+41*, FD+42, FD+48 , FD+49*, FD+60, FD+61*, FD+64, FD+66, FD+69*, ABMI+5~, ABMI+46*, ABMI+53*, ABMI+54 , ABMI+60*, ABMI+65, ABMI+66*, ABMI+78, ABMI+79*, ABMI+83, ABMI+84* |
HVISIT | OBMI+1~, FD+7*, FD+8, FD+9, FD+13, FD+43*, FD+50*, FD+62*, FD+71, ABMI+6~ , ABMI+55*, ABMI+63, ABMI+67*, ABMI+80*, ABMI+87 |
HVSDTM | OBMI+1~, FD+9*, FD+11, FD+12, FD+13, FD+14, FD+15, ABMI+6~ |
IEN | OBMI+1~, FD+2*, FD+3*, FD+5, FD+6, FD+7, FD+14, FD+19*, FD+20*, FD+22 , FD+23, FD+24, FD+32, BP+16*, BP+17*, BP+18, BP+20, BP+24, ABP+4~ |
IENS | BP+30*, BP+35*, BP+39, ABP+5~, ABP+38*, ABP+45*, ABP+47 |
MIEN | ABP+4~, ABP+19*, ABP+20*, ABP+21, ABP+23, ABP+24, ABP+25, ABP+28, ABP+40*, ABP+41* , ABP+42, ABP+45, ABMI+5~, ABMI+22*, ABMI+23*, ABMI+24, ABMI+27, ABMI+28, ABMI+32, ABMI+38 , ABMI+42 |
N | BP+7~, BP+26*, BP+27, BP+29, BP+32*, BP+33, BP+35, ABP+5~, ABP+35*, ABP+36 , ABP+37, ABP+42*, ABP+43 |
QFL | OBMI+1~, OBMI+16*, FD+1, FD+3, FD+17*, FD+18, FD+20, FD+35*, FD+36, FD+47* , FD+64*, BP+14*, BP+15, BP+17, ABMI+6~, ABMI+46*, ABMI+47, ABMI+59*, ABMI+62*, ABMI+86* |
R | OB+6~, OB+11*, OB+12*, OB+13, OB+14, OB+15, OW+6~, OW+11*, OW+12*, OW+13 , OW+14, OW+15 |
RESULT | ABP+4~, ABP+25*, ABMI+5~, ABMI+32*, ABMI+35, ABMI+40 |
RESULTS | FD+39*, FD+41, FD+49, FD+53, FD+57, FD+61, ABMI+6~, ABMI+51*, ABMI+53, ABMI+66 , ABMI+70, ABMI+74, ABMI+79 |
RIEN | BP+34~, BP+35* |
SEX | OB+6~, OB+9*, OB+10, OB+11, OB+12, OW+6~, OW+9*, OW+10, OW+11, OW+12 |
SYS | BP+7~, BP+27*, BP+28, BP+29, BP+32*, BP+36, ABP+5~, ABP+36*, ABP+37, ABP+42* , ABP+44 |
TBP | BP+7~, BP+8!, BP+37! |
TBP( | BP+24*, BP+26, BP+27, BP+33, BP+35 |
TDIA | BP+7~, BP+30*, BP+36*, BP+39, ABP+5~, ABP+38*, ABP+44*, ABP+47 |
TMDATA | OBMI+17*, OBMI+18, FD+13, FD+14*, FD+15*, FD+31, FD+32*, FD+33*, FD+36, FD+37 , FD+38, FD+39, FD+43, FD+44, FD+45, FD+46, FD+50, FD+51, FD+54, FD+55 , FD+58, FD+59, FD+62, FD+63, FD+68, ABP+4~, ABP+11*, ABP+12, ABP+27, ABP+28 , ABP+31, ABP+32, ABP+34, ABP+35, ABP+36, ABP+37, ABP+48, ABMI+5~, ABMI+15*, ABMI+16 , ABMI+33, ABMI+36*, ABMI+37*, ABMI+38*, ABMI+40*, ABMI+41*, ABMI+42*, ABMI+45, ABMI+47, ABMI+51 , ABMI+55, ABMI+56, ABMI+57, ABMI+58, ABMI+67, ABMI+68, ABMI+71, ABMI+72, ABMI+75, ABMI+76 , ABMI+80, ABMI+81, ABMI+89 |
TMFRAME | OBMI~, OBMI+8, BP~, BP+10, ABP~, ABP+8, ABMI~, ABMI+12 |
TPGLOB | ABP~, ABP+47, ABMI~, ABMI+62, ABMI+63*, ABMI+64*, ABMI+86, ABMI+87*, ABMI+88* |
TSYS | BP+7~, BP+30*, BP+36*, BP+39, ABP+5~, ABP+38*, ABP+44*, ABP+47 |
TTBP | BP+7~, BP+8!, BP+37!, ABP+4~, ABP+33!, ABP+46! |
TTBP( | BP+29*, BP+31, BP+32, ABP+37*, ABP+39, ABP+41, ABP+42 |
U | FD+6, FD+7, FD+8, FD+9, FD+14, FD+15, FD+23, FD+24, FD+25, FD+26 , FD+32, FD+33, FD+43, FD+44, FD+45, FD+46, FD+50, FD+51, FD+54, FD+55 , FD+58, FD+59, FD+62, FD+63, FD+70, OB+9, OB+14, OB+15, OW+9, OW+14 , OW+15, BP+18, BP+21, BP+22, BP+24, BP+27, BP+33, BP+35, BP+39, ABP+36 , ABP+37, ABP+47, ABMI+37, ABMI+38, ABMI+41, ABMI+42, ABMI+55, ABMI+56, ABMI+57, ABMI+58 , ABMI+61, ABMI+63, ABMI+64, ABMI+67, ABMI+68, ABMI+71, ABMI+72, ABMI+75, ABMI+76, ABMI+80 , ABMI+81, ABMI+85, ABMI+87, ABMI+88 |
UID | OBMI+17, ABP+6~, ABP+7*, ABP+11, ABMI+6~, ABMI+8*, ABMI+15 |
VIENS | BP+7~, BP+30*, BP+36*, BP+39, ABP+5~, ABP+38*, ABP+44*, ABP+47 |
VISIT | BP+7~, BP+18*, BP+21, BP+22, BP+24, BP+27*, BP+28, BP+29, BP+30*, BP+31* , BP+32, BP+36, ABP+4~, ABP+15*, ABP+16*, ABP+17, ABP+18, ABP+20, ABP+28, ABP+36* , ABP+37, ABP+38*, ABP+39*, ABP+41, ABP+42, ABP+44, ABMI+5~, ABMI+19*, ABMI+20*, ABMI+21 , ABMI+23, ABMI+37, ABMI+41 |
VSDTM | FD+35*, FD+36*, FD+37, FD+38, FD+39, FD+43, FD+44, FD+45, FD+46, FD+50 , FD+51, FD+54, FD+55, FD+58, FD+59, FD+62, FD+63, ABMI+6~, ABMI+46*, ABMI+47* , ABMI+49, ABMI+50, ABMI+51, ABMI+55, ABMI+56, ABMI+57, ABMI+58, ABMI+67, ABMI+68, ABMI+71 , ABMI+72, ABMI+75, ABMI+76, ABMI+80, ABMI+81 |
W | ABMI+5~ |
WDATE | OBMI+1~, OBMI+14*, FD+23*, FD+29*, FD+30* |
WIEN | OBMI+3~, FD+24*, FD+46*, FD+55*, FD+59*, FD+71, ABMI+58*, ABMI+64, ABMI+72*, ABMI+76* , ABMI+88 |
WT | OBMI+1~, OBMI+14*, FD+23*, FD+27, FD+29*, FD+30*, FD+33, FD+35*, FD+41*, FD+42 , FD+52, FD+53*, FD+56, FD+57*, FD+64, FD+66, FD+69*, ABMI+5~, ABMI+46*, ABMI+53* , ABMI+54, ABMI+60*, ABMI+69, ABMI+70*, ABMI+73, ABMI+74*, ABMI+83, ABMI+84* |
WVISIT | OBMI+3~, FD+24*, FD+25, FD+26, FD+31, FD+45*, FD+54*, FD+58*, FD+70, FD+71 , ABMI+6~, ABMI+57*, ABMI+61, ABMI+64, ABMI+71*, ABMI+75*, ABMI+85, ABMI+88 |
WVSDTM | OBMI+3~, FD+26*, FD+27, FD+29, FD+30, FD+31, FD+32, FD+33, ABMI+6~ |
>> ZTSK | ABP+7, ABMI+8 |