VEJD DDR FINDER

TITLEVALUE
NAMEVEJD DDR FINDER
DESCRIPTION
TAGFIND
ROUTINEVEJDDDR0
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERVEJDFILE
DESCRIPTIONThis is the number of the file in which you wish to search.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERVEJDIENS
DESCRIPTIONThis is the IENS through which you wish to search for the value VEJDVAL.
If you are searching the top level of a file, this should be null. See
the FileMan Programmers manual for instructions on constructing IENS
strings.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERVEJDFELD
DESCRIPTIONThis is an ^ (or ";") delimited list of fields that you wish returned from
each entry that matches the lookup conditions that you have specified.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERVEJDNUM
DESCRIPTIONThis is the maximum number of entries to be returned. Defaults to all
entries matching the lookup value (VEJDVAL).
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturns an array in the following format:

Array[0]=Number of entries found^Number of entries requested^Any more
entries to return?

Array[1]-[n]=IEN^Values of fields requested in VEJDVAL (in order)

For instance: if VEJDFILE=2 (the PATIENT file) and VEJDFELD=".01^.09"
(name and SSAN respectively), then a sample return may look like:

1^MOUSE,MICKEY^000000001
2^MOUSE,MINNIE^000000002

but if VEJDFELD=".09^.01", you would see:

1^000000001^MOUSE,MICKEY
2^000000002^MOUSE,MINNIE
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED