LEXTRAN ;ISL/KER - Lexicon code and text wrapper API's ;12/19/2014
Source file <LEXTRAN.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CODE(CODE,SRC,CDT,LEXRAY,IENS,ID,INC) | ; Get the Concept for a Code and Source
|
|
GETINFO | ; Get Information for a Code
|
|
TEXT(TEXT,CDT,SUB,SRC,LEXRAY) | ; Get the Concept for a text and source
; ; Input ; ; TEXT The search string (required) ; CDT Effective date (optional, default is TODAY) ; SUB Subset or 'hierarchy' (optional) ; SRC Code System source abbreviation ; LEXRAY Output array (optional, defaults to 'LEX') ; ; Output ; ; LEX or passed array name - an array containing information ; about the code ; LEX(0) - a five piece string: ; 1. code ; 2. hierarchy ; 3. version ; 4. legacy code ; 5. code status ; ; LEX("F") fully specified name ^ internal entry number ; LEX("P") preferred term ^ internal entry number ; LEX("S",n) synonyms (n is the nth synonym) ^ internal entry number ; ; otherwise ; "-1^error text" ; ; example of LEX array: ; LEX(0)="67922002^Substance^20050701^T-C2500^1" ; LEX("F")="Serum (Substance)" ; LEX("P")="Serum" ; |
|
VERSION(SRC,CODE,VDT) | ; Get the Code Version Number
|
|
TXT4CS(TEXT,SRC,LEXRAY,SUB) | ; Is text valid for an SCT code
|
|
CSYSIEN(MNEM) | ; Return code system IEN for mnemonic
|
|
CSYSMNEM(SIEN) | ; Return code system mnemonic for IEN
|
|
INTDAT(X) | ; Convert date from external format to VA internal format
|
FileNo | Call Tags |
---|---|
^LEX(757.02 - [#757.02] | GET1^DIQ |