LEXCODE ;ISL/KER - Retrieval of IEN^Term based on Code ;04/21/2014
Source file <LEXCODE.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(LEX,LEXVDT) | ; Get terms associated with a Code
|
|
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
|
|
PA(X,Y) | ; Previous Activation Date
|