DSSO DELAYED ORDER REPORT

TITLEVALUE
NAMEDSSO DELAYED ORDER REPORT
DESCRIPTIONThis RPC is used to return a Delayed Order Report.
TAGDSSODOR
ROUTINEDSSOSU
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSSOUSER
DESCRIPTIONThis is the DUZ of the Purchasing Agent.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDSSOSTART
DESCRIPTIONThe start of a Purchasing Agent's SSN range. It consists of the last two
digits of an SSN.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH2

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSSOSTOP
DESCRIPTIONThe end of a Purchasing Agent's SSN range. It consists of the last two
digits of an SSN.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH2

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERDSSOSITE
DESCRIPTIONA Prosthetic Site IEN (#669.9)

The value "ALL" can be passed to search all Prosthetic Site's.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERDSSOSORT
DESCRIPTIONA series of flags which determines what results are returned:
P = Pending
O = Open
C = Closed
X = Cancelled
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH4

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERDSSODATE
DESCRIPTIONThe date from which the search will start.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH7

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETERDSSOCAL
DESCRIPTIONThis 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
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturns an array List[n].

The format of the returned array will be as follows:
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)
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)
List[n] = Pending (Creation to first action)

If an error occurs, the return will be List[n] = -1^message.
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED