FHINI0MX ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(119.73) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^DD(119.73,30,0)
;;=LATE NOON ALARM BEGIN^FXO^^2;3^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
;;^DD(119.73,30,2)
;;=S Y(0)=Y D MIP^FHSYSP
;;^DD(119.73,30,2.1)
;;=D MIP^FHSYSP
;;^DD(119.73,30,3)
;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
;;^DD(119.73,30,21,0)
;;=^^3^3^2880716^
;;^DD(119.73,30,21,1,0)
;;=This is the beginning of the noon alarm period; persons entering
;;^DD(119.73,30,21,2,0)
;;=diet orders will be reminded that the noon cut-off has passed
;;^DD(119.73,30,21,3,0)
;;=and a late noon tray will have to be ordered if desired.
;;^DD(119.73,30,"DT")
;;=2871110
;;^DD(119.73,31,0)
;;=LATE NOON ALARM END^FXO^^2;4^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
;;^DD(119.73,31,2)
;;=S Y(0)=Y D MIP^FHSYSP
;;^DD(119.73,31,2.1)
;;=D MIP^FHSYSP
;;^DD(119.73,31,3)
;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
;;^DD(119.73,31,21,0)
;;=^^2^2^2880716^
;;^DD(119.73,31,21,1,0)
;;=This is the end of the noon alarm period and should be one or two
;;^DD(119.73,31,21,2,0)
;;=minutes earlier than the last noon late tray delivery time.
;;^DD(119.73,31,"DT")
;;=2871110
;;^DD(119.73,32,0)
;;=LATE EVENING ALARM BEGIN^FXO^^2;5^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
;;^DD(119.73,32,2)
;;=S Y(0)=Y D MIP^FHSYSP
;;^DD(119.73,32,2.1)
;;=D MIP^FHSYSP
;;^DD(119.73,32,3)
;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
;;^DD(119.73,32,21,0)
;;=^^4^4^2880716^
;;^DD(119.73,32,21,1,0)
;;=This is the beginning of the evening alarm period; that is the period
;;^DD(119.73,32,21,2,0)
;;=when persons entering diet orders will be reminded that the
;;^DD(119.73,32,21,3,0)
;;=evening cut-off has passed and a late evening tray will have
;;^DD(119.73,32,21,4,0)
;;=to be ordered if desired.
;;^DD(119.73,32,"DT")
;;=2871110
;;^DD(119.73,33,0)
;;=LATE EVENING ALARM END^FXO^^2;6^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
;;^DD(119.73,33,2)
;;=S Y(0)=Y D MIP^FHSYSP
;;^DD(119.73,33,2.1)
;;=D MIP^FHSYSP
;;^DD(119.73,33,3)
;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
;;^DD(119.73,33,21,0)
;;=^^3^3^2880716^
;;^DD(119.73,33,21,1,0)
;;=This is the end of the evening alarm period and should be one or
;;^DD(119.73,33,21,2,0)
;;=two minutes earlier than the last evening late tray delivery
;;^DD(119.73,33,21,3,0)
;;=time.
;;^DD(119.73,33,"DT")
;;=2871110
;;^DD(119.73,101,0)
;;=DATE/TIME LAST UPDATE^D^^0;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
;;^DD(119.73,101,21,0)
;;=^^3^3^2950420^^^^
;;^DD(119.73,101,21,1,0)
;;=This is the date/time of the last Diet Activity report generated for
;;^DD(119.73,101,21,2,0)
;;=this Communication Office. It is used so that the following report
;;^DD(119.73,101,21,3,0)
;;=will show only changes after this date/time.
;;^DD(119.73,101,"DT")
;;=2911101
;;^DD(119.73,102,0)
;;=LAST LABEL UPDATE^D^^0;3^S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
;;^DD(119.73,102,21,0)
;;=^^2^2^2920822^
;;^DD(119.73,102,21,1,0)
;;=This is the last date/time the labels were generated for the
;;^DD(119.73,102,21,2,0)
;;=Diet Activity Report
;;^DD(119.73,102,"DT")
;;=2920822
FHINI0MX ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(119.73)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DD(119.73,30,0)
+2 ;;=LATE NOON ALARM BEGIN^FXO^^2;3^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
+3 ;;^DD(119.73,30,2)
+4 ;;=S Y(0)=Y D MIP^FHSYSP
+5 ;;^DD(119.73,30,2.1)
+6 ;;=D MIP^FHSYSP
+7 ;;^DD(119.73,30,3)
+8 ;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
+9 ;;^DD(119.73,30,21,0)
+10 ;;=^^3^3^2880716^
+11 ;;^DD(119.73,30,21,1,0)
+12 ;;=This is the beginning of the noon alarm period; persons entering
+13 ;;^DD(119.73,30,21,2,0)
+14 ;;=diet orders will be reminded that the noon cut-off has passed
+15 ;;^DD(119.73,30,21,3,0)
+16 ;;=and a late noon tray will have to be ordered if desired.
+17 ;;^DD(119.73,30,"DT")
+18 ;;=2871110
+19 ;;^DD(119.73,31,0)
+20 ;;=LATE NOON ALARM END^FXO^^2;4^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
+21 ;;^DD(119.73,31,2)
+22 ;;=S Y(0)=Y D MIP^FHSYSP
+23 ;;^DD(119.73,31,2.1)
+24 ;;=D MIP^FHSYSP
+25 ;;^DD(119.73,31,3)
+26 ;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
+27 ;;^DD(119.73,31,21,0)
+28 ;;=^^2^2^2880716^
+29 ;;^DD(119.73,31,21,1,0)
+30 ;;=This is the end of the noon alarm period and should be one or two
+31 ;;^DD(119.73,31,21,2,0)
+32 ;;=minutes earlier than the last noon late tray delivery time.
+33 ;;^DD(119.73,31,"DT")
+34 ;;=2871110
+35 ;;^DD(119.73,32,0)
+36 ;;=LATE EVENING ALARM BEGIN^FXO^^2;5^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
+37 ;;^DD(119.73,32,2)
+38 ;;=S Y(0)=Y D MIP^FHSYSP
+39 ;;^DD(119.73,32,2.1)
+40 ;;=D MIP^FHSYSP
+41 ;;^DD(119.73,32,3)
+42 ;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
+43 ;;^DD(119.73,32,21,0)
+44 ;;=^^4^4^2880716^
+45 ;;^DD(119.73,32,21,1,0)
+46 ;;=This is the beginning of the evening alarm period; that is the period
+47 ;;^DD(119.73,32,21,2,0)
+48 ;;=when persons entering diet orders will be reminded that the
+49 ;;^DD(119.73,32,21,3,0)
+50 ;;=evening cut-off has passed and a late evening tray will have
+51 ;;^DD(119.73,32,21,4,0)
+52 ;;=to be ordered if desired.
+53 ;;^DD(119.73,32,"DT")
+54 ;;=2871110
+55 ;;^DD(119.73,33,0)
+56 ;;=LATE EVENING ALARM END^FXO^^2;6^D TIM^FHSYSP I $D(X) D MIL^FHSYSP S X=X1
+57 ;;^DD(119.73,33,2)
+58 ;;=S Y(0)=Y D MIP^FHSYSP
+59 ;;^DD(119.73,33,2.1)
+60 ;;=D MIP^FHSYSP
+61 ;;^DD(119.73,33,3)
+62 ;;=ANSWER MUST BE 1-7 CHARACTERS IN LENGTH
+63 ;;^DD(119.73,33,21,0)
+64 ;;=^^3^3^2880716^
+65 ;;^DD(119.73,33,21,1,0)
+66 ;;=This is the end of the evening alarm period and should be one or
+67 ;;^DD(119.73,33,21,2,0)
+68 ;;=two minutes earlier than the last evening late tray delivery
+69 ;;^DD(119.73,33,21,3,0)
+70 ;;=time.
+71 ;;^DD(119.73,33,"DT")
+72 ;;=2871110
+73 ;;^DD(119.73,101,0)
+74 ;;=DATE/TIME LAST UPDATE^D^^0;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
+75 ;;^DD(119.73,101,21,0)
+76 ;;=^^3^3^2950420^^^^
+77 ;;^DD(119.73,101,21,1,0)
+78 ;;=This is the date/time of the last Diet Activity report generated for
+79 ;;^DD(119.73,101,21,2,0)
+80 ;;=this Communication Office. It is used so that the following report
+81 ;;^DD(119.73,101,21,3,0)
+82 ;;=will show only changes after this date/time.
+83 ;;^DD(119.73,101,"DT")
+84 ;;=2911101
+85 ;;^DD(119.73,102,0)
+86 ;;=LAST LABEL UPDATE^D^^0;3^S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
+87 ;;^DD(119.73,102,21,0)
+88 ;;=^^2^2^2920822^
+89 ;;^DD(119.73,102,21,1,0)
+90 ;;=This is the last date/time the labels were generated for the
+91 ;;^DD(119.73,102,21,2,0)
+92 ;;=Diet Activity Report
+93 ;;^DD(119.73,102,"DT")
+94 ;;=2920822