DSSO FIND PROSTHETIC PATIENTS (4330)    REMOTE PROCEDURE (8994)

Name Value
NAME DSSO FIND PROSTHETIC PATIENTS
TAG PROSPAT
ROUTINE DSSOPP
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
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$$".
INPUT PARAMETER
  • DSSOPAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Partial value or exact name of patient
    
  • DSSOSTE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Prosthetics Site Parameters file (#669.9) IEN
    
  • DSSOIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Last Prosthetics Patient file (#665) IEN processed
    
  • DSSONUM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   3
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Number of records to be returned at a time to prevent timeout
    
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."