HMP MED ORDER CHECKS

TITLEVALUE
NAMEHMP MED ORDER CHECKS
DESCRIPTIONThis RPC wraps the broker calls for both ORWDXC ACCEPT and ORCHECK
GETXTRA into a single call. It will use the same inputs as the ORWDXC
ACCEPT RPC; but will combine the outputs from both broker calls into a
single return.
TAGORCHECK
ROUTINEHMPWBM1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTIONPatient IEN found in the PATIENT FILE (#2)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFID
DESCRIPTIONFILLER ID, aka namespace. Acquired by passing the selected
orderDialogIen from the ORWDX WRLST RPC output to the ORWDXC FILLID RPC.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERSTRT
DESCRIPTIONDesired date in Mmm DD,YYYY@HH:SS format (Does not apply to pharmacy
orders)
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERORL
DESCRIPTIONOrdering Location (locationIen from the Visit)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETEROIL
DESCRIPTIONAn ordered list (array) of orderable items for Radiology, Lab, Pharmacy,
etc. Note: Pharmacy orders contains orderable items + package
information (inpatient, infusion, non-VA, and outpatient medication
orders) as appropriate.
PARAMETER TYPEREFERENCE
REQUIREDYES
MAXIMUM DATA LENGTH256

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERORIFN
DESCRIPTIONThis is only available and required for existing orders that are being
copied, changed, or renewed. New orders do not have an orderIen until
they are saved.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETERORREN
DESCRIPTIONIs the order being renewed. Input is a boolean 1 or 0
The ORIFN is required if ORREN is set to 1.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONorderIen^orderCheckIen^CDL^message
orderIen = NEW for new orders.
CDL = Clinic Danger Level. If CDL = 1, an override comment will be
required during processing order checks during the signing process.

Each order check returned will be evaluated for extra lines:

Example: NEW^25^2^||63679,54957,NEW&These checks could not be
completed for this patient:
Note: An order check that is returned with the double pipe (||) as
noted above is the indication that this RPC needs to be run.

Final output may contain a mix of order checks with and without extra
lines.
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED