Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: LEXU

Package: Lexicon Utility

Routine: LEXU


Information

LEXU ;ISL/KER - Miscellaneous Lexicon Utilities ;05/23/2017

Source Information

Source file <LEXU.m>

Entry Points

Name Comments DBIA/ICR reference
HELP ; API Help
SC(LEX,LEXS,LEXVDT) ; Filter by Semantic Class
  • ICR #5386
    • Status: Active
    • Usage: Supported
    SO(LEX,LEXS,LEXVDT) ; Filter by Source
  • ICR #5386
    • Status: Active
    • Usage: Supported
    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
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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
  • ICR #1512
    • Status: Retired
    • Usage: Private
  • ICR #1573
    • Status: Active
    • Usage: Supported
    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
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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
  • ICR #1573
    • Status: Active
    • Usage: Supported
    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
  • ICR #1573
    • Status: Active
    • Usage: Supported
  • ICR #2288
    • Status: Withdrawn
    • Usage: Supported
    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
  • ICR #1573
    • Status: Active
    • Usage: Supported
    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
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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
  • ICR #5679
    • Status: Active
    • Usage: Supported
    PRF(LEX,LEXVDT,LEXSAB) ; Get One Code for a Preferred Term by Source
  • ICR #6265
    • Status: Active
    • Usage: Supported
    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>
    ;
  • ICR #1573
    • Status: Active
    • Usage: Supported
    D10(LEX,LEXVDT) ; Get All ICD-10 Diagnosis Codes for a Term
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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
    ;
  • ICR #5679
    • Status: Active
    • Usage: Supported
    HIST(CODE,SYS,ARY) ; Activation History
  • ICR #5679
    • Status: Active
    • Usage: Supported
    PERIOD(CODE,SYS,ARY) ; Return Activation Periods
  • ICR #5679
    • Status: Active
    • Usage: Supported
    EXP(IEN) ; Get Expression for IEN
  • ICR #6265
    • Status: Active
    • Usage: Supported
    EXPS(IEN,CDT,ARY) ; Get Expression and Codes for IEN
  • ICR #6265
    • Status: Active
    • Usage: Supported
    PREF(CODE,SAB,CDT) ; Get Preferred Expression for an Active Code
  • ICR #6265
    • Status: Active
    • Usage: Supported
    CSDATA(CODE,CSYS,CDT,ARY) ; Code Data
  • ICR #5679
    • Status: Active
    • Usage: Supported
    ADR(LEX) ; Mailing Address
    VDT ; Resolve LEXVDT
    IMPDATE(CSYS) ; Return the implementation date for a coding system
  • ICR #5679
    • Status: Active
    • Usage: Supported
    CSYS(SYS) ; Coding System Info
  • ICR #5679
    • Status: Active
    • Usage: Supported
    FREQ(TXT) ; Frequency of text - ICR 5679
  • ICR #5679
    • Status: Active
    • Usage: Supported
    MAX(SYS) ; Coding System search Threshold - ICR 5679
  • ICR #5679
    • Status: Active
    • Usage: Supported
    PAR(TXT,ARY) ; Parse Text into Words (for indexing)
  • ICR #5679
    • Status: Active
    • Usage: Supported
    CAT(CODE) ; Get Category of Dx Code - ICR 5679
  • ICR #5679
    • Status: Active
    • Usage: Supported
    ISCAT(CODE) ; Get Category of Dx Code - ICR 5679
  • ICR #5679
    • Status: Active
    • Usage: Supported
    PFI(FRAG,CDT,ARY) ; ICD-10 Procedure Code Fragment Information - ICR 5679
  • ICR #5679
    • Status: Active
    • Usage: Supported
    NXSAB(X,Y) ; Next Source Abbreviation
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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)
  • ICR #5679
    • Status: Active
    • Usage: Supported
    RUPD(X) ; Recent Update Date
  • ICR #5679
    • Status: Active
    • Usage: Supported
    LUPD(X,Y) ; Last Update
  • ICR #5679
    • Status: Active
    • Usage: Supported
    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
  • ICR #6265
    • Status: Active
    • Usage: Supported
    SOS(IEN,ARY,SYN) ; Get Codes for an Expression
  • ICR #6265
    • Status: Active
    • Usage: Supported
    EXM(X,ARY,LEXD,LEXM) ; Exact Match
  • ICR #6265
    • Status: Active
    • Usage: Supported
    SUBSETS(CODE,SRC,LEX) ; Get Subsets for a Code
  • ICR #6265
    • Status: Active
    • Usage: Supported
    CODE(CODE,SRC,CDT,ARY,OUT) ;
  • ICR #6265
    • Status: Active
    • Usage: Supported
    TERM(IEN,CDT,ARY,OUT) ;
  • ICR #6265
    • Status: Active
    • Usage: Supported

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,?2,^LEX(757.01,LEX,3,LEXLN,0)
    • Line Location: DEF+4
    Function Call: WRITE
    • Prompt: !
    • Line Location: DEF+5
    Info |  Source |  Entry Points |  Interaction Calls