NAMEPSJI PURGE ORDERS
DESCRIPTION This option will allow the user to purge all expired and DC'ed IV orders that are at least 30 days old. Any orders that are purged from the databaseCANNOT be retrieved. Orders which have an expiration date following the dateselected will remain on file. Orders which have been inactive for less than30 days cannot be purged. Because of the large number of orders entered in the IV package, the Purge option should be run at least once a month, to prevent decreased performance caused by compiling orders which are no longerneeded.
CREATORUSER,ONE
E ACTION PRESENTYES
ENTRY ACTIOND ^PSIVXU Q:$D(XQUIT) D ^PSIVPGE
EXIT ACTIONK %T,CAO,D,DFN,DR,N,ON,ORETURN,ORPV,ORSTOP,ORSTRT,ORSTS,P,P17,PSGTOL,PSGTOO,PSGUOW,PSIV,PSIVREA,PSJS,TN,WCA,Y
MENU TEXTPurge Expired Orders (IV)
OUT OF ORDER MESSAGETEMPORARILY UNAVAILABLE
TYPEaction
UPPERCASE MENU TEXTPURGE EXPIRED ORDERS (IV)
X ACTION PRESENTYES