Print Page as PDF
HMP USE OF DQSAVE~ORWPCE1 ICR (6443)

HMP USE OF DQSAVE~ORWPCE1    ICR (6443)

Name Value
NUMBER 6443
IA # 6443
DATE CREATED 2016/08/03
CUSTODIAL PACKAGE ORDER ENTRY/RESULTS REPORTING
USAGE Controlled Subscription
TYPE Routine
ROUTINE ORWPCE1
NAME HMP USE OF DQSAVE~ORWPCE1
GENERAL DESCRIPTION
The Enterprise Health MGMT Platform (HMP) makes a call
to  DQSAVE^ORWPCE1 in order to save encounter data.


**********************************************************************
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.

The CPRS team did not approve access to the ORWPCE SAVE RPC or DQSAVE~ORWPCE1
API.  One reason is because the code sets the source as TIU which can cause
downstream confusion.  The API is called from the HMP WRITEBACK ENCOUNTERS
RPC.  HMP stated the HMP WRITEBACK ENCOUNTERS RPC is not used but it is an RPC
in the HMP UI CONTEXT option.  The call to DQSAVE~ORWPCE1 API is found in
routine HMPWB5.

If HMP is reactivated in the future, the HMP project team should  review this
ICR with the Custodial Package.  OR*3.0*377 will be modifying this API.  HMP
may need to modify HMP to remove the HMP WRITEBACK ENCOUNTERS RPC from the
context option and the call to ORWPCE1 routine.

**********************************************************************
STATUS Retired
KEYWORDS
  • DQSAVE
  • ORWPCE1
  • HMP
DURATION Till Otherwise Agreed
EXPIRATION DATE 2017/10/27
ID ORWPCE1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION
DQSAVE
DQSAVE doesn't have parameters, however the following
variables have to be defined:

Input
IEN = record to be updated
DFN = patient IEN
DATA(0) - input format - string - Main delimiter is "^"; Subdelimiter is ";"
Piece 1: DFN - Patient IEN
Piece 2: Inpatient flag - 1 = inpatient, 0 = otherwise
Piece 3: Hospital location IEN
Piece 4: Visit/episode date
Piece 5: Service category
Piece 6: Author/dictator IEN (i.e. Provider)
Piece 7: Encounter type - A 2- or 3-character string as follows:
CPT for CPT (^AUPNVCPT; #9000010.18)
HF Health Factor (^AUPNVHF; #9000010.23)
IMM Immunization (^AUPNVIMM; #9000010.11)
PED Patient Education (^AUPNVPED; #9000010.16)
POV POV - Purpose of Visit; a.k.a Diagnosis - (^AUPNVPOV; #9000010.07)
SK Skin (^AUPNVSK; #9000010.12)
XAM Exam (^AUPNVXAM; #9000010.13)
DATA(n) - Encounter data - Main delimiter is "^"; Subdelimeter is ";"
n is an integer>0. Encounter data varies with the type of encounter (piece
7 above) as follows:
CPT: CPT code^Modifier1 code;Modifier2 code;...^Quantity^Provider
name^Comment
HF: Health factor name^Level/severity code^Comment
IMM: ***N/A*** Immunization RPC will be invoked
PED: Education name^Level of understanding code^Comment
POV: Diag. code^Search term^EXACT "problem list items" text^Add to
problem list^Comment
SK: Skin test name^Result code^Reading^Comment
XAM: Exam name^Result code^Comment
SUBSCRIBING PACKAGE HEALTH MANAGEMENT PLATFORM