LEXU ;ISL/KER - Miscellaneous Lexicon Utilities ;05/23/2017
Source file <LEXU.m>
| 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 | Line Occurrences |
|---|---|
| Function Call: WRITE |
|
| Function Call: WRITE |
|