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

ADGBULL.m

Go to the documentation of this file.
ADGBULL ; IHS/ADC/PDW/ENM - POST ADT BULLETINS ; [ 03/25/1999  11:48 AM ]
 ;;5.0;ADMISSION/DISCHARGE/TRANSFER;;MAR 25, 1999
 ;
BULL ;***> MANUALLY POST A BULLETIN
 D ^XBCLS W !!?20,"MANUALLY POST BULLETIN THAT A&D SHEET IS READY",!!
 W !,"Fill in the date for the message below:",!
 S DIC(0)="EQMZ",DIC="^XMB(3.6," D ^DIC Q:Y<0
 S XMB=$P(Y(0),U,1),XMJ=0 F I=1:1 S XMJ=$O(^XMB(3.6,+Y,1,XMJ)) Q:XMJ=""  W !,^(XMJ,0)
 W ! NEW DIR,DIRUT S DIR(0)="FO",DIR("A")="Enter A&D Sheet Date" D ^DIR
 Q:$D(DIRUT)  S XMB(1)=Y
 NEW DIR,DIRUT S DIR(0)="Y0",DIR("A")="Okay to Post Bulletin Now"
 D ^DIR Q:$D(DIRUT)  K XMDT S XMT=0 D ^XMB
END Q
 ;
ADS ;EP
 S X="DG IHS A&D" G BULL  ;A&D SHEET BULLETIN