DSSO SSN PO LOOKUP (4317)    REMOTE PROCEDURE (8994)

Name Value
NAME DSSO SSN PO LOOKUP
TAG EN
ROUTINE DSSOUT4
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
DESCRIPTION
This RPC performs a search for a patient based on SSN or short SSN and 
then searches for all POs for that patient.
INPUT PARAMETER
  • DSSOSSN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   9
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the SSN which you wish to search for.  It can be either the full 
    nine digit SSN or it can be the short SSN (first letter of last name and 
    the last four digits of their SSN).
    
RETURN PARAMETER DESCRIPTION
Returns an array List[n].
    p5 = Patient Name               p10 = Patient SSN
 
If nothing is found, the return will be List[n] = 0^NOTHING TO REPORT.
 
If an error occurs, the return will be List[n] = -1^message.
 
The format of the returned array will be as follows:
  List[n] = p1^p2^p3^p4^p5^p6^p7^p8^p8^p10
 
    p1 = Purchase Order IEN         p6  = Vendor
    p2 = Purchase Order Date        p7  = Long PO #
    p3 = Obligation #               p8  = Deliver To
    p4 = Purchase Order #           p9  = Patient IEN