| TITLE | VALUE | |
|---|---|---|
| NAME | DSSO FIND PROSTHETIC PATIENTS | |
| 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$$". | |
| TAG | PROSPAT | |
| ROUTINE | DSSOPP | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | DSSOPAT | |
| DESCRIPTION | Partial value or exact name of patient | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 30 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | DSSOSTE | |
| DESCRIPTION | Prosthetics Site Parameters file (#669.9) IEN | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 15 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
| INPUT PARAMETER | DSSOIEN | |
| DESCRIPTION | Last Prosthetics Patient file (#665) IEN processed | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 15 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
| INPUT PARAMETER | DSSONUM | |
| DESCRIPTION | Number of records to be returned at a time to prevent timeout | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 3 | |
| RETURN VALUE TYPE | GLOBAL ARRAY | |
| RETURN PARAMETER DESCRIPTION | Output: Error Messages: "-1^"_error message or "0^"_warning message "-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." 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) ^-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) | |
| AVAILABILITY | ||
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||