DSSO DELAYED ORDER REPORT (4316)    REMOTE PROCEDURE (8994)

Name Value
NAME DSSO DELAYED ORDER REPORT
TAG DSSODOR
ROUTINE DSSOSU
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
DESCRIPTION
This RPC is used to return a Delayed Order Report.
INPUT PARAMETER
  • DSSOUSER
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the DUZ of the Purchasing Agent.
    
  • DSSOSTART
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The start of a Purchasing Agent's SSN range.  It consists of the last two 
    digits of an SSN.
    
  • DSSOSTOP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The end of a Purchasing Agent's SSN range.  It consists of the last two 
    digits of an SSN.
    
  • DSSOSITE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    A Prosthetic Site IEN (#669.9)
     
    The value "ALL" can be passed to search all Prosthetic Site's.
    
  • DSSOSORT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    A series of flags which determines what results are returned:
      P = Pending
      O = Open
      C = Closed
      X = Cancelled
    
  • DSSODATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   YES
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    The date from which the search will start.
    
  • DSSOCAL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    This is a flag which determines if the RPC returns work days or calendar 
    days for the Delayed Order Report.
     
      0 = Work Days (Default)
      1 = Calendar Days
    
RETURN PARAMETER DESCRIPTION
Returns an array List[n].
    p4  = Patient Long ID              p19 = # Days Pending
    p5  = Type of Request              p20 = Work Days Pending
    p6  = Description of Item/Service  p21 = Work Days Pending
    p7  = Initial Action Date          p22 = Work Days Pending
    p8  = Pending > 1 working week     p23 = Work Days Pending
    p9  = # Days From Create           p24 = Patient IEN
    p10 = Days From Create             p25 = Work Order IEN (#664.1)
    p11 = Days From Create             p26 = Work Order #
    p12 = Days From Create             p27 = Assigned Tech DUZ
    p13 = Days From Create             
 
    p14 = Status                       
 
This RPC also returns four lines which contains collective stats about 
the results.  These four lines only contain totals for manuals, consults, 
and pendings.  These four lines also use piece 18, but only to label the 
different totals (0-3)
 
  List[n-3] = Manuals
  List[n-2] = Consults
  List[n-1] = Pending (First action to current date)
The format of the returned array will be as follows:
  List[n]   = Pending (Creation to first action)
 
If an error occurs, the return will be List[n] = -1^message.
  List[n] = p1^p2^p3^p4^p5^p6^p7^p8^p8^p10^p11^p12^p13^p14^p15
            ^p16^p17^p18^p19^p20^p21^p22^p23^p24^p25^p26^p27
 
    p1  = Suspense Date                p15 = File #668 IEN
    p2  = Patient Name                 p16 = Station
    p3  = Patient SSN                  p17 = Linked (boolean)