LEXU ;ISL/KER - Miscellaneous Lexicon Utilities ;04/21/2014
Source file <LEXU.m>
Package | Total | Call Graph |
---|---|---|
Lexicon Utility | 8 | ($$CAT,$$ISCAT)^LEX10DU ($$ONE,ALL)^LEXSRC $$STATCHK^LEXSRC2 ($$ALL,$$ONE)^LEXU $$CSDATA^LEXU2 ($$ADR,$$CSYS,$$FREQ,$$IMPDATE,$$LUPD,$$MAX,$$NXSAB,$$PAR,$$RECENT,$$RUPD,INC,VDT)^LEXU3 ($$HIST,$$PERIOD,$$PFI)^LEXU4 EN^LEXUH |
DRG Grouper | 2 | ($$ICDDX,$$ICDOP)^ICDEX $$CPT^ICPTCOD |
Kernel | 1 | $$UP^XLFSTR |
Name | Comments | DBIA/ICR reference |
---|---|---|
HELP | ; API Help
|
|
PERIOD(CODE,SYS,ARY) | ; Return Activation Periods
|
|
FREQ(TXT) | ; Frequency of text - ICR 5679
|
|
ISCAT(CODE) | ; Get Category of Dx Code - ICR 5679
|
|
NXSAB(X,Y) | ; Next Source Abbreviation
|
|
CAT(CODE) | ; Get Category of Dx Code - ICR 5679
|
|
D10(LEX,LEXVDT) | ; Get All ICD-10 Diagnosis Codes for a Term
|
|
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 |
|
DX(LEX,LEXVDT) | ; Filter by Diagnosis System
; ; Input ; ; LEX IEN of file 757.01 ; LEXVDT Date to use for screening by codes |
|
VDT | ; Resolve LEXVDT
|
|
CSDATA(CODE,CSYS,CDT,ARY) | ; Code Data
|
|
HIST(CODE,SYS,ARY) | ; Activation History
|
|
ID(LEX) | ; ICD Diagnosis retained - ICD procedures ignored
; LEX Code |
|
LUPD(X,Y) | ; Last Update
|
|
SOQ | ; Quit Source Filter
|
|
RECENT(X) | ; Recently Updated (90 day window)
|
|
PFI(FRAG,CDT,ARY) | ; ICD-10 Procedure Code Fragment Information - ICR 5679
|
|
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 ; |
|
PAR(TXT,ARY) | ; Parse Text into Words (for indexing)
|
|
CSYS(SYS) | ; Coding System Info
|
|
ICDDP(LEX,LEXT,LEXVDT) | ; Filter by ICD Diagnosis/Procedure System
|
|
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 |
|
IMPDATE(CSYS) | ; Return the implementation date for a coding system
|
|
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 |
|
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 |
|
INC(X) | ; Increment Concept Usage for a term (by subscription only)
|
|
SRC(LEX,LEXS) | ; Filter by Expression Source
; LEX Expression IEN of file 757.01 ; LEXS Source IEN of 757.14 |
|
RUPD(X) | ; Recent Update Date
|
|
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 |
|
SC(LEX,LEXS,LEXVDT) | ; Filter by Semantic Class
|
|
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 |
|
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 |
|
MAX(SYS) | ; Coding System search Threshold - ICR 5679
|
|
SO(LEX,LEXS,LEXVDT) | ; Filter by Source
|
|
ADR(LEX) | ; Mailing Address
|
|
DEF(LEX) | ; Display expression definition
; LEX IEN of file 757.01 |
|
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 |
|
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> ; |
|
Name | Field # of Occurrence |
---|---|
$$ICDDX^ICDEX | DSMONE+13, DSMONE+16, 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 |
$$ONE^LEXSRC | DSMONE+11, DSMONE+15, ONE+16 |
ALL^LEXSRC | ALL+17 |
$$STATCHK^LEXSRC2 | ICDDP+32, DX+24, SO+27 |
$$ALL^LEXU | ICD+11, D10+11 |
$$ONE^LEXU | SCT+13 |
$$CSDATA^LEXU2 | CSDATA+1 |
$$ADR^LEXU3 | ADR+1 |
$$CSYS^LEXU3 | CSYS+1 |
$$FREQ^LEXU3 | FREQ+1 |
$$IMPDATE^LEXU3 | IMPDATE+1 |
$$LUPD^LEXU3 | LUPD+1 |
$$MAX^LEXU3 | MAX+1 |
$$NXSAB^LEXU3 | NXSAB+1 |
$$PAR^LEXU3 | PAR+1 |
$$RECENT^LEXU3 | RECENT+1 |
$$RUPD^LEXU3 | RUPD+1 |
INC^LEXU3 | INC+1 |
VDT^LEXU3 | VDT+1 |
$$HIST^LEXU4 | HIST+1 |
$$PERIOD^LEXU4 | PERIOD+1 |
$$PFI^LEXU4 | PFI+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, SO+16, SRC+7 |
^LEX(757.01 - [#757.01] | SC+13, SC+16, ICDDP+16, ICDDP+23, ICDDP+24, DX+12, DX+15, DX+16, SO+13, SO+14 , SO+15, SO+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, SO+20, SO+22, ID+3, ID+5, ID+6, ONE+27 , ONE+28, ONE+29, ONE+30, ONE+31, ONE+32 |
^LEX(757.03 - [#757.03] | SO+29, SO+30, ONE+13, ONE+14 |
^LEX(757.1 - [#757.1] | SC+19, SC+20, SC+26, SC+27, 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" | SO+25, ONE+36 |
Name | Line Occurrences |
---|---|
$$IMPDATE | ICDDP+16, DX+13 |
$$ONE | ICDONE+11, D10ONE+11, P10ONE+11, CPTONE+11, CPCONE+11 |
$$SO | SC+15 |
SOQ | SO+17 |
VDT | SC+12, ICDDP+17, DX+13, SO+17, 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, CSDATA~, CSDATA+1, PAR~, PAR+1, PFI~, PFI+1 |
CDT | CSDATA~, CSDATA+1, PFI~, PFI+1 |
CODE | HIST~, HIST+1, PERIOD~, PERIOD+1, CSDATA~, CSDATA+1, CAT~, CAT+1, ISCAT~, ISCAT+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 |
LEX | SC~, SC+13, ICDDP~, ICDDP+16, ICDDP+34*, ICDDP+35, DX~, DX+12, DX+26!*, DX+27 , SO~, SO+13, 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+14*, DSMONE+15, DSMONE+16*, DSMONE+17*, 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, ICD~ , ICD+11*, ICD+12, D10~, D10+11*, D10+12, ALL~, ALL+15, ALL+17, ALL+30*, ALL+31 , ADR~, ADR+1 |
LEX1 | SC+18~, SC+19*, SC+21, SC+25~, SC+26*, SC+28 |
LEX2 | SC+18~, SC+20*, SC+21, SC+25~, SC+27*, SC+28 |
LEXABR | SO+12~, SO+19*, SO+31, SOQ+1! |
LEXC | SCT+12~, SCT+13*, SCT+14 |
LEXCD | ONE+28~, ONE+32*, ONE+33 |
LEXCPT | CPTONE+11~*, CPTONE+12, CPCONE+11~*, CPCONE+12 |
LEXCR | SO+12~, SO+19*, SO+20*, SO+22, SO+28, SOQ+1! |
LEXD | SCT+12~*, SCT+13 |
LEXDAT | DSMONE+13~*, DSMONE+14, DSMONE+16~*, DSMONE+17, 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+15*, DSMONE+16 |
LEXEC | SC+12~, SC+23!, SC+24*, SC+25, SC+29*, SC+30!, SC+31! |
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 |
LEXEXC | SC+12~, SC+24*, SC+29*, SC+30 |
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, SO+12~, SO+13*, SO+14, SO+18*, SO+20, SO+31*, SOQ+2 |
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 |
LEXIC | SC+12~, SC+17*, SC+18, SC+22*, SC+23!, SC+30!, SC+31! |
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* |
LEXINC | SC+12~, SC+14, SC+15*, SC+17*, SC+22*, SC+23, SC+30 |
>> LEXLKT | SO+24, ONE+35 |
LEXLN | DEF+3~*, DEF+4, DEF+5! |
LEXMC | ICDDP+15~, ICDDP+23*, ICDDP+27, DX+11~, DX+15*, DX+19, SO+12~, SO+15*, SO+20, SOQ+1! , SRC+6~*, SRC+7, SCT+12~, SCT+14*, SCT+15 |
LEXMCE | ICDDP+15~, ICDDP+24*, ICDDP+25, DX+11~, DX+16*, DX+17, SO+12~, SO+16*, SO+17, SOQ+1! , SRC+6~, SRC+7*, SRC+8 |
LEXN | SCT+16~*, SCT+18~* |
LEXN0 | ICDDP+28~, ICDDP+29*, ICDDP+31, DX+20~, DX+21*, DX+23, SO+12~, SO+21~, SO+22*, SO+23 , SOQ+1! |
LEXNAR | SO+25~*, SO+26, ONE+36~*, ONE+37 |
LEXO | ID+4~*, ID+5, ID+6*, ID+7, SCT+12~, SCT+19*, SCT+20 |
LEXP | SC+18~*, SC+19, SC+20, SC+25~*, SC+26, SC+27 |
LEXPL | SCT+12~, SCT+17*, SCT+18*, SCT+19 |
LEXQ | SO+21~*, SO+24, SO+26* |
LEXR | ID+4~*, ID+5*, ID+6 |
LEXRREC | SC+12~, SC+13*, SC+15, SC+16*, SC+19, SC+20, SC+26, SC+27 |
LEXS | SC~, SC+14, SC+15, SC+17, SC+18, SC+22, SC+23!, SC+24, SC+25, SC+29 , SC+30!, SC+31!, SO~, SO+18, SO+19, 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, SO+12~, SO+21~ , SO+23*, SO+27, SO+29, SO+30*, SO+31, SOQ+1!, 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, 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, SO+12~, SO+23*, SO+26, SO+27 , SOQ+1! |
LEXSR | SO+12~, SO+18*, SO+19, SOQ+1!, 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, SO+12~, SO+27*, SO+28, SOQ+1! |
LEXT | ICDDP~, ICDDP+17*, ICDDP+18, ICDDP+19, ICDDP+20, ICDDP+21, SCT+16~*, SCT+18~*, ALL+14~, ALL+18* , ALL+29*, ALL+30* |
LEXTR | SO+12~, SO+13*, SO+14, SO+15, SO+16, SO+17, SOQ+1! |
LEXVDT | SC~, SC+15, ICDDP~, ICDDP+18, ICDDP+19, ICDDP+20, ICDDP+21, ICDDP+32, DX~, DX+14 , DX+24, SO~, SO+27, ICDONE~, ICDONE+11, D10ONE~, D10ONE+11, P10ONE~, P10ONE+11, CPTONE~ , CPTONE+11, CPCONE~, CPCONE+11, DSMONE~, DSMONE+13, DSMONE+16, SCT~, SCT+12, ONE~, ONE+16 , ONE+17, ONE+18, ONE+19, ONE+20, ONE+21, ONE+22, ONE+29, 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 |
SYS | HIST~, HIST+1, PERIOD~, PERIOD+1, CSYS~, CSYS+1, MAX~, MAX+1 |
TXT | FREQ~, FREQ+1, PAR~, PAR+1 |
U | SC+16, ICDDP+23, ICDDP+24, ICDDP+29, ICDDP+31, DX+15, DX+16, DX+21, DX+23, SO+15 , SO+16, SO+23, SO+28, SRC+5, SRC+8, DEF+3 |
X | SC+12~, SCT~, SCT+12, SCT+20*, SCT+21, CSDATA+1~*, NXSAB~, NXSAB+1, INC~, INC+1 , RECENT~, RECENT+1, RUPD~, RUPD+1, LUPD~, LUPD+1 |
Y | NXSAB~, NXSAB+1, LUPD~, LUPD+1 |