LEXU ;ISL/KER - Miscellaneous Lexicon Utilities ;05/23/2017
Source file <LEXU.m>
Package | Total | Call Graph |
---|---|---|
Lexicon Utility | 12 | ($$CAT,$$ISCAT)^LEX10DU (CODE,TERM)^LEXINF ($$ONE,ALL)^LEXSRC $$STATCHK^LEXSRC2 ($$ALL,$$ONE)^LEXU $$CSDATA^LEXU2 ($$ADR,$$EXP,$$FREQ,$$LUPD,$$MAX,$$NXSAB,$$PAR,$$PREF,$$PRF,$$RECENT,$$RUPD,EXPS,INC,VDT)^LEXU3 ($$HIST,$$LAST,$$PERIOD,$$PFI,$$REUSE,$$REVISE)^LEXU4 ($$CSYS,$$IMPDATE,$$SUBSETS,PR)^LEXU5 ($$EXM,$$SC,$$SO,$$SOS)^LEXU6 $$IENS^LEXU7 EN^LEXUH |
CPT HCPCS Codes | 1 | $$CPT^ICPTCOD |
DRG Grouper | 1 | ($$ICDDX,$$ICDOP)^ICDEX |
Kernel | 1 | $$UP^XLFSTR |
Name | Comments | DBIA/ICR reference |
---|---|---|
HELP | ; API Help
|
|
SC(LEX,LEXS,LEXVDT) | ; Filter by Semantic Class
|
|
SO(LEX,LEXS,LEXVDT) | ; Filter by Source
|
|
ICDDP(LEX,LEXT,LEXVDT) | ; Filter by ICD Diagnosis/Procedure System
|
|
DX(LEX,LEXVDT) | ; Filter by Diagnosis System
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
SRC(LEX,LEXS) | ; Filter by Expression Source
; LEX Expression IEN of file 757.01 ; LEXS Source IEN of 757.14 |
|
DEF(LEX) | ; Display expression definition
; LEX IEN of file 757.01 |
|
ID(LEX) | ; ICD Diagnosis retained - ICD procedures ignored
; LEX Code |
|
ICDONE(LEX,LEXVDT) | ; Get One ICD-9 Diagnosis Code for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
D10ONE(LEX,LEXVDT) | ; Get One ICD-10 Diagosis Code for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
P10ONE(LEX,LEXVDT) | ; Get One ICD-10 Procedure Code for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
CPTONE(LEX,LEXVDT) | ; Get One CPT Code for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
CPCONE(LEX,LEXVDT) | ; Get One HCPCS Code for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
DSMONE(LEX,LEXVDT) | ; Get One DSM Code for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
SCT(X,LEXVDT) | ; Filter by SNOMED CT (SCT) (Human only)
; ; Input ; ; X IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
ONE(LEX,LEXVDT,LEXSAB) | ; Get One Code for a Term by Source
; ; Input ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes ; LEXSAB Source Abbreviation |
|
PRF(LEX,LEXVDT,LEXSAB) | ; Get One Code for a Preferred Term by Source
|
|
ICD(LEX,LEXVDT) | ; Get All ICD-9 Diagnosis Codes for a Term
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes ; ; Output ; ; $$ICD <ICD-9 code><ICD-9 code><etc> ; |
|
D10(LEX,LEXVDT) | ; Get All ICD-10 Diagnosis Codes for a Term
|
|
ALL(LEX,LEXVDT,LEXSAB) | ; Get All Codes for a Term by Source
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes ; LEXSAB Source Abbreviation ; ; Output ; ; $$ALL A ";" delimited string of codes ; of the specified coding system ; for the term ; |
|
HIST(CODE,SYS,ARY) | ; Activation History
|
|
PERIOD(CODE,SYS,ARY) | ; Return Activation Periods
|
|
EXP(IEN) | ; Get Expression for IEN
|
|
EXPS(IEN,CDT,ARY) | ; Get Expression and Codes for IEN
|
|
PREF(CODE,SAB,CDT) | ; Get Preferred Expression for an Active Code
|
|
CSDATA(CODE,CSYS,CDT,ARY) | ; Code Data
|
|
ADR(LEX) | ; Mailing Address
|
|
VDT | ; Resolve LEXVDT
|
|
IMPDATE(CSYS) | ; Return the implementation date for a coding system
|
|
CSYS(SYS) | ; Coding System Info
|
|
FREQ(TXT) | ; Frequency of text - ICR 5679
|
|
MAX(SYS) | ; Coding System search Threshold - ICR 5679
|
|
PAR(TXT,ARY) | ; Parse Text into Words (for indexing)
|
|
CAT(CODE) | ; Get Category of Dx Code - ICR 5679
|
|
ISCAT(CODE) | ; Get Category of Dx Code - ICR 5679
|
|
PFI(FRAG,CDT,ARY) | ; ICD-10 Procedure Code Fragment Information - ICR 5679
|
|
NXSAB(X,Y) | ; Next Source Abbreviation
|
|
INC(X) | ; Increment Concept Usage for a term (by subscription only)
|
|
PR(LEX,X) | ; Parse Array LEX into X length strings
|
|
RECENT(X) | ; Recently Updated (90 day window)
|
|
RUPD(X) | ; Recent Update Date
|
|
LUPD(X,Y) | ; Last Update
|
|
REUSE(X,SYS) | ; Is a code "re-used" (1/0)
|
|
REVISE(X,SYS) | ; Is a code "revised" (1/0)
|
|
LAST(X,SYS,CDT) | ; Last Activation ^ Last Inactivation Date
|
|
IENS(CODE,ARY,CDT) | ; Get Lexicon/National File IENS for a Code
|
|
SOS(IEN,ARY,SYN) | ; Get Codes for an Expression
|
|
EXM(X,ARY,LEXD,LEXM) | ; Exact Match
|
|
SUBSETS(CODE,SRC,LEX) | ; Get Subsets for a Code
|
|
CODE(CODE,SRC,CDT,ARY,OUT) | ;
|
|
TERM(IEN,CDT,ARY,OUT) | ;
|
|
Name | Field # of Occurrence |
---|---|
$$ICDDX^ICDEX | DSMONE+14, DSMONE+18, ONE+17, ONE+18, ALL+21, ALL+22 |
$$ICDOP^ICDEX | ONE+19, ONE+20, ALL+23 |
$$CPT^ICPTCOD | ONE+21, ONE+22, ALL+24, ALL+25 |
$$CAT^LEX10DU | CAT+1 |
$$ISCAT^LEX10DU | ISCAT+1 |
CODE^LEXINF | CODE+1 |
TERM^LEXINF | TERM+1 |
$$ONE^LEXSRC | DSMONE+11, DSMONE+16, ONE+16 |
ALL^LEXSRC | ALL+17 |
$$STATCHK^LEXSRC2 | ICDDP+32, DX+24 |
$$ALL^LEXU | ICD+11, D10+11 |
$$ONE^LEXU | SCT+13 |
$$CSDATA^LEXU2 | CSDATA+1 |
$$ADR^LEXU3 | ADR+1 |
$$EXP^LEXU3 | EXP+1 |
$$FREQ^LEXU3 | FREQ+1 |
$$LUPD^LEXU3 | LUPD+1 |
$$MAX^LEXU3 | MAX+1 |
$$NXSAB^LEXU3 | NXSAB+1 |
$$PAR^LEXU3 | PAR+1 |
$$PREF^LEXU3 | PREF+1 |
$$PRF^LEXU3 | PRF+1 |
$$RECENT^LEXU3 | RECENT+1 |
$$RUPD^LEXU3 | RUPD+1 |
EXPS^LEXU3 | EXPS+1 |
INC^LEXU3 | INC+1 |
VDT^LEXU3 | VDT+1 |
$$HIST^LEXU4 | HIST+1 |
$$LAST^LEXU4 | LAST+1 |
$$PERIOD^LEXU4 | PERIOD+1 |
$$PFI^LEXU4 | PFI+1 |
$$REUSE^LEXU4 | REUSE+1 |
$$REVISE^LEXU4 | REVISE+1 |
$$CSYS^LEXU5 | CSYS+1 |
$$IMPDATE^LEXU5 | IMPDATE+1 |
$$SUBSETS^LEXU5 | SUBSETS+1 |
PR^LEXU5 | PR+1 |
$$EXM^LEXU6 | EXM+1 |
$$SC^LEXU6 | SC+1 |
$$SO^LEXU6 | SO+1 |
$$SOS^LEXU6 | SOS+1 |
$$IENS^LEXU7 | IENS+1 |
EN^LEXUH | HELP+1 |
$$UP^XLFSTR | SCT+16, ONE+36 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^LEX(757 - [#757] | ICDDP+24, DX+16, SRC+7 |
^LEX(757.01 - [#757.01] | ICDDP+16, ICDDP+23, ICDDP+24, DX+12, DX+15, DX+16, SRC+4, SRC+5, SRC+6, SRC+8 , DEF+2, DEF+3, DEF+4, SCT+14 |
^LEX(757.02 - [#757.02] | ICDDP+27, ICDDP+29, DX+19, DX+21, ID+3, ID+5, ID+6, ONE+27, ONE+28, ONE+29 , ONE+30, ONE+31, ONE+32 |
^LEX(757.03 - [#757.03] | ONE+13, ONE+14 |
^LEX(757.1 - [#757.1] | SCT+14, SCT+15, SCT+16 |
^LEX(757.12 - [#757.12] | SCT+16 |
^LEX(757.14 - [#757.14] | SRC+4 |
^LEX(757.21 - [#757.21] | SCT+17, SCT+18 |
^LEXT(757.2 - [#757.2] | SCT+18 |
^TMP("LEXSCH" | ONE+36 |
Name | Line Occurrences |
---|---|
$$IMPDATE | ICDDP+16, DX+13 |
$$ONE | ICDONE+11, D10ONE+11, P10ONE+11, CPTONE+11, CPCONE+11 |
VDT | ICDDP+17, DX+13, ICDONE+11, D10ONE+11, P10ONE+11, CPTONE+11, CPCONE+11, DSMONE+11, ONE+11, ICD+11 , D10+11, ALL+14 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARY | HIST~, HIST+1, PERIOD~, PERIOD+1, EXPS~, EXPS+1, CSDATA~, CSDATA+1, PAR~, PAR+1 , PFI~, PFI+1, IENS~, IENS+1, SOS~, SOS+1, EXM~, EXM+1, CODE~, CODE+1 , TERM~, TERM+1 |
CDT | EXPS~, EXPS+1, PREF~, PREF+1, CSDATA~, CSDATA+1, PFI~, PFI+1, LAST~, LAST+1 , IENS~, IENS+1, CODE~, CODE+1, TERM~, TERM+1 |
CODE | HIST~, HIST+1, PERIOD~, PERIOD+1, PREF~, PREF+1, CSDATA~, CSDATA+1, CAT~, CAT+1 , ISCAT~, ISCAT+1, IENS~, IENS+1, SUBSETS~, SUBSETS+1, CODE~, CODE+1 |
CSYS | CSDATA~, CSDATA+1, IMPDATE~, IMPDATE+1 |
FRAG | PFI~, PFI+1 |
ICD10 | ICDDP+15~, ICDDP+16*, ICDDP+18, ICDDP+19, ICDDP+20, ICDDP+21, DX+11~, DX+13*, DX+14 |
IEN | EXP~, EXP+1, EXPS~, EXPS+1, SOS~, SOS+1, TERM~, TERM+1 |
LEX | SC~, SC+1, SO~, SO+1, ICDDP~, ICDDP+16, ICDDP+34*, ICDDP+35, DX~, DX+12 , DX+26!*, DX+27, SRC~, SRC+3*, SRC+4, SRC+5, SRC+6, DEF~, DEF+2, DEF+3 , DEF+4, DEF+5!, ID~, ID+2, ID+3, ID+5, ID+6, ID+7, ICDONE~, ICDONE+11 , ICDONE+12*, ICDONE+13, D10ONE~, D10ONE+11, D10ONE+12*, D10ONE+13, P10ONE~, P10ONE+11, P10ONE+12*, P10ONE+13 , CPTONE~, CPTONE+11, CPTONE+12*, CPTONE+13, CPCONE~, CPCONE+11, CPCONE+12*, CPCONE+13, DSMONE~, DSMONE+11 , DSMONE+12, DSMONE+13*, DSMONE+15*, DSMONE+16, DSMONE+17*, DSMONE+19*, ONE~, ONE+11, ONE+16*, ONE+17 , ONE+18, ONE+19, ONE+20, ONE+21, ONE+22, ONE+25*, ONE+34*, ONE+37*, ONE+38, PRF~ , PRF+1, ICD~, ICD+11*, ICD+12, D10~, D10+11*, D10+12, ALL~, ALL+15, ALL+17 , ALL+30*, ALL+31, ADR~, ADR+1, PR~, PR+1, SUBSETS~, SUBSETS+1 |
LEXC | SCT+12~, SCT+13*, SCT+14 |
LEXCD | DSMONE+11~, DSMONE+13~*, DSMONE+14, DSMONE+17~*, DSMONE+18, ONE+28~, ONE+32*, ONE+33 |
LEXCPT | CPTONE+11~*, CPTONE+12, CPCONE+11~*, CPCONE+12 |
LEXD | SCT+12~*, SCT+13, EXM~, EXM+1 |
LEXDAT | DSMONE+11~, DSMONE+13~, DSMONE+14*, DSMONE+15, DSMONE+17~, DSMONE+18*, DSMONE+19, ONE+11~, ONE+16*, ONE+17* , ONE+18*, ONE+19*, ONE+20*, ONE+21*, ONE+22*, ONE+23, ONE+24, ONE+25, ONE+27, ONE+33* , ONE+34, ALL+14~, ALL+21*, ALL+22*, ALL+23*, ALL+24*, ALL+25*, ALL+26, ALL+27, ALL+28 |
LEXDSM | DSMONE+11~*, DSMONE+12, DSMONE+13, DSMONE+16*, DSMONE+17 |
LEXEF | ONE+28~, ONE+29*, ONE+30 |
LEXEI | ICDDP+15~, ICDDP+16*, ICDDP+23, ICDDP+24, ICDDP+25, DX+11~, DX+12*, DX+15, DX+16, DX+17 |
LEXEX | SCT+12~*, SCT+13, SCT+14, SCT+17 |
LEXF | ICDDP+15~, ICDDP+23*, ICDDP+25*, ICDDP+27, ICDDP+33*, ICDDP+34, DX+11~, DX+15*, DX+17*, DX+19 , DX+25*, DX+26 |
LEXHI | ONE+28~, ONE+30*, ONE+31 |
LEXI | SCT+12~, SCT+15*, SCT+16, SCT+17*, SCT+18, ALL+14~, ALL+18*, ALL+19*, ALL+20 |
LEXICD | ICDONE+11~*, ICDONE+12, D10ONE+11~*, D10ONE+12, P10ONE+11~*, P10ONE+12 |
LEXIEN | ONE+11~*, ONE+16, ONE+27, ONE+33, ALL+14~, ALL+15* |
>> LEXLKT | ONE+35 |
LEXLN | DEF+3~*, DEF+4, DEF+5! |
LEXM | EXM~, EXM+1 |
LEXMC | ICDDP+15~, ICDDP+23*, ICDDP+27, DX+11~, DX+15*, DX+19, SRC+6~*, SRC+7, SCT+12~, SCT+14* , SCT+15 |
LEXMCE | ICDDP+15~, ICDDP+24*, ICDDP+25, DX+11~, DX+16*, DX+17, SRC+6~, SRC+7*, SRC+8 |
LEXN | SCT+16~*, SCT+18~* |
LEXN0 | ICDDP+28~, ICDDP+29*, ICDDP+31, DX+20~, DX+21*, DX+23 |
LEXNAR | ONE+36~*, ONE+37 |
LEXO | ID+4~*, ID+5, ID+6*, ID+7, SCT+12~, SCT+19*, SCT+20 |
LEXPL | SCT+12~, SCT+17*, SCT+18*, SCT+19 |
LEXR | ID+4~*, ID+5*, ID+6 |
LEXS | SC~, SC+1, SO~, SO+1, SRC~, SRC+3*, SRC+4, SRC+5, SRC+8, ALL+14~ , ALL+20*, ALL+21, ALL+22, ALL+23, ALL+24, ALL+25, ALL+29 |
LEXSAB | ICDDP+28~, ICDDP+29*, ICDDP+30, ICDDP+32, DX+20~, DX+21*, DX+22, DX+24, ONE~, ONE+12* , ONE+13, ONE+14*, ONE+15*, ONE+16, ONE+17, ONE+18, ONE+19, ONE+20, ONE+21, ONE+22 , ONE+23, ONE+24, ONE+28, PRF~, PRF+1, ALL~, ALL+16*, ALL+17, ALL+21, ALL+22 , ALL+23, ALL+24, ALL+25, ALL+27, ALL+28 |
LEXSI | ICDDP+26~*, ICDDP+27*, ICDDP+29, DX+18~*, DX+19*, DX+21 |
LEXSIEN | ONE+26~*, ONE+27*, ONE+28, ONE+29, ONE+30, ONE+31, ONE+32 |
LEXSO | ICDDP+28~, ICDDP+31*, ICDDP+32, DX+20~, DX+23*, DX+24 |
LEXSR | SRC+5*, SRC+6~, SRC+8* |
LEXSRC | ICDDP+15~*, ICDDP+18*, ICDDP+19*, ICDDP+20*, ICDDP+21*, ICDDP+22, DX+11~, DX+13*, DX+14*, ALL+14~ |
LEXSRC( | ALL+19, ALL+20 |
LEXSRC(0 | ALL+18 |
LEXSRI | ICDDP+15~*, ICDDP+18*, ICDDP+19*, ICDDP+20*, ICDDP+21*, ICDDP+22, ICDDP+30, DX+11~, DX+13*, DX+14* , DX+22 |
LEXST | ONE+28~, ONE+31* |
LEXSTA | ICDDP+28~, ICDDP+32*, ICDDP+33, DX+20~, DX+24*, DX+25 |
LEXT | ICDDP~, ICDDP+17*, ICDDP+18, ICDDP+19, ICDDP+20, ICDDP+21, SCT+16~*, SCT+18~*, ALL+14~, ALL+18* , ALL+29*, ALL+30* |
LEXVDT | SC~, SC+1, SO~, SO+1, ICDDP~, ICDDP+18, ICDDP+19, ICDDP+20, ICDDP+21, ICDDP+32 , DX~, DX+14, DX+24, ICDONE~, ICDONE+11, D10ONE~, D10ONE+11, P10ONE~, P10ONE+11, CPTONE~ , CPTONE+11, CPCONE~, CPCONE+11, DSMONE~, DSMONE+14, DSMONE+18, SCT~, SCT+12, ONE~, ONE+16 , ONE+17, ONE+18, ONE+19, ONE+20, ONE+21, ONE+22, ONE+29, PRF~, PRF+1, ICD~ , ICD+11, D10~, D10+11, ALL~, ALL+17, ALL+21, ALL+22, ALL+23, ALL+24, ALL+25 |
LEXVT | SCT+12~, SCT+15*, SCT+16*, SCT+19 |
OUT | CODE~, CODE+1, TERM~, TERM+1 |
SAB | PREF~, PREF+1 |
SRC | SUBSETS~, SUBSETS+1, CODE~, CODE+1 |
SYN | SOS~, SOS+1 |
SYS | HIST~, HIST+1, PERIOD~, PERIOD+1, CSYS~, CSYS+1, MAX~, MAX+1, REUSE~, REUSE+1 , REVISE~, REVISE+1, LAST~, LAST+1 |
TXT | FREQ~, FREQ+1, PAR~, PAR+1 |
U | ICDDP+23, ICDDP+24, ICDDP+29, ICDDP+31, DX+15, DX+16, DX+21, DX+23, SRC+5, SRC+8 , DEF+3 |
X | SCT~, SCT+12, SCT+20*, SCT+21, CSDATA+1~*, NXSAB~, NXSAB+1, INC~, INC+1, PR~ , PR+1, RECENT~, RECENT+1, RUPD~, RUPD+1, LUPD~, LUPD+1, REUSE~, REUSE+1, REVISE~ , REVISE+1, LAST~, LAST+1, EXM~, EXM+1 |
Y | NXSAB~, NXSAB+1, LUPD~, LUPD+1 |