DESCRIPTION | This option will purge all entries from the PIMS HL7 PIVOT file (#391.71) that are older than a specific number of days as determinedby the site. There is no user input required. A field in the MAS PARAMETERS file (#43) is used in conjunction withthis option. The name of the field is PIVOT FILE DAYS TO RETAIN andthe field number is 391.702. The field may be updated with a numericvalue between 30 and 999 using the Enter/Edit option of VA FileMan. This value represents the number of days worth of data to retain in file #391.71 when the VAFH PIVOT PURGE option is run. For example, if the site updates this field with a value of 100, thenany record with a date earlier than TODAY-100 days will be deletedduring the purge. If the site does not update this field (i.e., thefield value remains null), then the VAFH PIVOT PURGE option will usea default value of 547 days (approximately 18 months). However, before any file #391.71 record is deleted two checks willbe performed on the record. (1) If the internal entry number of therecord exists in the "AXMIT" cross-reference, it will not be deleted.(2) If the TYPE OF EVENT field (#.04) of the record is "1" (i.e.,INPATIENT EVENTS) and if the PATIENT MOVEMENT file (#405) does notreflect a discharge for the admission, the file #391.71 record willnot be deleted. |