VPS LIST ALL

TITLEVALUE
NAMEVPS LIST ALL
DESCRIPTIONReturns a list of patients with names start with (** NOT PREFIXED BY **)
the input value. Only 44 records will be returned to the caller.

e.q:
If Patient File contains patient names 'AA', 'AB', 'BB', 'BC, 'CC', 'CD'
in this order and caller passes in 'A', all of those patients will be
included in the list.
If 'GG', 'KK', 'LL' are the 44th, 45th, and 46th patients in the
patient name order, 'KK' and 'LL' will not be included.

To get the next patients, caller must request the next batch of 44
records. For this reason, this RPC accepts two different format of
'LIST FROM' text:

1. FROM = PATIENT NAME. This format will return records start with
(** NOT PREFIXED BY **) FROM (PATIENT NAME)

2. FROM = LAST IEN^LAST PATIENT NAME. This format with return the
next batch of 44 records after the LAST PATIENT NAME.
TAGLISTALL
ROUTINEVPSRPC5
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERFROM
DESCRIPTIONFORM is the 'Start With' or 'List From' input parametr. This is
**NOT** a 'Prefixed by' input parameter.
This is a required field and can have two different formats.

1. FORM = PATIENT NAME. This format will return a batch of 44
patient records in patient name order start with PATIENT NAME. This is
*NOT* a 'Prefixed by' input parameter. Any records in that batch
including patient names *not* prefixed by the FORM will be included.

2. FORM = LAST IEN^LAST PATIENT NAME. This format is to provide a
caller to get the next batch of 44 records. The list returned will
NOT include the LAST PATIENT NAME. Commonly, RPC caller will set LAST
IEN^LAST PATIENT NAME with the last record returned in the previous RPC
call.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDIR
DESCRIPTIONInput parameter DIR determines the order of the output array returned. The
value is either 1 (ascending order = default value) or -1 (
descending order).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH2

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONThe parameter Y is an array passed by reference and will contain a list of
patients whose NAME or IEN^NAME match the input value stored in FROM.
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED