Print Page as PDF
Lexicon Silent Lookup ICR (6267)

Lexicon Silent Lookup    ICR (6267)

Name Value
NUMBER 6267
IA # 6267
DATE CREATED 2015/11/17
CUSTODIAL PACKAGE LEXICON UTILITY
USAGE Supported
TYPE Routine
ROUTINE LEXA
NAME Lexicon Silent Lookup
GENERAL DESCRIPTION
Effective upon release of patch LEX*2.0*103.  Expands
upon LOOK^LEXA ICR 2950.

STATUS Pending
KEYWORDS
  • LEXA
  • LOOK
  • ICD-10
DURATION Till Otherwise Agreed
ID LEXA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
LOOK(X,AP,LL,SUB,CDT,SRC,CAT,FMT)
This entry point is silent and intended to support
Graphical User Interface (GUI) development. The lookup returns an array of
information on the expressions found. The lookup includes reordering the
selection list with the most frequently used at the top, and places any exact
match at the top of the list.

VARIABLES TYPE VARIABLES DESCRIPTION
X Input
Equivalent to Fileman's variable X and contains the
text to search for.

AP Input
This is the aplication or vocabulary identification
and may be in the form of a name or a namespace a subset definition in the
Subset Definition file (#757.2).

Included in this application/vocabulary definition are a number of defaults
which assist in searching the Lexicon.  Defaults may include:

Global root, index, filter, display, vocabulary,
user default flag, overwrite user default flag,
and the unresolved narrative flag.

Values for this parameter can be found in either the "AN" or "AA"
cross-reference of the Subset Definition file (#757.2).

Examples:

Application ("AN" Index)      Namspace
-----------                   --------
Lexicon                         LEX
Problem List                    GMPL
ICD Diagnosis                   ICD
CPT Procedures                  CPT
Mental Health                   DSM
ICD, CPT, and DSM Terminology   VAC
Radiology                       RA

Vocabularies ("AA" Index)     Namspace
------------                  --------
Main Word Index                 WRD
Clinical Findings Index         CLF

LL Input
This is a numeric value which controls the returning
list length in the local array LEX("LIST").  The default value for this
parameter when not supplied is five (5).

SUB Input
This parameter is a mnemonic representing the subset
to use during the search.  These subsets are defined in the Subset Definition
file (#757.2) and can be found in either the AA or AB cross-reference.  The
subset may have default values set that are different from the controlling
application or vocabulary.

Examples:

Vocabularies ("AA" Index)     Namspace
------------                  --------
Main Word Index                 WRD
Clinical Findings Index         CLF
SNOMED CT                       SCT

Subsets ("AB" Index)          Namspace
-------                       --------
ICD-10-CM                       10D
CPT-4/HCPCS                     CHP
Encounter Forms #2              EF2
DSM-IV                          DSM
Problem List #1                 PL1

CDT Input
This is a date in Fileman format used to check if a
code is active or inactive on a specified date. If not supplied, it will
default to TODAY.  Only active codes can be displayed and returned during a
lookup.

SRC Input
This is a source of a vocabulary taken from the
Source file #757.14.  When present, only terms attributed to that source will
be returned.

Examples:

Breast Imaging Reporting and Data System (BI-RADS) Atlas (ACR) Mammography
Quality Standards Act of 1992 (MQSA) Automated Service Connected Designation
(ASCD)

CAT Input
This is the category of a source of a vocabulary
taken from the Category file 757.13.  When present, only terms attributed to
that category will be returned.

Examples:

Breast Imaging Reporting and Data Systems MRI Ultrasound Mammography MRI
Assessment Categories Ultrasound Assessment Categories Mammography Assessment
Categories

FMT Input
This is the preferred output format.

0  Default, Display Text

LEX("LIST",1)="5019187^Mouth Breathing
(ICD-10-CM R06.5)"

1  Parsed Format

LEX("LIST",1)="5019187^Mouth Breathing"
LEX("LIST",1,30)="R06.5^ICD-10-CM^
521361;ICD9("

TMP Output
^TMP temporary global arrays:

^TMP("LEXFND",$J,<freq>,<ien>)

This global array contains all of the entries
found during the search.  The <freq> is a
negative number based on the frequency of use
for a given term.  <ien> is the internal entry
number in the Lexicon Expression file (757.01).

^TMP("LEXHIT",$J,<seq>)

This global array contains the entries reviewed
by the user.  The Lexicon Utility reorders the
list based on frequency of use and assigns a
sequence number representing where on the list
this entry is located.

LEX Output
LEX("LIST")

This local array contains only those entries on the list which are currently
being reviewed by the user.  The third parameter to the look-up defines the
length of this list.