GLOBAL MAP DATA DICTIONARY #704.005 -- CP_MOVEMENT_AUDIT FILE                                                     3/24/25    PAGE 1
STORED IN ^MDC(704.005,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                     (VERSION 1.0)   
-----------------------------------------------------------------------------------------------------------------------------------
This file will hold a subset of patient movement data.  This must be done rather than using a direct reference to the PATIENT
MOVEMENT file (#405) because, in the instance of cancellations, the internal entry number (ien) of a patient movement disappears
before there is the chance to work with it.  This file will coalesce all of a movement's data to send to 3rd party users.  That
data is sent to 3rd party users via Health Level Seven (HL7) messaging.  To ensure that message is available to 3rd party users,
the ACCEPTED BY QUEUE field (#.09) is set to '1' to confirm the message is in the HL7 outbound queue; that CP MOVEMENT AUDIT file
entry will then need to be purged.  


CROSS
REFERENCED BY: PATIENT(B)

INDEXED BY:    PIMS_EVENT_ID & PATIENT & WARD (APIMS), PATIENT & MESSAGE_TYPE & EVENT_TYPE & DATE_TIME_OF_EVENT (LAST), PATIENT &
               DATE_TIME_OF_EVENT & EVENT_TYPE (LSTMSG)


^MDC(704.005,D0,0)= (#.01) PATIENT [1P:2] ^ (#.02) DATE_TIME_OF_EVENT [2D] ^ (#.03) DIVISION [3P:40.8] ^ (#.04) WARD [4P:42] ^ 
                 ==>(#.05) BED [5P:405.4] ^ (#.06) MESSAGE_TYPE [6F] ^ (#.07) EVENT_TYPE [7F] ^ (#.08) PIMS_EVENT_ID [8F] ^ 
                 ==>(#.09) ACCEPTED_BY_QUEUE [9S] ^ 
^MDC(704.005,D0,.1)= (#.1) QUEUE_ERROR_MSG [1F] ^ 
^MDC(704.005,D0,1.1)= (#.21) A08_TARGET [1P:704.006] ^ 


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):