BQIVFTLK ;PRXM/HC/ALA-VFILE TABLE LOOKUP ; 06 Apr 2007 3:47 PM
Source file <BQIVFTLK.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CLS(DATA,FILE) | ; EP - Get Clinical Classifications
|
|
WP(FILE) | ; Exclude identifiers that are word processing fields
|
|
SP(DATA,FILE) | ; EP - Get Supplements
|
|
ERR | ;
|
|
EVT(DATA) | ;EP - CMET Events
|
|
GPORD(DATA) | ;EP - ORDERABLE ITEMS
|
|
MS(DATA,FILE) | ; EP - Get Measurement Types only
; excluding the 'ASQ' ones and BMIP |
|
EXM(DATA,FILE) | ;EP - Get Exams
|
|
HS(DATA,FILE) | ; EP - Get Health Summary Types
|
|
CHK(BFLD) | ;EP - Check for definition of a field
|
|
TBL(DATA,FILE,INAC,VALS) | ;EP - Get table data if generic table lookup cannot
; be used since inactive field may have length if active |
|
LKP(DATA,FNBR,VALUE,SCREEN) | ;EP -- BQI VFILE TABLE LOOKUP
|
|
MOD(DATA,FILE) | ; EP - Get CPT Modifiers
|
|
HF(DATA,FIL) | ;EP - Get Health Factors only
|
|
DONE | ||
PRST | ; Presort results so that matching SERVICE UNIT (and, if possible, AREA) are listed 1st
|
|
TAB(DATA,FNBR) | ;EP -- BQI GET VFILE TABLE
|
|
ETI(DATA,FILE) | ; EP - Get Etiology
|
Name | Field # of Occurrence |
---|---|
^%ZTER | ERR+1 |
EN^BQIRSPR | SP+3 |
$$TKO^BQIUL1 | LKP+60 |
$$ICDD^BQIUL3 | LKP+82 |
TBL^BQIUTB | TAB+57 |
FH80^BQIUTB5 | TAB+45 |
FHREL^BQIUTB5 | TAB+51 |
EVTAX^BQIVFTRT | TAB+55 |
EVTY^BQIVFTRT | TAB+54 |
FIND^DIC | LKP+36 |
$$GET1^DID | TBL+17 |
FIELD^DID | CHK+2, CHK+3, CHK+4 |
$$ROOT^DILFD | TBL+16 |
$$VFILE^DILFD | TBL+14 |
$$GET1^DIQ | LKP+70, LKP+77, GPORD+6, GPORD+7, GPORD+8, TBL+28, PRST+2, PRST+3 |
$$NOW^XLFDT | ERR+3 |
$$VERSION^XPDUTL | LKP+23, LKP+29, LKP+53, LKP+55, LKP+81, LKP+84 |
RPC Name | Call Tags |
---|---|
BQI VFILE TABLE LOOKUP | LKP |
BQI GET VFILE TABLE | TAB |
FileNo | Call Tags |
---|---|
^BTPW(90621 - [#90621] | GET1^DIQ |
^AUTTLOC - [#9999999.06] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^APCHSCTL - [#9001015] | HS+4, HS+5 |
^APCHSUP - [#9001022] | SP+13, SP+18, SP+19 |
^APCHSUP("B" | SP+8, SP+12 |
^AUTTCMOD - [#9999999.88] | MOD+4, MOD+5 |
^AUTTEXAM - [#9999999.15] | EXM+4, EXM+5, EXM+6, EXM+7 |
^AUTTHF - [#9999999.64] | HF+5, HF+7, HF+8, HF+9 |
^AUTTMSR - [#9999999.07] | MS+5, MS+6 |
^BKM( | ETI+4, ETI+5, ETI+6 |
^BKMV( | CLS+4, CLS+5, CLS+6 |
^BTPW(90621 - [#90621] | GPORD+5, EVT+4, EVT+5, EVT+6 |
^DD( | WP+4, WP+5, WP+6 |
^DD("DD" | ERR+3 |
^DIC(4 - [#4] | LKP+87 |
^TMP("BQIVFSORT" | PRST+4 |
^TMP("BQIVFTLK" | LKP+9, ERR+5*, TAB+6 |
^TMP("DILIST" | LKP+40 |
Name | Line Occurrences |
---|---|
$$WP | LKP+26 |
CHK | LKP+47, LKP+49, LKP+50 |
CLS | TAB+39 |
ETI | TAB+41 |
EVT | TAB+53 |
EXM | TAB+23 |
GPORD | TAB+47 |
HF | TAB+31 |
HS | TAB+35 |
MOD | TAB+43 |
MS | TAB+33 |
PRST | LKP+62 |
SP | TAB+37 |
TBL | TAB+15, TAB+17, TAB+20, TAB+21 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AREA | PRST+1~, PRST+8*, PRST+9*, PRST+10, PRST+14*, PRST+18*, PRST+28*, PRST+29, PRST+30, PRST+31 , PRST+32*, PRST+33*, PRST+35, PRST+36 |
BAT | GPORD+1~ |
BFLD | CHK~, CHK+2, CHK+3, CHK+4 |
>> BMXSEC | LKP+16*, LKP+17*, LKP+38*, ERR+4*, TAB+13*, TBL+14* |
BQIAS | PRST+6!, PRST+17, PRST+19! |
BQIAS( | PRST+10*, PRST+11, PRST+12, PRST+15, PRST+16, PRST+18 |
BQIAS("" | PRST+18 |
BQISA | PRST+6!, PRST+19! |
BQISA( | PRST+10*, PRST+13, PRST+14 |
BQISORT | PRST+6!, PRST+37! |
BQISORT( | PRST+22*, PRST+29, PRST+30, PRST+31!, PRST+33, PRST+35, PRST+36 |
BQISORT("@" | PRST+12*, PRST+14*, PRST+16*, PRST+18* |
BQX | CHK+8! |
BQX("FIELD LE | NGTH" , CHK+6 |
BQX("LABEL" | CHK+7 |
BQX("TYPE" | CHK+5 |
CT | PRST+1~, PRST+20*, PRST+22*, PRST+28*, PRST+30*, PRST+36* |
DAREA | PRST+1~, PRST+3*, PRST+11, PRST+12, PRST+15, PRST+16 |
DATA | LKP~, LKP+9*, LKP+10, LKP+42, LKP+61, LKP+71, LKP+89, LKP+91, ERR+5, TAB~ , TAB+6*, TAB+7, TAB+15, TAB+17, TAB+20, TAB+21, TAB+23, TAB+31, TAB+33, TAB+35 , TAB+37, TAB+39, TAB+41, TAB+43, TAB+45, TAB+47, TAB+51, TAB+53, TAB+54, TAB+55 , TAB+57, HF~, HF+3, HF+9, HF+10, EXM~, EXM+3, EXM+8, EXM+9, GPORD~ , GPORD+3, GPORD+9, GPORD+10, EVT~, EVT+2, EVT+7, EVT+8, HS~, HS+3, HS+7 , HS+8, CLS~, CLS+2, CLS+7, CLS+8, ETI~, ETI+2, ETI+7, ETI+8, MOD~ , MOD+2, MOD+6, MOD+7, SP~, SP+3, SP+4, SP+20, SP+21, MS~, MS+4 , MS+8, MS+9, TBL~, TBL+19, TBL+28, DONE |
DDATA | LKP+7~, LKP+40*, LKP+41, LKP+64, LKP+66, LKP+67, LKP+74, LKP+75, LKP+78*, LKP+79 , LKP+83, LKP+85, LKP+88, LKP+89, PRST+7, PRST+8, PRST+12, PRST+14, PRST+16, PRST+18 , PRST+21, PRST+22, PRST+23, PRST+24, PRST+25, PRST+26, PRST+27, PRST+30, PRST+36 |
DESC | LKP+19~, LKP+68*, LKP+70*, LKP+71, LKP+73~, LKP+77*, LKP+78, LKP+82*, LKP+83, CLS+1~ , CLS+6*, CLS+7, ETI+1~, ETI+5*, ETI+7, MOD+1~, MOD+5*, MOD+6, SP+1~, SP+17* , SP+19*, SP+20 |
DLEN | CHK+1~, CHK+6*, CHK+7, TBL+12~, TBL+18*, TBL+19 |
DN | SP+1~, SP+17*, SP+18*, SP+19 |
DUZ(2 | PRST+2, PRST+3 |
ERRDTM | ERR+2~, ERR+3*, ERR+4 |
ERROR | LKP+20~, LKP+38 |
ERROR("DIERR" | LKP+38 |
>> EVIEN | TAB+54, TAB+55 |
EVT | GPORD+1~, GPORD+8*, GPORD+9 |
>> EVTYPE | TAB+55 |
EXEC | SP+1~, SP+13*, SP+14 |
FIELD | LKP+19~, LKP+26*, LKP+27*, LKP+28*, LKP+29*, LKP+30*, LKP+36 |
FIL | HF~ |
FILE | LKP+19~, LKP+24*, LKP+26, LKP+36, LKP+51, LKP+52, LKP+54, LKP+57, LKP+79, LKP+80 , LKP+82, LKP+86, EXM~, HS~, CLS~, CLS+4, CLS+5, CLS+6, ETI~, ETI+4 , ETI+5, ETI+6, MOD~, SP~, MS~, WP~, WP+4, WP+5, TBL~, TBL+14 , TBL+16, TBL+17, TBL+28 |
FLAGS | LKP+19~, LKP+28*, LKP+32*, LKP+33*, LKP+34*, LKP+36 |
>> FLD | LKP+69*, LKP+70 |
FNBR | LKP~, LKP+15*, LKP+17, LKP+22, LKP+24, LKP+27, LKP+28, LKP+29, LKP+30, LKP+34 , LKP+62, LKP+69, LKP+70, LKP+77, CHK+2, CHK+3, CHK+4, TAB~, TAB+12*, TAB+13 , TAB+15, TAB+17, TAB+19, TAB+20, TAB+21, TAB+23, TAB+25, TAB+26, TAB+28, TAB+29 , TAB+31, TAB+33, TAB+35, TAB+37, TAB+39, TAB+41, TAB+43, TAB+45, TAB+47, TAB+51 , TAB+53, TAB+54, TAB+55, TAB+57, HF+4 |
GLBREF | TBL+12~, TBL+16*, TBL+23, TBL+24, TBL+26 |
HDR | LKP+20~, LKP+44*, LKP+46*, LKP+47*, LKP+49*, LKP+50*, LKP+51*, LKP+54*, LKP+56*, LKP+58* , LKP+59*, LKP+60*, LKP+61, SP+2*, SP+4 |
>> IACT | TAB+12*, TAB+19*, TAB+25*, TAB+26*, TAB+28*, TAB+29*, TAB+57 |
ID | WP+2~, WP+3*, WP+4*, WP+5, WP+6 |
IEN | LKP+19~, LKP+66*, LKP+70, LKP+71, LKP+73~, LKP+74*, LKP+77, LKP+82, LKP+87, HF+1~ , HF+4*, HF+5*, HF+7, HF+8, HF+9, EXM+1~, EXM+2*, EXM+4*, EXM+5, EXM+6 , EXM+7, EXM+8, HS+1~, HS+2*, HS+4*, HS+5, HS+7, CLS+1~, CLS+3*, CLS+4* , CLS+5, CLS+6, CLS+7, ETI+1~, ETI+3*, ETI+4*, ETI+5, ETI+6, ETI+7, MOD+1~ , MOD+3*, MOD+4*, MOD+5, MOD+6, SP+1~, SP+11*, SP+12*, SP+13, SP+18, SP+19 , SP+20, MS+2~, MS+3*, MS+5*, MS+6, MS+8, TBL+22*, TBL+23*, TBL+24, TBL+26 , TBL+28 |
II | LKP+7~, LKP+12*, LKP+42, LKP+61, LKP+71*, LKP+89*, LKP+91*, ERR+5*, TAB+4~, TAB+9* , HF+2*, HF+3, HF+9*, HF+10*, EXM+2*, EXM+3, EXM+8*, EXM+9*, GPORD+3, GPORD+9* , GPORD+10*, EVT+2, EVT+7*, EVT+8*, HS+2*, HS+3, HS+7*, HS+8*, CLS+2, CLS+7* , CLS+8*, ETI+2, ETI+7*, ETI+8*, MOD+2, MOD+6*, MOD+7*, SP+20*, SP+21*, MS+3* , MS+4, MS+8*, MS+9*, TBL+19, TBL+28*, DONE* |
INAC | TBL~, TBL+21, TBL+25 |
INACFLG | TBL+12~, TBL+25*, TBL+27* |
INDEX | LKP+19~, LKP+24*, LKP+28*, LKP+34*, LKP+36 |
JJ | LKP+19~, LKP+63*, LKP+64*, LKP+66, LKP+67, LKP+74, LKP+75, LKP+78, LKP+79, LKP+83 , LKP+85, LKP+88, LKP+89, PRST+7*, PRST+8, PRST+10, PRST+20*, PRST+21*, PRST+22 |
KEY | HS+1~ |
LENGTH | TBL+12~, TBL+17*, TBL+18 |
MAP | LKP+20~, LKP+41*, LKP+42, LKP+43, LKP+45, LKP+46, LKP+47, LKP+48, LKP+65, LKP+72 , PRST+1~, PRST+24*, PRST+27 |
MII | LKP+20~, LKP+45*, LKP+46, LKP+47, LKP+48 |
NAME | EXM+1~, EXM+5*, EXM+8, HS+1~, HS+5*, HS+7, CLS+1~, CLS+5*, CLS+7, ETI+1~ , ETI+6*, ETI+7, MOD+1~, MOD+5*, MOD+6, MS+2~, MS+6*, MS+7, MS+8 |
NFLD | LKP+20~, LKP+48*, LKP+49*, LKP+50 |
NN | PRST+1~, PRST+28*, PRST+29*, PRST+30, PRST+31, PRST+34*, PRST+35*, PRST+36 |
>> NODE | TBL+21*, TBL+26 |
NUMB | LKP+19~, LKP+24* |
PC | TBL+12~, TBL+27* |
>> PEC | TBL+21*, TBL+26 |
PIEN | GPORD+1~, GPORD+4*, GPORD+5*, GPORD+6, GPORD+7, GPORD+8, GPORD+9, EVT+1~, EVT+3*, EVT+4* , EVT+5, EVT+6, EVT+7 |
PRCNAM | EVT+1~, EVT+6*, EVT+7 |
PRGM | SP+1~, SP+14*, SP+15* |
QFL | LKP+73~, LKP+74*, LKP+86, LKP+87* |
ROOT | LKP+20~, LKP+22*, LKP+23 |
SCREEN | LKP~, LKP+23*, LKP+25*, LKP+36 |
>> SDATA | PRST+4* |
SEL | PRST+1~, PRST+5*, PRST+7, PRST+12*, PRST+13, PRST+14*, PRST+15, PRST+16*, PRST+17, PRST+18* , PRST+21 |
SUPNM | SP+1~, SP+7*, SP+8*, SP+9, SP+10, SP+12, SP+20 |
SVCU | PRST+1~, PRST+8*, PRST+9*, PRST+10, PRST+16*, PRST+18* |
SVCUN | PRST+1~, PRST+2*, PRST+11, PRST+12, PRST+13, PRST+14 |
TEXT | LKP+19~, LKP+67*, LKP+71, LKP+73~, LKP+75*, LKP+76 |
>> TYP | HF+4*, HF+6, HF+7 |
TYPE | LKP+20~, LKP+47, LKP+49, LKP+50, CHK+5*, CHK+7*, WP+2~, WP+5*, WP+6 |
U | LKP+66, LKP+67, LKP+74, LKP+75, LKP+78, LKP+79, LKP+83, LKP+85, LKP+87, LKP+88 , HF+7, HF+8, HF+9, EXM+5, EXM+6, EXM+7, EXM+8, GPORD+9, EVT+5, EVT+6 , EVT+7, HS+5, HS+7, CLS+5, CLS+6, CLS+7, ETI+5, ETI+6, ETI+7, MOD+5 , MOD+6, MS+6, MS+8, PRST+8 |
UID | LKP+7~, LKP+8*, LKP+9, LKP+40, ERR+5, TAB+4~, TAB+5*, TAB+6, PRST+4 |
VAL | TBL+12~, TBL+27* |
VALS | TBL~, TBL+27 |
VALUE | LKP~, LKP+15*, LKP+16, LKP+33, LKP+36 |
VFVAL | TBL+12~, TBL+26*, TBL+27 |
WPFLD | WP+2~, WP+3*, WP+6*, WP+7 |
X | LKP+7~, TAB+4~ |
XTLKUT | LKP+20~, LKP+34* |
Y | ERR+2~, ERR+3* |
ZERO | PRST+1~, PRST+23*, PRST+26 |
>> ZTSK | LKP+8, TAB+5 |
Name | Field # of Occurrence |
---|---|
$T(@(3) | SP+16 |