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

ASDWLE.m

Go to the documentation of this file.
ASDWLE ; IHS/ADC/PDW/ENM - WAITING LIST ENTER/EDIT ; [ 03/25/1999  11:48 AM ]
 ;;5.0;IHS SCHEDULING;;MAR 25, 1999
 ;
 NEW DIC,DIE,DA,DR,DLAYGO,ASDN,Y
 S DIC="^ASDWL(",DIC(0)="AEMQL",DLAYGO=9009015 D ^DIC Q:Y<1
 L +^ASDWL(+Y):3 I '$T D MSG Q
 S (DA,ASDN)=+Y,DIE="^ASDWL(",DR="[ASDWL]",AUPNLK("ALL")="" D ^DIE
 L -^ASDWL(ASDN)
 K AUPNLK("ALL") Q
 ;
MSG ;
 W !!,*7
 W "ANOTHER USER IS UPDATING THIS CLINIC'S WAITING LIST"
 W !,"PLEASE TRY AGAIN IN A FEW SECONDS" Q