Print Page as PDF
HMP USE OF ORWDX APIs ICR (6440)

HMP USE OF ORWDX APIs    ICR (6440)

Name Value
NUMBER 6440
IA # 6440
DATE CREATED 2016/08/02
CUSTODIAL PACKAGE ORDER ENTRY/RESULTS REPORTING
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE ORWDX
NAME HMP USE OF ORWDX APIs
GENERAL DESCRIPTION
The Enterprise Health MGMT Platform (HMP) calls
SEND^ORWDX to sign an order.

**NOTE: This ICR is for HMP use only!

**********************************************************************
This ICR was retired as of 10/27/17 when HMP was shut down.  HMP*2.0*12
released on 10/17/17 is an informational patch outlining the steps for the
sites to shut down the application.  If HMP is reactivated in the future, the
HMP project team should review the access provided by this ICR with the
custodial application before the ICR is reactivated.  See VistA Document
Library (VDL) for list of retired HMP ICRs.
**********************************************************************
STATUS Retired
KEYWORDS
  • SEND
  • VALIDSIG
  • ORWDX
  • HMP
DURATION Till Otherwise Agreed
EXPIRATION DATE 2017/10/27
ID ORWDX
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
SEND
Signs an order.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient DFN.
ORNP Input
Provider siging the order. This is IEN for the
provider in the NEW PERSON FILE (#200).
ORL Input
The Clinic where the order was written. This is the
IEN for the clinic in the HOSPITAL LOCATION FILE (#44).
ES Input
The user's electronic signature code.
ORWREC Input
An array containing: ORIFN;ACTION ^ SIGNATURE STS ^
RELEASE STS ^ NATURE OF ORDER
LOCK
Locks a specified patient record.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient DFN.
Y Output
Returns 1 is lock is successful.
UNLOCK
Unlocks a patient record.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
Patient DFN.
Y Output
Returns 1.
LOCKORD
Locks the Order record in the ORDER FILE (#100).
VARIABLES TYPE VARIABLES DESCRIPTION
ORIEN Input
The IEN for the order in the ORDER FILE (#100).
OK Output
Returns 1 is lock is successful.
UNLKORD
Unlocks an order record in the ORDER FILE (#100).
VARIABLES TYPE VARIABLES DESCRIPTION
ORIEN Input
The IEN for the order in the ORDER FILE (#100).
OK Output
Returns 1.
SAVE
Saves an order in the ORDER FILE (#100).
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
The Patient DFN.
DUZ Input
The DUZ for the ordering provider.
LOCIEN Input
The IEN from the HOSPITAL LOCATION FILE (#44) for the
ordering location.
DLG Input
The order dialog.
ORDG Input
The Order Display Group.
ORIT Input
IEN for the Order Dialog.
ORIFN Input
The IEN for the order.
ORDIALOG Input
An ordered array consisting of the following:

A map of the input screen to the dialog question subscripts returned from the
ORWDX DGLDEF RPC. Order checks from the ORWDXC ACCEPT RPC. These include:
("ORCHECK") = Number of order checks ("ORCHECK",Piece 1,Piece 3,increment) =
Piece 2 through Piece 4 of the order checks delimited by the carat character.
("ORTS") = Treating speciality. Will be 0 (zero) if not available. Only
applies to inpatient locations.
ORDEA Input
User's digital signature.
ORAPPT Input
The date/time of the visit in VA FileMan format.
ORSRC Input
Order source.
OREVTDF Input
Event default. Only used for delayed orders.
OUT Output
Returns: ORDER IEN ^ GRP ^ ORDER TIME ^ START TIME ^
STOP TIME ^ STS ^ SIG ^ NURSE ^ CLERK ^ PROVIDER ID ^ PROVIDER NAME ^ ACT ^
FLAGGED ^ [DC TYPE] ^ CHARTREV ^ DEA# ^^ DIGSIG ^ LOC ^ [DC ORIGINAL] ^IS
PENDING DC ORDER ^ IS DELAYED ORDER
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
HEALTH MANAGEMENT PLATFORM
This functionality is being released in HMP 2.0
DATE ACTIVATED 2016/08/19