Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: LROCM

LROCM.m

Go to the documentation of this file.
  1. LROCM ; IHS/DIR/FJE - WARNING MESSAGE ORDER LIST CLEAN-UP 07:48 ;
  1. ;;5.2;LR;**1013**;JUL 15, 2002
  1. ;
  1. ;;5.2;LAB SERVICE;;Sep 27, 1994
  1. EN ;
  1. 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
  1. ;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 ",!
  1. W !!?7,"This Option will not purge the last ",LRPD," days of ORDERS/ACCESSIONS",!
  1. W "As defined by the 'GRACE PERIOD FOR ORDER' field in file #69.9 "
  1. W !!?10,"Orders/Accession OLDER than ",LRPDATE," will be PURGED",!
  1. K LRPD,LRPDATE,%DT Q