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
Print Page as PDF
Routine: LEXCODE

Package: Lexicon Utility

Routine: LEXCODE


Information

LEXCODE ;ISL/KER - Retrieval of IEN^Term based on Code ;04/21/2014

Source Information

Source file <LEXCODE.m>

Entry Points

Name Comments DBIA/ICR reference
EN(LEX,LEXVDT) ; Get terms associated with a Code
  • ICR #1614
    • Status: Active
    • Usage: Supported
    CHK ; Check if Valid
    ASEM ; Assemble List
    LEXY ; Get IEN^TERM for Code X
    CODE(X,LEXVDT,LEXSAB) ; Code for an Expression and Source
    ;
    ; Similar to $$ICDDX^ICDEX
    ; $$ICDOP^ICDEX
    ; $$CPT^ICPTCOD
    ; $$DX^ICDXCD
    ; $$PR^ICDXCD
    ;
    ; Except the data comes from the Lexicon and
    ; can be used for any source in file 757.03 and
    ; is not limited to ICD-9, ICD-10 and CPT.
    ;
    ; Input
    ;
    ; X Pointer to an Expression in file 757.01
    ; LEXVDT Versioning Date
    ; LEXSAB Source Abbreviation
    ;
    ; Output A 11 piece "^" delimited string
    ;
    ; 1 IEN of Code File ^LEX(757.02)
    ; 2 Code File ^LEX(757.02) Field #1
    ; 3 Expression Pointer to ^LEX(757.01)
    ; 4 Concept Expression Pointer to ^LEX(757.01)
    ; 5 Source Pointer ^LEX(757.03)
    ; 6 Preference File ^LEX(757.02) Field #4
    ; 7 Primary File ^LEX(757.02) Field #6
    ; 8 Status on date 4 multiple
    ; 9 Inactive Date 4 multiple
    ; 10 Active Date 4 multiple
    ; 11 Source Nomenclature File ^LEX(757.03) Field #1
    ;
    EXP(LEX,LEXS,LEXVDT) ; Get Preferred Expression for an Active Code
  • ICR #5680
    • Status: Active
    • Usage: Supported
    PA(X,Y) ; Previous Activation Date
    Info |  Source |  Entry Points