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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: LEXTRAN

Package: Lexicon Utility

Routine: LEXTRAN


Information

LEXTRAN ;ISL/KER - Lexicon code and text wrapper API's ;12/19/2014

Source Information

Source file <LEXTRAN.m>

Entry Points

Name Comments DBIA/ICR reference
CODE(CODE,SRC,CDT,LEXRAY,IENS,ID,INC) ; Get the Concept for a Code and Source
  • ICR #4912
    • Status: Active
    • Usage: Supported
    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"
    ;
  • ICR #4913
    • Status: Active
    • Usage: Supported
    VERSION(SRC,CODE,VDT) ; Get the Code Version Number
  • ICR #5011
    • Status: Active
    • Usage: Supported
    TXT4CS(TEXT,SRC,LEXRAY,SUB) ; Is text valid for an SCT code
  • ICR #4914
    • Status: Active
    • Usage: Supported
    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

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^LEX(757.02 - [#757.02] GET1^DIQ
    Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call