Print Page as PDF
DBIA2950 ICR (2950)

DBIA2950    ICR (2950)

Name Value
NUMBER 2950
IA # 2950
DATE CREATED 2003/04/16
CUSTODIAL PACKAGE LEXICON UTILITY
CUSTODIAL ISC Dallas
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE LEXA
NAME DBIA2950
GENERAL DESCRIPTION
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.
STATUS Active
DURATION Till Otherwise Agreed
ID LEXA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
LOOK(LEXX,LEXAP,LEXLL,LEXSUB,DATE)
VARIABLES TYPE VARIABLES DESCRIPTION
LEXX Input
Equivalent to Fileman's variable X and contains the
text to search for.
LEXAP Input
This is the aplication identification and may be in
the form of a name, namespace, or a pointer (Internal Entry Number - IEN) from
an application definition in the Subset Definition file (#757.2).

The default value for this parameter, if it is not supplied, is the one (1),
pointing to the Lexicon application definition.

Included in this application definition are a number of applications defaults
which assist in searching the Lexicon.  Application defaults included the
global root, index, filter, display format, vocabulary, shortcuts, user
default flag, overwrite user default flag, and the unresolved narrative flag.
These are described in the Special Variable section of the Lexicon Utility V.
2.0 Technical Manual.

At this time, there are six (6) application definitions.

Name                          Namspace  IEN
----                          --------  ---
Lexicon                         LEX     1
Problem List                    GMPL    4
ICD Diagnosis                   ICD     12
CPT Procedures                  CPT     13
Mental Health                   DSM     14
ICD, CPT, and DSM Terminology   VAC     15

To conduct a search of the Lexicon using the application defaults for the
Problem List, you may pass this parameter as:

Name               "PROBLEM LIST" - This form is not case
sensitive, and can be found either the
"B" or "C" index of file 757.2.

Namespace          "GMPL" - Namespace - This form is not
case sensitive, and can be found in the
"AN" index of file 757.2.

Pointer            4 - This form is numeric, and is an
Internal Entry Number (IEN) of file 757.2.

LEXLL 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).
LEXSUB Input
This parameter represent the vocabulary subset to use
during the search.  These subsets are defined in the Subset Definition file
(#757.2).  This parameter may be in one of three forms.  To use the "Nursing"
subset you may pass the parameter as:

Name             "NURSING" - This form is not case
sensitive and may be found in either the
"B" or "C" index of file 757.2.

Mnemonic         "NUR" - This form is not case sensitive
and the mnemonic may be found in either the
"AA" or "AB" index of file 757.2.

Pointer          2 - This form is numeric, and is an
Internal Entry Number (IEN) of file 757.2.

TMP Output
^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.
DATE 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.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
ORDER ENTRY/RESULTS REPORTING Salt Lake City