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

Package: Lexicon Utility

Routine: LEXQIL


Information

LEXQIL ;ISL/KER - Query - ICD Non-Versioned Lookup ;10/10/2017

Source Information

Source file <LEXQIL.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Kernel 2 $$DT^XLFDT  $$UP^XLFSTR  
DRG Grouper 1 ($$CODEC,$$CSI,$$ICDDX,$$ICDOP,$$ROOT,TOKEN)^ICDEX  
Lexicon Utility 1 PR^LEXU  
VA FileMan 1 ^DIR  

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: 2

Package Total Caller Graph
Lexicon Utility 2 LEXQID  LEXQIP  

Entry Points

Name Comments DBIA/ICR reference
ICD(X) ; ICD DX Lookup
ICP(X) ; ICD PR Lookup
ONE(X) ; One Entry Found
MUL(X) ; Multiple Entries Found
MULW ; Write Multiple
MULS(X,Y) ; Select Multiple
MULSH ; Select Multiple Help
MULQ ; Quit Multiple
BC(X,Y) ; Lookup by Code
BT(X,Y) ; Lookup by Text
BLD(X,Y) ; Build Selection Array
PAR(X,Y,LEX) ; Parse text into tokens
GET(X,LEX) ; Get Entries
INP(X) ; Input
INPH ; Input Help
X(X,Y) ; Get X Return Value
FD(X) ; Get Future Date
TM(X,Y) ; Trim Character Y - Default " "

External References

Name Field # of Occurrence
^DIR ONE+8, MULS+8, INP+4
$$CODEC^ICDEX X+2
$$CSI^ICDEX X+3
$$ICDDX^ICDEX X+4
$$ICDOP^ICDEX X+5
$$ROOT^ICDEX BC+2, BT+1, BLD+2, PAR+1, GET+1
TOKEN^ICDEX PAR+2
PR^LEXU ONE+3, ONE+4, MULW+2
$$DT^XLFDT BC+8, GET+1, X+2, FD+1
$$UP^XLFSTR BLD+2, INP+6, X+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: MUL+4
Function Call: WRITE
  • Prompt: !," ",LEXTTT," matches found"
  • Condition for execution: +LEXTTT>1
  • Line Location: MUL+4
Function Call: WRITE
  • Prompt: !
  • Line Location: MUL+9
Function Call: WRITE
  • Prompt: !,$J(LEXK,5),". ",$G(LEX(1))
  • Line Location: MULW+2
Function Call: WRITE
  • Prompt: !,$G(LEXTQ)
  • Line Location: MULSH+1
Function Call: WRITE
  • Prompt: !
  • Line Location: INP+4
Function Call: WRITE
  • Prompt: !," Enter an ICD Diagnosis code or a term, or '^' to exit",!
  • Line Location: INPH+2
Function Call: WRITE
  • Prompt: !," Enter an ICD Procedure code or a term, or '^' to exit",!
  • Line Location: INPH+4
Function Call: WRITE
  • Prompt: !," Enter an ICD code or a term, or '^' to exit",!
  • Line Location: INPH+5
