Print Page as PDF
LEXICON VALIDATE CODE FOR SOURCE ICR (4914)

LEXICON VALIDATE CODE FOR SOURCE    ICR (4914)

Name Value
NUMBER 4914
IA # 4914
DATE CREATED 2006/10/05
CUSTODIAL PACKAGE LEXICON UTILITY
CUSTODIAL ISC Salt Lake City
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE LEXTRAN
NAME LEXICON VALIDATE CODE FOR SOURCE
GENERAL DESCRIPTION
This API will return an array for a given text and code
system indicating whether the text is valid for the specified code system. The
data array returned will include the following:
An indicator of whether the text is valid for the code system
The code in the code system to which the text,if valid for code system,
belongs.  If any of the passed parameters are incorrect or
unrecognizable, the API will return an error message indicating the nature of
the error.

STATUS Active
DURATION Till Otherwise Agreed
ID LEXTRAN
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
$$TXT4CS(TEXT,SOURCE)
VARIABLES TYPE VARIABLES DESCRIPTION
TEXT Input
This is the search text string (mandatory).
SOURCE Input
This is the mnemonic for a code system (mandatory).
The allowable code system mnemonics are those that exist in the "B" index of
the coding systems file (757. 03).
Output
This API returns the following output:

1^code
or
-1^error message