source: FOIAVistA/trunk/r/LAB_SERVICE-LR-LS/LROCM.m@ 1002

Last change on this file since 1002 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 627 bytes
Line 
1LROCM ;SLC/FHS - WARNING MESSAGE ORDER LIST CLEAN-UP ;8/8/89 07:48
2 ;;5.2;LAB SERVICE;;Sep 27, 1994
3EN ;
4 S LRPD=$S($P(^LAB(69.9,1,0),U,9):$P(^(0),U,9),1:7),%DT="",X="T-"_LRPD D ^%DT,ADD^LRX S LRPDATE=Y
5 ;W !!?7,"This option will purge Orders OLDER than '",LRPDATE,"'",!," from the Accession File 68 #",!," There are ",LRPD," days set for 'GRACE PERIOD FOR ORDERS' in file #69.9 ",!
6 W !!?7,"This Option will not purge the last ",LRPD," days of ORDERS/ACCESSIONS",!
7 W "As defined by the 'GRACE PERIOD FOR ORDER' field in file #69.9 "
8 W !!?10,"Orders/Accession OLDER than ",LRPDATE," will be PURGED",!
9 K LRPD,LRPDATE,%DT Q
Note: See TracBrowser for help on using the repository browser.