Print Page as PDF
OR ACCESS TO HMP SUBSCRIPTION ICR (6431)

OR ACCESS TO HMP SUBSCRIPTION    ICR (6431)

Name Value
NUMBER 6431
IA # 6431
DATE CREATED 2016/07/20
CUSTODIAL PACKAGE HEALTH MANAGEMENT PLATFORM
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE HMPOR
NAME OR ACCESS TO HMP SUBSCRIPTION
GENERAL DESCRIPTION
The Enterprise Health Management Platform (HMP) process
to sync the data between the VistA system and the eHMP JSON Database System
(JSON) requires date/timestamps that include seconds in order to correctly
sequence different events/actions on an order that occur within the same
minute. Routines ORCSAVE, ORCSAVE2, ORWDX and ORWDXA have been modified to
update the HMP SUBSCRIPTION FILE (#800000) when order events occur. This
update will store the event and event date/time including seconds in the HMP
SUBSCRIPTION FILE. All updates are made by calling APIs in the HMPOR routine.


**********************************************************************
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
subscribing application before the ICR is reactivated.  See VistA Document
Library (VDL) for list of retired HMP ICRs.
**********************************************************************
STATUS Retired
KEYWORDS
  • HMP
  • HMP SUBSCRIPTION
  • 800000
DURATION Till Otherwise Agreed
EXPIRATION DATE 2017/10/27
ID HMPOR
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
ADDFLAG
Adds a flag action to an order in the HMP
SUBSCRIPTION FILE (#800000).
VARIABLES TYPE VARIABLES DESCRIPTION
HMVALS Input
Array of values, subscripted by the field #,
passed-by-reference.
HMORIFN Input
Order IFN from the ORDER FILE (#100).
HMDFN Input
Patient DFN.
HMORLVL Input
^OR(100,HMPORIFN,8,X) where HMORLVL is the value of
X.
HMPRSLT Output
Result, passed-by-reference. 1 if successful, else
"-1^error message".
ADDORDR
Adds a new order in the ORDER multiple in the HMP
SUBSCRIPTION FILE (#800000).
VARIABLES TYPE VARIABLES DESCRIPTION
HMRSLT Output
return value passed-by-reference, 1 on success else
"-1^error message".
HMPVALS Input
Array of values, subscripted by the field #,
passed-by-reference.
HMPORIFN Input
Order IEN from the ORDERS FILE (#100).
HMDFN Input
Patient DFN.
HMORLVL Input
^OR(100,HMORIFN,8,X) where X is HMORLVL.
SRVRNO
Returns the IEN from the HMP SUBSCRIPTION FILE
(#800000) for the default eHMP server.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN4SRVR Output
The IEN for the default eHMP server.
ORDRCHK
Function to check for the Order to be in the HMP
SUBSCRIPTION FILE (#800000). Returns 1 if the order exists. Otherwise returns
0.
VARIABLES TYPE VARIABLES DESCRIPTION
HMORIFN Input
The IEN from the ORDER FILE (#100) for this order.
HMDFN Input
Patient DFN.
UPDTORDR
Updates the order in the HMP SUBSCRIPTION FILE
(#800000).
VARIABLES TYPE VARIABLES DESCRIPTION
HMRSLT Output
Return value passed-by-reference, 1 on success else
"-1^error message".
HMVALS Input
Array of values, subscripted by field #,
passed-by-reference.
HMORIFN Input
The IEN for the Order in the ORDER FILE (#100).
HMDFN Input
Patient DFN.
DELORDR
Deletes an order from the HMP SUBSCRIPTION FILE
(#800000). Deletions only happen if the order is also deleted from the ORDER
FILE (#100).
VARIABLES TYPE VARIABLES DESCRIPTION
HMPDFN Input
Patient DFN.
HMIFN Input
The IEN for the order in the ORDER FILE (#100).
SUBSCRIBING PACKAGE ORDER ENTRY/RESULTS REPORTING
DATE ACTIVATED 2017/10/04