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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: LEXQID

Package: Lexicon Utility

Routine: LEXQID


Information

LEXQID ;ISL/KER - Query - ICD Diagnosis - Extract ;10/10/2017

Source Information

Source file <LEXQID.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Lexicon Utility 5 (LDS,LX,WN)^LEXQID2  EN^LEXQID4  $$ICD^LEXQIL  ($$AD,$$ED,$$EV,$$SD)^LEXQM  ($$IMPDATE,PR)^LEXU  
DRG Grouper 1 ($$CODEC,$$CSI,$$DTBR,$$HIST,$$ICDDX,$$LA,$$SD,$$SYS)^ICDEX  
Kernel 1 $$DT^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Lexicon Utility 1 LEX CSV ICD QUERY  

Entry Points

Name Comments DBIA/ICR reference
EN ; Main Entry Point
IEN ; Display with IENs
LOOK ; ICD Lookup Loop
CSV ; Code Set Versioning Display
EF(X,LEXCDT) ; Effective Dates
SDS(X,LEXVDT,LEX,LEXLEN,LEXSTA) ; Diagnosis (short description)
;
; LEX=# of Lines
; LEX(0)=External Date of Diagnosis Name
; LEX(#)=Diagnosis Name
;
FA(X) ; First Activation
IA(X,Y) ; Inaccurate

External References

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
$$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
WN^LEXQID2 CSV+24
EN^LEXQID4 LOOK+15
$$ICD^LEXQIL LOOK+3
$$AD^LEXQM EN+9
$$ED^LEXQM LOOK+2, CSV+2, SDS+24, SDS+30
$$EV^LEXQM EN+1
$$SD^LEXQM LOOK+9, EF+6, EF+11
$$IMPDATE^LEXU EF+3
PR^LEXU SDS+33, SDS+36
$$DT^XLFDT SDS+10, IA+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("LEXQID" EN+8!, EN+10!, LOOK+6!
^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!

Label References

Name Line Occurrences
$$EF CSV+16
$$FA LOOK+8, EF+3, SDS+13
CSV LOOK+15
EN IEN+1
LOOK EN+9
SDS CSV+18

Local Variables

Legend:

>> 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~
DO EN+2~
DTOUT EN+2~
DUOUT EN+2~
EXD EN+2~
I EN+7~
ICDFMT EN+2~
ICDSYS EN+2~
ICDVDT EN+2~
LEX EN+2~, EF+1~, EF+2*, EF+3, EF+7, SDS~, SDS+33!, SDS+36!
LEX( SDS+34*, SDS+37*
LEX(" " SDS+37
LEX(0 SDS+38*
LEX(1 SDS+38
LEX1 EN+2~
LEX2 EN+2~
LEX3 EN+2~
LEXAD EN+2~, EN+9*, EF+1~, EF+7*, EF+8, EF+10
LEXAIEN SDS+7~, SDS+26*, SDS+28*, SDS+29
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+36~, SDS+37*
LEXCC EN+2~, LOOK+1~, LOOK+6!
LEXCCD EN+2~
LEXCCE EN+2~
LEXCCI EN+2~
LEXCDT EN+2~, EN+9*, LOOK+2*, LOOK+8, CSV+2*, CSV+6, CSV+16, CSV+18, CSV+20, CSV+22
, CSV+24, 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+7~, LOOK+9*
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*
LEXFA EN+4~, LOOK+7~, LOOK+8*, 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+6!
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+34*, SDS+37*, FA+1~, FA+3*, FA+4*
LEXIA EN+4~, SDS+7~
LEXICD EN+4~, LOOK+1~, LOOK+3*, LOOK+4*, LOOK+5*, LOOK+8, 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+7~, LOOK+8*, CSV+1~, CSV+3*, CSV+4, CSV+5, CSV+9, CSV+10, CSV+16
, CSV+18, CSV+20, CSV+22, EF+1~*, EF+2, EF+3, SDS+7~, SDS+9*, SDS+11, SDS+12
, SDS+13, SDS+16, SDS+26, SDS+27, FA+1~, FA+2*, IA+1~*, IA+2
LEXIENS EN+4~, CSV+1~
LEXIIEN IEN+1~*, SDS+29
LEXINC EN+4~, LOOK+7~
LEXINCC EN+4~, LOOK+7~, LOOK+10*
LEXINOT EN+5~, LOOK+7~, LOOK+10*
LEXIREQ EN+5~, LOOK+7~, LOOK+10*
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+6!, CSV+20
LEXLDD EN+5~
LEXLDR EN+5~
LEXLDT EN+5~, LOOK+7~, LOOK+8*, LOOK+9
LEXLEF EN+5~, SDS+8~
LEXLEN EN+5~, LOOK+3*, SDS~, SDS+33, SDS+36
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+6!, CSV+22
LEXM EN+5~, SDS+8~, SDS+18*, SDS+20*, SDS+22*, SDS+24*, SDS+25*, SDS+29*, SDS+35, SDS+36
LEXMC EN+6~, LOOK+1~, LOOK+6!
LEXMD EN+6~, LOOK+1~, LOOK+6!
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+29*, SDS+31*, SDS+33
LEXODD EN+6~, SDS+8~, SDS+25*, SDS+30*, SDS+32*, SDS+38
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+6!, CSV+18, SDS+8~, SDS+16*, SDS+17*, SDS+18, SDS+19, SDS+26
, SDS+29
LEXSDD EN+6~, SDS+8~, SDS+17*, SDS+18*, SDS+27, SDS+30
LEXSDT EN+6~, SDS+9~
LEXSIEN EN+6~, SDS+7~, SDS+26*, SDS+27*, SDS+28
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+6!, 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+33!, SDS+34*, SDS+36!, SDS+37*
LEXT( SDS+34, SDS+37
LEXT(1 SDS+33*, SDS+36*
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+6!, CSV+24
LEXX EN+7~
TX1 EN+7~
TX2 EN+7~
TXT 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
Z EN+7~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All