| TITLE | VALUE | |
|---|---|---|
| NAME | HMP MED ORDER CHECKS | |
| DESCRIPTION | This 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. | |
| TAG | ORCHECK | |
| ROUTINE | HMPWBM1 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | DFN | |
| DESCRIPTION | Patient IEN found in the PATIENT FILE (#2) | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 30 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | FID | |
| DESCRIPTION | FILLER ID, aka namespace. Acquired by passing the selected orderDialogIen from the ORWDX WRLST RPC output to the ORWDXC FILLID RPC. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 20 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
| INPUT PARAMETER | STRT | |
| DESCRIPTION | Desired date in Mmm DD,YYYY@HH:SS format (Does not apply to pharmacy orders) | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | ||
| MAXIMUM DATA LENGTH | 30 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 4 |
| INPUT PARAMETER | ORL | |
| DESCRIPTION | Ordering Location (locationIen from the Visit) | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 20 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 5 |
| INPUT PARAMETER | OIL | |
| DESCRIPTION | An 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 TYPE | REFERENCE | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 256 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 6 |
| INPUT PARAMETER | ORIFN | |
| DESCRIPTION | This 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 TYPE | LITERAL | |
| REQUIRED | ||
| MAXIMUM DATA LENGTH | 30 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 7 |
| INPUT PARAMETER | ORREN | |
| DESCRIPTION | Is the order being renewed. Input is a boolean 1 or 0 The ORIFN is required if ORREN is set to 1. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | ||
| MAXIMUM DATA LENGTH | 1 | |
| RETURN VALUE TYPE | GLOBAL ARRAY | |
| RETURN PARAMETER DESCRIPTION | orderIen^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 ON | TRUE | |
| VERSION | 1 | |
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||