Routine Call
  • DIR
  • Line Location:
    • ONE+8
    • MULS+8
    • INP+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("LEXQIL" ICD+3!, ICD+5, ICD+7!, ICD+9, ICP+3!, ICP+5, ICP+7!, ICP+9, ONE+3, ONE+9!
, MUL+3, MUL+6, MULS+4, MULS+5, MULS+8!, MULQ+2, BC+1!, BC+26*, BC+27, BC+28*
, BC+29*, BLD+1!, GET+25*, GET+26, GET+27, GET+28*, GET+29!

Label References

Name Line Occurrences
$$FD X+2
$$INP ICD+2, ICP+2
$$MUL ICD+6, ICD+10, ICP+6, ICP+10
$$MULS MUL+8, MUL+9
$$ONE ICD+4, ICD+8, ICP+4, ICP+8
$$TM ICD+1, ICP+1
$$X ONE+10, MULQ+2
BC ICD+3, ICP+3
BLD BT+1
BT ICD+7, ICP+7
GET BLD+2
MULQ MUL+4, MUL+10
MULW MUL+7
PAR BLD+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIR ONE+2~, MULS+2~, MULS+9!, INP+2~
DIR("?" MULS+7*, INP+4*
DIR("??" MULS+7*, INP+4*
DIR("A" ONE+4*, ONE+5*, ONE+6*, ONE+7*, MULS+4*, MULS+5*, INP+2*, INP+3*
DIR("B" ONE+7*
DIR("PRE" MULS+7*, INP+4*
DIR(0 ONE+7*, MULS+8*, INP+3*
DIRB MULS+2~
DIROUT ONE+2~, ONE+9, MULS+2~, INP+2~, INP+5
DIRUT ONE+2~, MULS+2~, INP+2~, INP+5
DTOUT ONE+2~, ONE+8, MULS+2~, MULS+8, MULS+9, INP+2~, INP+5
DUOUT ONE+2~, MULS+2~, INP+2~, INP+5
LEX ONE+2~, ONE+3, ONE+4, MULW+1~, MULW+2!, PAR~, PAR+1!, GET~, INP+2~
LEX( MULW+3, PAR+5*, GET+3, GET+4
LEX(0 ONE+4, MULW+2, PAR+5*
LEX(1 ONE+3*, ONE+4!, ONE+5, MULW+2*!, GET+1
LEX(2 ONE+6
LEXC ONE+2~, ONE+4*, ONE+5*, ONE+6*, ONE+7*
LEXCODE BC+8~, BC+9*, BC+23, BC+24, BC+26, GET+6~, GET+7*, GET+23, GET+24, GET+25
LEXCOM BC+8~, BC+18*, BC+19*, BC+20*, BC+21*, BC+22*, BC+24, GET+6~, GET+18*, GET+19*
, GET+20*, GET+21*, GET+22*, GET+24
LEXCT ONE+2~, BC+8~, BC+27*, BC+28, BC+29, GET+27~, GET+28*
LEXCTL BC+1~, BC+3*, BC+4
LEXDIRB ICD+1~*, ICD+2, ICP+1~*, ICP+2, BC+25, BC+26
LEXDX X+2~, X+4*, X+5*
LEXEFF BC+8~, BC+11*, BC+12, BC+18, BC+19, GET+6~, GET+11*, GET+12, GET+18, GET+19
LEXENT MUL+2~, MUL+6*, MUL+7, MULW+1
LEXEXIT ONE+1, ONE+8*, ONE+9*, MUL+1, MULS+1, MULS+8*, INP+1, INP+5, FD+1~
LEXFD X+2~*, X+4, X+5
LEXFI ICD+1~*, ICD+3, ICD+4*, ICD+6*, ICD+7, ICD+8*, ICD+10*, ICP+1~*, ICP+3, ICP+4*
, ICP+6*, ICP+7, ICP+8*, ICP+10*, ONE+1, ONE+10, MUL+1, MULQ+1, MULQ+2, BC+1~*
, BC+2, BC+23, BT+1~*, BLD+1~, BLD+2*, PAR+1~*, GET+1~*, GET+23, INP+1, INP+2
, INP+3, INPH+1, INPH+3, X+1~*, X+2, X+3, X+4, X+5
LEXHIS BC+8~, BC+12*, BC+13, BC+15*, BC+16*, BC+17, GET+6~, GET+12*, GET+13, GET+15*
, GET+16*, GET+17
LEXI MUL+2~, MUL+3*, MUL+5*, MUL+6, MUL+7, MUL+8, MUL+9, MULW+1~, MULS+2~, MULS+3*
, PAR+1~, PAR+3*, PAR+4, GET+3~*, GET+4
LEXIEN ONE+2~, ONE+3*, ONE+10, MUL+2~, MUL+7*, MULW+1~*, MULQ+2~*, BC+1~, BC+5~*, BC+6*
, BC+7, BC+9, BC+11, BC+12, BC+13, BC+14, BC+15, BC+16, BC+17, BC+26
, BC+29, GET+1~, GET+2*, GET+4, GET+7, GET+8, GET+11, GET+12, GET+13, GET+14
, GET+15, GET+16, GET+17, GET+25, X+1~*, X+2, X+3, X+6
LEXINP ICD+1~, ICD+2*, ICD+3, ICD+7, ICP+1~, ICP+2*, ICP+3, ICP+7, BC+1~, BC+2*
, BC+3, BT+1~*, BLD+1~, BLD+2*, PAR+1~*, PAR+2
LEXIT MUL+2~, MUL+3*, MUL+5, MUL+8*, MUL+9*, INP+2~
LEXJ MULW+1~, MULW+3*
LEXK MULW+1~*, MULW+2
LEXLAS BC+8~, BC+14*, BC+18, GET+6~, GET+14*, GET+18
LEXLAST MULS+2~, MULS+3*, MULS+4, MULS+5
LEXMAX MUL+2~, MUL+3*, MUL+7*, MUL+8, MUL+9, MULS+2~, MULS+3*, MULS+4, MULS+5, MULS+6
, MULS+8
LEXOK GET+3~*, GET+4*, GET+5
LEXORD BC+1~, BC+3*, BC+4*, BC+5, BC+6, GET+1~, GET+4~*, GET+26*, GET+27
LEXORG GET+1~*, GET+2
LEXOUT ICD+1~, ICD+4*, ICD+6*, ICD+8*, ICD+10*, ICP+1~, ICP+4*, ICP+6*, ICP+8*, ICP+10*
>> LEXQUIET ONE+7, ONE+8, BC+25
LEXRT BC+1~, BC+2*, BC+4, BC+5, BC+6, BC+7, BC+9, BC+11, BC+12, BC+13
, BC+14, BC+15, BC+16, BC+17, BT+1~*, BLD+1~, BLD+2*, PAR+1~*, PAR+2, PAR+4
, GET+1~*, GET+2, GET+4, GET+7, GET+8, GET+11, GET+12, GET+13, GET+14, GET+15
, GET+16, GET+17
LEXS MULS+2~, MULS+3*, MULS+9*, MULS+10
LEXSO X+2~*, X+4, X+5, X+6
LEXSPC BC+8~, BC+23*, BC+24, GET+6~, GET+23*, GET+24
LEXSR BC+8~, BC+9*, BC+10, BC+20, BC+21, GET+6~, GET+8*, GET+9, GET+10, GET+20
, GET+21
LEXSS MUL+2~, MUL+3*, MUL+5, MUL+8*, MUL+9*, MULQ+1, MULQ+2
LEXSTA BC+8~, BC+13*, BC+19, GET+6~, GET+13*, GET+19
LEXSTR MUL+2~, BC+8~, BC+24*, BC+26, BC+29, GET+6~, GET+24*, GET+25
LEXSY BC+1~, BLD+1~, PAR+1~*, PAR+2, X+2~, X+3*, X+4, X+5
LEXT1 MUL+2~
LEXTD BC+8~*, BC+11, GET+1~*, GET+11, INP+2~, X+2~*
LEXTK PAR+1~, PAR+4~*, PAR+5
LEXTMP BC+5*, PAR+1~, PAR+2, PAR+6!
LEXTMP( PAR+3, PAR+4
LEXTOK BLD+1~!, BLD+2
LEXTQ MULS+2~, MULS+6*, MULSH+1
LEXTTT MUL+2~, MUL+3*, MUL+4, MUL+5
LEXTX ONE+2~, ONE+3*, MULW+1~*, MULW+2, MULW+3*, X+2~, X+4*, X+5*, X+6
LEXTXT BC+8~, BC+17*, BC+24, GET+6~, GET+17*, GET+24
LEXTY BC+8~, BC+10*, BC+22, GET+6~, GET+9*, GET+10*, GET+22
LEXVAL GET+27~*, GET+28
LEXX ONE+2~
OUT ICD+4~, ICD+6~, ICD+8~, ICD+10~, ICP+4~, ICP+6~, ICP+8~, ICP+10~
U ONE+3, MUL+3*, MUL+7, MULW+1, MULS+9
X ICD~, ICD+1*, ICD+3, ICD+4*, ICD+5, ICD+6*, ICD+7, ICD+8*, ICD+9, ICD+10*
, ICD+11, ICP~, ICP+1*, ICP+3, ICP+4*, ICP+5, ICP+6*, ICP+7, ICP+8*, ICP+9
, ICP+10*, ICP+11, ONE~, ONE+8*, ONE+9, ONE+10*, ONE+11, MUL~, MUL+11, MULS~
, MULS+3, MULS+8*, MULS+9, MULQ+1*, MULQ+2*, MULQ+3, BC~, BC+2, BT~, BT+1
, BLD~, BLD+1, BLD+2, PAR~, PAR+1, GET~, GET+1, INP~, INP+5*, INP+6*
, INP+7, X~, X+1*, X+6*, X+7*, X+8, FD~, FD+1*, FD+2, TM~
, TM+1*, TM+2*, TM+3*, TM+4
Y ONE+2~, ONE+8*, ONE+10, MUL+2~, MULS~, MULS+2~, MULS+3, MULS+9, BC~, BC+1
, BT~, BT+1, BLD~, BLD+1, BLD+2, PAR~, PAR+1, INP+2~, INP+6, X~
, X+1, TM~, TM+1*, TM+2, TM+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All