DSIV DDR FINDER

TITLEVALUE
NAMEDSIV DDR FINDER
DESCRIPTIONCall FIND^DIC to get a list of matches on the file for the input value
TAGFIND
ROUTINEDSIVDDR0
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERFILE
DESCRIPTIONThis is the number of the file in which you wish to search.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERIENS
DESCRIPTIONThis is the IENS through which you wish to search for the value VALUE. If
you are searching the top level of a file, this should be null. See the
FileMan Programmer's Manual for instructions on constructing IENS strings.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERFIELD
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.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH250

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERNUMBER
DESCRIPTIONThis is the maximum number of entries to be returned. Defaults to all
entries matching the lookup value VALUE.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH5

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERVALUE
DESCRIPTIONEnter a value that will be used by FileMan for the lookup. This call does
not support the .VALUE syntax allowed by FIND^DIC.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH100

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERINDEX
DESCRIPTIONIf you wish to do the lookup on specific indexes, then enter that here.
The index string must be compliant with the FileMan documentation.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH50

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETERSCREEN
DESCRIPTIONIf you wish to use the DIC("S") equivalent then enter it here.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH250

INPUT PARAMETERSSEQUENCE NUMBER8
INPUT PARAMETERFLAGS
DESCRIPTIONThis is the FileMan FLAGS parameter used in the FILE^DIC API.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH20

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTION Returns 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 FILE=2 (the PATIENT file) and FIELD=".01^.09"
(name and SSAN respectively), then a sample return may look like:

1^CPRSPATIENT,FIRSTNAME1^000000001
2^CPRSPATIENT,FIRSTNAME2^000000002

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

1^000000001^CPRSPATIENT,FIRSTNAME1
2^000000002^CPRSPATIENT,FIRSTNAME2
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED