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

ADGSV.m

Go to the documentation of this file.
ADGSV ; IHS/ADC/PDW/ENM - Scheduled Visit Enter/Edit ; [ 03/25/1999  11:48 AM ]
 ;;5.0;ADMISSION/DISCHARGE/TRANSFER;;MAR 25, 1999
 ;
A ;
 W ! S AUPNLK("ALL")="",X=1
 F  D  Q:X=""!(X=U)
 . S DIC="^ADGAUTH(",DIC(0)="AEMQL",(DLAYGO,DIDEL)=9009013
 . W !! D ^DIC I Y<1 Q
 . L +^ADGAUTH(+Y):3 I '$T D  Q
 .. W !,*7,"SOMEONE ELSE IS UPDATING THIS ENTRY; TRY AGAIN LATER"
 . S DIE="^ADGAUTH(",DR="[ADGAUTH]",(DGX,DA)=+Y
 . D ^DIE L -^ADGAUTH(DGX) S X=1
 K DA,DIC,DIE,Y,X,DR,AUPNLK,DLAYGO,DIDEL,DGX Q