Files > IB ARCHIVE/PURGE LOG

name
IB ARCHIVE/PURGE LOG
number
350.6
location
^IBE(350.6,
description
This file will be used to track the archiving and purging operations of the following three data files used in billing: #350 INTEGRATED BILLING ACTION #351 CATEGORY C BILLING CLOCK #399 BILL/CLAIMS A log entry will be filed when an archival "search" is initiated for one of these files. Once the search end date is logged, archiving will be permitted, and subsequently purging will be allowed when the archive end date is logged. The log entry is thus used to assure that all the necessary steps for archiving and purging are performed in their entirety in the correct order. Per VHA Directive 10-93-142, this file definition should not be modified.
Fields
#NameLocationTypeDetailsIndexDescription
.01archive log #(+)0;1NUMERICBThe Log # number is used to identify a unique archive/purge operation for a single file. The number will be equal to the internal entry number of the Log entry.
.02search template0;2FREE TEXTCThis field contains the name of the Search Template used to contain the list of entries to be archived/purged. This name is the .01 field for the template entry in the SORT TEMPLATE file (#.401). The name of the template is stored instead of a hard pointer to the SORT TEMPLATE file because the template is deleted from the file after the entries have been purged. The name of the template is the string "IB ARCHIVE/PURGE #" concatenated with the Archive Log # (field .01).
.03archive file0;3POINTER1DThis field points to the FILE file (#1) and represents the file to be archived/purged. The Billing data files subject to archiving/purging currently are: 350 INTEGRATED BILLING ACTION 351 CATEGORY C BILLING CLOCK 399 BILL/CLAIMS
.04# records archived0;4NUMERICThis field will contain the number of entries which have been processed in each sequential archive/purge operation. The 'Search' option will update the field with the number of entries which have met the search criteria. The 'Archive' option will update this field with the number of entries archived. The 'Purge' option will update the field with the number of entries purged. Also, the 'Delete Entry From Search Template' option will update the field when entries from the template are deleted.
.05log status0;5SET OF CODES1:OPEN
2:CLOSED
3:CANCELLED
EThis field contains the current status of the archive/purge operation. The status will be OPEN when the log entry is created, and CLOSED after successfully purging archived entries. The entry will be CANCELLED if an error is detected during processing which invalidates the operation.
1.01search begin date/time1;1DATE-TIMEThe date/time at which the search was initiated is automatically stuffed into this field by the 'Search' option.
1.02search end date/time1;2DATE-TIMEThe date/time at which the search was completed is automatically stuffed into this field by the 'Search' option. The existence of this field in the log entry assures that the search on the file was successful, and thus the field is used as the flag to allow archiving.
1.03search initiator1;3POINTER200This field conatins the individual who queued the search on the file. The field is updated by a trigger when the SEARCH BEGIN DATE/TIME field is updated.
2.01archive begin date/time2;1DATE-TIMEThe date/time that the archiving of data is initiated is automatically stuffed into this field by the 'Archive' option.
2.02archive end date/time2;2DATE-TIMEThe date/time that the archiving of data was completed is automatically stuffed into this field by the 'Archive' option. The existence of this field in the log entry assures that archiving was successful, and thus the field is used as a flag to allow purging.
2.03archive initiator2;3POINTER200This field contains the individual who archived the file. The field is updated by a trigger when the ARCHIVE BEGIN DATE/TIME field is updated.
3.01purge begin date/time3;1DATE-TIMEThe date/time that purging is initiated is automatically stuffed into this field by the 'Purge' option.
3.02purge end date/time3;2DATE-TIMEThe date/time that the purging of data was completed is automatically stuffed into this field by the 'Purge' option. When this field is updated the status of the log entry is updated to CLOSED.
3.03purge initiator3;3POINTER200This field contains the individual who purged the file. The field is updated by a trigger when the PURGE BEGIN DATE/TIME field is updated.

Not Referenced