16 lines
774 B
Mathematica
16 lines
774 B
Mathematica
NURAMB3 ;HIRMFO/MD-MANHOURS BATCH JOB STATUS ROUTINE ;FEB 89
|
|
;;4.0;NURSING SERVICE;;Apr 25, 1997
|
|
EN1 ; BULLETIN SUBROUTINE FOR AMIS 1106 CLASSIFICATION/MANHOUR BATCH JOBS
|
|
Q:'$D(^DIC(213.9,1,"OFF")) Q:$P(^DIC(213.9,1,"OFF"),"^")=1
|
|
S:'$D(^DIC(213.9,1,"DATE")) ^DIC(213.9,1,"DATE")=""
|
|
I $D(^DIC(213.9,1,"DATE")) F SHFT=2,6 I '(+$P(^DIC(213.9,1,"DATE"),"^",SHFT)=1) D SEND K XMB
|
|
I '$P(^DIC(213.9,1,"DATE"),"^",9) D SEND1
|
|
K XMB,SHFT,DA
|
|
Q
|
|
SEND ; CLASSIFICATION BULLETIN
|
|
S X="T-1" D ^%DT,D^DIQ S XQAMSG="The AMIS Acuity-Sep/Act Batch job for "_Y_" was not completed.",XQA("G.NURS-ADP")="" D SETUP^XQALERT
|
|
Q
|
|
SEND1 ;SEPARATION/ACTIVATION BULLETIN
|
|
S Y=DT D D^DIQ S XQAMSG="The Nursing Sep/Act batch job for "_Y_" was not completed.",XQA("G.NURS-ADP")="" D SETUP^XQALERT
|
|
Q
|