| GENERAL DESCRIPTION |
This RPC returns a list of Patients from the current
VistA instance as an ARRAY, sorted alphabetically by name, as described below.
An optional parameter allows the calling application to specify a start value
for filtering the results in a manner compatible with CPRS (e.g., name (or
partial name), SSN, Last Initial/Last 4, etc.). Omitting this parameter will
cause the fetch to begin with the first entry (alphabetically by name) in the
PATIENT File (#2). A second optional parameter allows the calling application
to specify the direction of the search from the start value (i.e., default or
1 -> forward; -1 -> backward).
The 0-node of the return array includes the attributes of the list. Each
subsequent node contains attributes of a patient, as specified below:
RESULT(0)="-1^All Patients^All^COUNT^VISIBILITY"
RESULT(1...n)="DFN^SSN^DOB^SEX^VET?^SC%^WARD^RMBD^NAME^AGE^ICN"
|