LEXQID ;ISL/KER - Query - ICD Diagnosis - Extract ;04/21/2014
Source file <LEXQID.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EF(X,LEXCDT) | ; Effective Dates
|
|
EN | ; Main Entry Point
|
|
LOOK | ; ICD Lookup Loop
|
|
FA(X) | ; First Activation
|
|
IA(X,Y) | ; Inaccurate
|
|
SDS(X,LEXVDT,LEX,LEXLEN,LEXSTA) | ; Diagnosis (short description)
; ; LEX=# of Lines ; LEX(0)=External Date of Diagnosis Name ; LEX(#)=Diagnosis Name ; |
|
CSV | ; Code Set Versioning Display
|
Name | Field # of Occurrence |
---|---|
$$CODEC^ICDEX | CSV+3, EF+2, SDS+11, FA+2 |
$$CSI^ICDEX | CSV+4, SDS+12, FA+2, IA+2 |
$$DTBR^ICDEX | SDS+15, IA+4 |
$$EXIST^ICDEX | LOOK+10, LOOK+11, LOOK+12 |
$$HIST^ICDEX | FA+3 |
$$ICDDX^ICDEX | CSV+6, EF+2, SDS+14 |
$$LA^ICDEX | CSV+9, SDS+13 |
$$SD^ICDEX | CSV+10, SDS+16 |
$$SYS^ICDEX | EF+2 |
LDS^LEXQID2 | CSV+20 |
LX^LEXQID2 | CSV+22 |
MDC^LEXQID2 | CSV+30 |
WN^LEXQID2 | CSV+24 |
CC^LEXQID3 | CSV+28 |
DRG^LEXQID3 | CSV+26 |
NCC^LEXQID3 | CSV+39 |
NOT^LEXQID3 | CSV+35 |
REQ^LEXQID3 | CSV+37 |
EN^LEXQID4 | LOOK+13 |
$$ICD^LEXQIDA | LOOK+3 |
$$NCC^LEXQIDA | LOOK+12 |
$$NOT^LEXQIDA | LOOK+10 |
$$REQ^LEXQIDA | LOOK+11 |
$$AD^LEXQM | EN+9 |
$$ED^LEXQM | LOOK+2, CSV+2, SDS+24, SDS+27 |
$$EV^LEXQM | EN+1 |
$$SD^LEXQM | LOOK+8, EF+6, EF+11 |
PR^LEXQM | SDS+30, SDS+33 |
$$IMPDATE^LEXU | EF+3 |
$$DT^XLFDT | SDS+10, IA+2 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("LEXQID" | EN+8!, EN+10!, LOOK+5! |
^TMP("LEXQIDA" | EN+8!, EN+10! |
^TMP("LEXQIDC" | EN+8!, EN+10! |
^TMP("LEXQIDN" | EN+8!, EN+10! |
^TMP("LEXQIDO" | EN+8!, EN+10! |
^TMP("LEXQIDR" | EN+8!, EN+10! |
Name | Line Occurrences |
---|---|
$$EF | CSV+16 |
$$FA | LOOK+7, EF+3, SDS+13 |
CSV | LOOK+13 |
LOOK | EN+9 |
SDS | CSV+18 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIC | EN+2~ |
DIR | EN+2~ |
DIRB | EN+2~ |
DIROUT | EN+2~ |
DIRUT | EN+2~ |
DTOUT | EN+2~ |
DUOUT | EN+2~ |
EXD | EN+2~ |
ICDFMT | EN+2~ |
ICDSYS | EN+2~ |
ICDVDT | EN+2~ |
LEX | EN+2~, EF+1~, EF+2*, EF+3, EF+7, SDS~, SDS+30!, SDS+33! |
LEX( | SDS+31*, SDS+34* |
LEX(" " | SDS+34 |
LEX(0 | SDS+35* |
LEX(1 | SDS+35 |
LEX1 | EN+2~ |
LEX2 | EN+2~ |
LEX3 | EN+2~ |
LEXAD | EN+2~, EN+9*, EF+1~, EF+7*, EF+8, EF+10 |
LEXBOD | EN+2~ |
LEXBRD | EN+2~, EF+1~, EF+3*, EF+4, EF+6, SDS+6~, SDS+15*, IA+1~, IA+4* |
LEXBRW | EN+2~, EF+1~, EF+3*, EF+5*, EF+6*, EF+9*, EF+13, SDS+6~, SDS+15* |
LEXC | EN+2~, SDS+6~, SDS+33~, SDS+34* |
LEXCC | EN+2~, LOOK+1~, LOOK+5!, CSV+28 |
LEXCCD | EN+2~ |
LEXCCE | EN+2~ |
LEXCCI | EN+2~ |
LEXCDT | EN+2~, EN+9*, LOOK+2*, LOOK+7, LOOK+9, CSV+2*, CSV+6, CSV+16, CSV+18, CSV+20 , CSV+22, CSV+24, CSV+26, CSV+28, CSV+30, CSV+35, CSV+37, CSV+39, EF~, EF+1* , EF+2, EF+4, EF+9, EF+12 |
LEXCT | EN+3~ |
LEXCTE | EN+3~ |
LEXD | EN+3~, SDS+6~ |
LEXDAT | EN+3~, CSV+1~, CSV+6*, CSV+7 |
LEXDDD | EN+3~ |
LEXDDE | EN+3~ |
LEXDDI | EN+3~ |
LEXDDT | EN+3~, SDS+6~ |
LEXDEF | EN+3~ |
LEXDRG | EN+3~ |
LEXDRG1 | EN+3~ |
LEXDRG2 | EN+3~ |
LEXDRGC | EN+3~ |
LEXDRGD | EN+3~ |
LEXDRP | EN+3~ |
LEXDTXT | EN+3~ |
LEXDX | EN+3~ |
LEXE | EN+3~, SDS+6~ |
LEXEDT | EN+3~, EN+9*, LOOK+2*, CSV+1~, CSV+2* |
LEXEE | EN+3~, EF+1~, EF+11*, EF+12*, EF+13, SDS+6~ |
LEXEF | EN+3~, EF+1~, EF+10*, EF+11*, EF+12*, EF+13 |
LEXEFF | EN+4~, SDS+6~ |
LEXELDT | EN+4~, LOOK+6~, LOOK+8* |
LEXENV | EN+1~*, EN+4~ |
LEXES | EN+4~, EF+1~, EF+7*, EF+8*, EF+9*, EF+13 |
LEXEVDT | EN+4~ |
LEXEXIT | EN+4~, EN+7*, EN+9, LOOK+4*, LOOK+10*, LOOK+11*, LOOK+12* |
LEXFA | EN+4~, LOOK+6~, LOOK+7*, LOOK+9, EF+1~, EF+3*, EF+4, EF+9, EF+11, SDS+6~ , SDS+13*, SDS+21, SDS+23, SDS+24, FA+1~, FA+3*, FA+4*, FA+5 |
LEXFUL | EN+4~ |
LEXGET | EN+4~, LOOK+1~, LOOK+5! |
LEXH | EN+4~, EF+1~, FA+1~, FA+3! |
LEXH( | FA+4 |
LEXHIS | EN+4~, SDS+7~ |
LEXI | EN+4~, EF+1~, SDS+7~, SDS+31*, SDS+34*, FA+1~, FA+3*, FA+4* |
LEXIA | EN+4~, SDS+7~ |
LEXICD | EN+4~, LOOK+1~, LOOK+3*, LOOK+4, LOOK+7, CSV+2*, CSV+3, CSV+4 |
LEXICDC | EN+4~, LOOK+1~ |
LEXID | EN+4~, EF+1~, EF+3*, EF+10, EF+11, EF+12 |
LEXIEN | EN+4~, LOOK+6~, LOOK+7*, LOOK+10, LOOK+11, LOOK+12, CSV+1~, CSV+3*, CSV+4, CSV+5 , CSV+9, CSV+10, CSV+16, CSV+18, CSV+20, CSV+22, CSV+26, CSV+28, CSV+30, CSV+35 , CSV+37, CSV+39, EF+1~*, EF+2, EF+3, SDS+7~, SDS+9*, SDS+11, SDS+12, SDS+13 , SDS+16, FA+1~, FA+2*, IA+1~*, IA+2 |
LEXIENS | EN+4~, CSV+1~ |
LEXINC | EN+4~, LOOK+6~ |
LEXINCC | EN+4~, LOOK+6~, LOOK+9*, LOOK+12*, CSV+39 |
LEXINOT | EN+5~, LOOK+6~, LOOK+9*, LOOK+10*, CSV+35 |
LEXIREQ | EN+5~, LOOK+6~, LOOK+9*, LOOK+11*, CSV+37 |
LEXISO | EN+5~ |
LEXL | EN+5~, SDS+7~ |
LEXLA | EN+5~, CSV+9~*, CSV+10, SDS+7~, SDS+13*, SDS+14 |
LEXLAST | EN+5~, SDS+7~, SDS+14*, SDS+15 |
LEXLD | EN+5~, LOOK+1~, LOOK+5!, CSV+20 |
LEXLDD | EN+5~ |
LEXLDR | EN+5~ |
LEXLDT | EN+5~, LOOK+6~, LOOK+7*, LOOK+8 |
LEXLEF | EN+5~, SDS+7~ |
LEXLEN | EN+5~, LOOK+3*, CSV+26, CSV+35, CSV+37, CSV+39, SDS~, SDS+30, SDS+33 |
LEXLHI | EN+5~, SDS+8~ |
LEXLHS | EN+5~ |
LEXLS | EN+5~, EF+1~, EF+3*, EF+8*, EF+9*, EF+13 |
LEXLSD | EN+5~, SDS+8~, SDS+15*, SDS+25 |
LEXLSO | EN+5~ |
LEXLST | EN+5~ |
LEXLTXT | EN+5~, CSV+1~, CSV+4* |
LEXLX | EN+5~, LOOK+1~, LOOK+5!, CSV+22 |
LEXM | EN+5~, SDS+8~, SDS+18*, SDS+20*, SDS+22*, SDS+24*, SDS+25*, SDS+27*, SDS+32, SDS+33 |
LEXMC | EN+6~, LOOK+1~, LOOK+5!, CSV+30 |
LEXMD | EN+6~, LOOK+1~, LOOK+5! |
LEXMDC | EN+6~ |
LEXMH | EN+6~ |
LEXN | EN+6~ |
LEXN0 | EN+6~ |
LEXNAM | EN+6~, CSV+7*, CSV+8, CSV+10*, CSV+11 |
LEXNCC | EN+6~ |
LEXO | EN+6~ |
LEXOD | EN+6~, SDS+8~, SDS+25*, SDS+27*, SDS+28*, SDS+30 |
LEXODD | EN+6~, SDS+8~, SDS+25*, SDS+27*, SDS+29*, SDS+35 |
LEXP | EN+6~ |
LEXPF | EN+6~ |
LEXPIE | EN+6~ |
LEXR | EN+6~, SDS+8~ |
LEXREF | EN+6~ |
LEXS | EN+6~, SDS+8~, SDS+16 |
LEXS(0 | SDS+17 |
LEXS(1 | SDS+17 |
LEXSAB | EN+6~ |
LEXSD | EN+6~, LOOK+1~, LOOK+5!, CSV+18, SDS+8~, SDS+16*, SDS+17*, SDS+18, SDS+19, SDS+26 , SDS+27 |
LEXSDD | EN+6~, SDS+8~, SDS+17*, SDS+18*, SDS+27 |
LEXSDT | EN+6~, SDS+9~ |
LEXSIEN | EN+6~ |
LEXSO | EN+6~, CSV+3*, CSV+5, CSV+6, CSV+7*, EF+1~, EF+2*, SDS+9~, SDS+11*, SDS+14 , FA+1~, FA+2*, FA+3 |
LEXST | EN+7~, LOOK+1~, LOOK+5!, CSV+16*, EF+1~, EF+3*, EF+7, EF+8, EF+9*, EF+10 , EF+11, EF+12, EF+13 |
LEXSTA | EN+7~, SDS~, SDS+11* |
LEXSTAT | EN+7~, CSV+1~, CSV+16*, CSV+18, CSV+20, CSV+22 |
LEXSTR | EN+7~ |
LEXSY | EN+7~, EF+1~, EF+2*, SDS+9~, SDS+12*, SDS+14, SDS+15, FA+1~, FA+2*, FA+3 |
LEXSYS | EN+7~, CSV+4*, CSV+5, CSV+6, IA+1~, IA+2*, IA+4 |
LEXT | EN+7~, SDS+9~, SDS+30!, SDS+31*, SDS+33!, SDS+34* |
LEXT( | SDS+31, SDS+34 |
LEXT(1 | SDS+30*, SDS+33* |
LEXTMP | EN+7~ |
LEXU | EN+7~ |
LEXVDT | EN+7~, SDS~, SDS+10*, SDS+15, SDS+16, SDS+21, SDS+23, SDS+24, IA+1~*, IA+2* , IA+3*, IA+4 |
LEXVTMP | EN+7~ |
LEXVTXT | EN+7~ |
LEXW | EN+7~ |
LEXWN | EN+7~, LOOK+1~, LOOK+5!, CSV+24 |
LEXX | EN+7~ |
X | EN+7~, EF~, EF+1, EF+13*, EF+14, SDS~, SDS+9, FA~, FA+2*, FA+3* , FA+5*, FA+6, IA~, IA+1, IA+4*, IA+5 |
Y | EN+7~, IA~, IA+1 |