Print Page as PDF
READ DUPLICATE RECORD FILE ICR (6043)

READ DUPLICATE RECORD FILE    ICR (6043)

Name Value
NUMBER 6043
IA # 6043
FILE NUMBER 15
GLOBAL ROOT VA(15
DATE CREATED 2014/04/15
CUSTODIAL PACKAGE KERNEL
USAGE Private
TYPE File
DBIC APPROVAL STATUS APPROVED
NAME READ DUPLICATE RECORD FILE
GENERAL DESCRIPTION
PCMMR would like to reference fields in the following
file directly:

DUPLICATE RECORD (#15) FILE

IEN, .01 RECORD1, .02 RECORD2, .03 STATUS, .04 MERGE DIRECTION, .05 MERGE
STATUS

When PCMMR receives an ADT-A24 HL7 message from MPI indicating a merge of
identities that is a "local merge" on a single station, PCMMR needs to query
the Duplicate Record file to determine whether VistA has completed the
resolution of duplicate patients. If and only if the local VistA staff
performing the Local Merges chooses to accept and process this local data
merge, PCMMR will complete the data merge in its own enterprise database,
enabling it to continue data synchronization with the VistA site. If VistA
chooses to deny the merge request, or merge the patient data in the opposite
direction, PCMMR can use the status in this file to adjust its behavior
accordingly.

The code queries field .05 MERGE STATUS to find the status of the merge
process for each pair of duplicate records. If it finds value 3 - IN PROCESS,
it starts polling VistA. It will poll VistA at increasing time interval until
we exceed the maximum polling limit (currently 5 days from start of polling).
If during polling it finds a value of 2 - MERGED, in a duplicate pair, the
code processes the patient's data for the site and sends an application ack
(acknowledgement) to MVI.

The file is accessed using a PCMMR restricted RPC "SCMC LISTER", which employs
a Fileman DBS API to retrieve data from File 15.  It is deployed as part of
patch SD*5.3*603.
GLOBAL REFERENCE
GLOBAL REFERENCE FIELD NUMBER
VA(15,D0)
FIELD NUMBER ACCESS FIELD NAME LOCATION
.01 Read w/Fileman RECORD1 0;1
.02 Read w/Fileman RECORD2 0;2
.03 Read w/Fileman STATUS 0;3
.04 Read w/Fileman MERGE DIRECTION 0;4
.05 Read w/Fileman MERGE STATUS 0;5
STATUS Active
KEYWORDS
  • MPI
  • MVI
  • PCMMR
DURATION Till Otherwise Agreed
ID VA(15
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
SCHEDULING
See details below.
DATE ACTIVATED 2014/07/09