VEJD DDR FINDER (1094)    REMOTE PROCEDURE (8994)

Name Value
NAME VEJD DDR FINDER
TAG FIND
ROUTINE VEJDDDR0
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
INPUT PARAMETER
  • VEJDFILE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the number of the file in which you wish to search.
    
  • VEJDIENS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This 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.
    
  • VEJDFELD
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is an ^ (or ";") delimited list of fields that you wish returned from
    each entry that matches the lookup conditions that you have specified.
    
  • VEJDNUM
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    This is the maximum number of entries to be returned.  Defaults to all
    entries matching the lookup value (VEJDVAL).
    
RETURN PARAMETER DESCRIPTION
Returns an array in the following format:
 
1^MOUSE,MICKEY^000000001
2^MOUSE,MINNIE^000000002
 
but if VEJDFELD=".09^.01", you would see:
 
1^000000001^MOUSE,MICKEY
2^000000002^MOUSE,MINNIE
 
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: