| DESCRIPTION |
This RPC returns patients from the Prosthetics Patient file (#665) based
on a starting value. The number of records to be returned may be
specified. If additional records exist, the last IEN processed will be
returned in the last entry of the returned array ("$$LAST IEN
PROCESSED$$"). To retrieve additional patients meeting the starting
value, include the Last IEN Processed when using the RPC. When all
patients meeting the input value have been returned, the last entry in the
return will be " $$END$$".
|
| RETURN PARAMETER DESCRIPTION |
Output:
Successful Completion: Returns external and internal formats of patient
name, and related fields from the Prosthetics Patient file (#665),
the Patient file (#2), and the Outpatient Profile (#404.41) file in
the format:
^-piece 1 - DFN
^-piece 2 - Patient Name (file 665 field .01 external)
^-piece 3 - Station (file 665 field 2 internal)
^-piece 4 - Date of Birth (file 2 field .03 external)
^-piece 5 - SSN (file 2 field .09 external)
Error Messages: "-1^"_error message or "0^"_warning message
^-piece 6 - 1U4N (file 2 field .0905 external)
^-piece 7 - Service Connected? (file 2 field .301 external)
^-piece 8 - Current PC Practitioner (file 404.41 field 201)
^-piece 9 - Current PC Team (file 404.41 field 203)
^-piece 10 - Veteran (Y/N)? (file 2 field 1901)
"-1^Patient name not provided"
"-1^Prosthetics Site Parameters IEN not provided"
"-1^Invalid Prosthetic Site Parameters IEN"
"-1^Invalid Prosthetics Patient IEN"
"0^No Patients with requested value found in Prosthetics Patient
file."
"0^No Prosthetics Patients found."
|