FHINI0MV ; ; 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
;;^DIC(119.73,0,"GL")
;;=^FH(119.73,
;;^DIC("B","COMMUNICATION OFFICE",119.73)
;;=
;;^DIC(119.73,"%D",0)
;;=^^3^3^2911204^
;;^DIC(119.73,"%D",1,0)
;;=This file is a list of Communication Offices and associated parameters.
;;^DIC(119.73,"%D",2,0)
;;=A Communication Office has responsibility for processing diet orders
;;^DIC(119.73,"%D",3,0)
;;=for a group of wards.
;;^DD(119.73,0)
;;=FIELD^^102^31
;;^DD(119.73,0,"DT")
;;=2921007
;;^DD(119.73,0,"IX","B",119.73,.01)
;;=
;;^DD(119.73,0,"NM","COMMUNICATION OFFICE")
;;=
;;^DD(119.73,0,"PT",119.6,6)
;;=
;;^DD(119.73,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
;;^DD(119.73,.01,1,0)
;;=^.1
;;^DD(119.73,.01,1,1,0)
;;=119.73^B
;;^DD(119.73,.01,1,1,1)
;;=S ^FH(119.73,"B",$E(X,1,30),DA)=""
;;^DD(119.73,.01,1,1,2)
;;=K ^FH(119.73,"B",$E(X,1,30),DA)
;;^DD(119.73,.01,1,1,"%D",0)
;;=^^1^1^2911118^
;;^DD(119.73,.01,1,1,"%D",1,0)
;;=This is the normal B cross-reference of the NAME field.
;;^DD(119.73,.01,3)
;;=Answer must be 3-30 characters in length.
;;^DD(119.73,.01,21,0)
;;=^^2^2^2911204^
;;^DD(119.73,.01,21,1,0)
;;=This is the name of the Communication Office. It is responsible for
;;^DD(119.73,.01,21,2,0)
;;=processing the diet orders from a group of Dietetic wards.
;;^DD(119.73,.01,"DT")
;;=2921007
;;^DD(119.73,6,0)
;;=BEGIN BREAKFAST WINDOW^RFX^^2;7^D TIM^FHSYSP
;;^DD(119.73,6,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,6,21,0)
;;=^^3^3^2880713^
;;^DD(119.73,6,21,1,0)
;;=This is the latest time for which breakfast orders will be accepted
;;^DD(119.73,6,21,2,0)
;;=and is used as the time associated with the use of the 'B' (for
;;^DD(119.73,6,21,3,0)
;;=breakfast) time in diet orders.
;;^DD(119.73,6,"DT")
;;=2850302
;;^DD(119.73,7,0)
;;=BEGIN NOON WINDOW^RFX^^2;8^D TIM^FHSYSP
;;^DD(119.73,7,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,7,21,0)
;;=^^3^3^2880713^
;;^DD(119.73,7,21,1,0)
;;=This is the latest time for which noon orders will be accepted
;;^DD(119.73,7,21,2,0)
;;=and is used as the time associated with the use of the 'N' (for
;;^DD(119.73,7,21,3,0)
;;=noon) time in diet orders.
;;^DD(119.73,7,"DT")
;;=2850302
;;^DD(119.73,8,0)
;;=BEGIN EVENING WINDOW^RFX^^2;9^D TIM^FHSYSP
;;^DD(119.73,8,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,8,21,0)
;;=^^3^3^2880713^
;;^DD(119.73,8,21,1,0)
;;=This is the latest time for which evening orders will be accepted
;;^DD(119.73,8,21,2,0)
;;=and is used as the time associated with the use of the 'E' (for
;;^DD(119.73,8,21,3,0)
;;=evening) time in diet orders.
;;^DD(119.73,8,"DT")
;;=2850302
;;^DD(119.73,9,0)
;;=PROVIDE BAGGED MEALS?^S^Y:YES;N:NO;^2;10^Q
;;^DD(119.73,9,21,0)
;;=^^2^2^2910612^^^
;;^DD(119.73,9,21,1,0)
;;=If answered YES, this field indicates that bagged meals can be
;;^DD(119.73,9,21,2,0)
;;=ordered as part of the early/late tray ordering process.
;;^DD(119.73,9,"DT")
;;=2880116
;;^DD(119.73,10,0)
;;=EARLY BREAKFAST TIME 1^FX^^1;1^D TIM^FHSYSP
;;^DD(119.73,10,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,10,21,0)
;;=^^1^1^2880716^
;;^DD(119.73,10,21,1,0)
;;=This is the first delivery time for an early breakfast tray.
;;^DD(119.73,10,"DT")
;;=2850517
;;^DD(119.73,11,0)
;;=EARLY BREAKFAST TIME 2^FX^^1;2^D TIM^FHSYSP
;;^DD(119.73,11,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,11,21,0)
;;=^^1^1^2880716^
;;^DD(119.73,11,21,1,0)
;;=This is the second delivery time for an early breakfast tray.
;;^DD(119.73,11,"DT")
;;=2850517
;;^DD(119.73,12,0)
;;=EARLY BREAKFAST TIME 3^FX^^1;3^D TIM^FHSYSP
;;^DD(119.73,12,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,12,21,0)
;;=^^1^1^2880716^
;;^DD(119.73,12,21,1,0)
;;=This is the third delivery time for an early breakfast tray.
;;^DD(119.73,12,"DT")
;;=2850517
;;^DD(119.73,13,0)
;;=LATE BREAKFAST TIME 1^FX^^1;4^D TIM^FHSYSP
;;^DD(119.73,13,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,13,21,0)
;;=^^1^1^2880716^
;;^DD(119.73,13,21,1,0)
;;=This is the first delivery time for a late breakfast tray.
;;^DD(119.73,13,"DT")
;;=2850517
;;^DD(119.73,14,0)
;;=LATE BREAKFAST TIME 2^FX^^1;5^D TIM^FHSYSP
;;^DD(119.73,14,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,14,21,0)
;;=^^1^1^2880716^
;;^DD(119.73,14,21,1,0)
;;=This is the second delivery time for a late breakfast tray.
;;^DD(119.73,14,"DT")
;;=2850517
;;^DD(119.73,15,0)
;;=LATE BREAKFAST TIME 3^FX^^1;6^D TIM^FHSYSP
;;^DD(119.73,15,3)
;;=ANSWER MUST BE A TIME OF DAY
;;^DD(119.73,15,21,0)
;;=^^1^1^2880716^
;;^DD(119.73,15,21,1,0)
;;=This is the third delivery time for a late breakfast tray.
FHINI0MV ; ; 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 ;;^DIC(119.73,0,"GL")
+2 ;;=^FH(119.73,
+3 ;;^DIC("B","COMMUNICATION OFFICE",119.73)
+4 ;;=
+5 ;;^DIC(119.73,"%D",0)
+6 ;;=^^3^3^2911204^
+7 ;;^DIC(119.73,"%D",1,0)
+8 ;;=This file is a list of Communication Offices and associated parameters.
+9 ;;^DIC(119.73,"%D",2,0)
+10 ;;=A Communication Office has responsibility for processing diet orders
+11 ;;^DIC(119.73,"%D",3,0)
+12 ;;=for a group of wards.
+13 ;;^DD(119.73,0)
+14 ;;=FIELD^^102^31
+15 ;;^DD(119.73,0,"DT")
+16 ;;=2921007
+17 ;;^DD(119.73,0,"IX","B",119.73,.01)
+18 ;;=
+19 ;;^DD(119.73,0,"NM","COMMUNICATION OFFICE")
+20 ;;=
+21 ;;^DD(119.73,0,"PT",119.6,6)
+22 ;;=
+23 ;;^DD(119.73,.01,0)
+24 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
+25 ;;^DD(119.73,.01,1,0)
+26 ;;=^.1
+27 ;;^DD(119.73,.01,1,1,0)
+28 ;;=119.73^B
+29 ;;^DD(119.73,.01,1,1,1)
+30 ;;=S ^FH(119.73,"B",$E(X,1,30),DA)=""
+31 ;;^DD(119.73,.01,1,1,2)
+32 ;;=K ^FH(119.73,"B",$E(X,1,30),DA)
+33 ;;^DD(119.73,.01,1,1,"%D",0)
+34 ;;=^^1^1^2911118^
+35 ;;^DD(119.73,.01,1,1,"%D",1,0)
+36 ;;=This is the normal B cross-reference of the NAME field.
+37 ;;^DD(119.73,.01,3)
+38 ;;=Answer must be 3-30 characters in length.
+39 ;;^DD(119.73,.01,21,0)
+40 ;;=^^2^2^2911204^
+41 ;;^DD(119.73,.01,21,1,0)
+42 ;;=This is the name of the Communication Office. It is responsible for
+43 ;;^DD(119.73,.01,21,2,0)
+44 ;;=processing the diet orders from a group of Dietetic wards.
+45 ;;^DD(119.73,.01,"DT")
+46 ;;=2921007
+47 ;;^DD(119.73,6,0)
+48 ;;=BEGIN BREAKFAST WINDOW^RFX^^2;7^D TIM^FHSYSP
+49 ;;^DD(119.73,6,3)
+50 ;;=ANSWER MUST BE A TIME OF DAY
+51 ;;^DD(119.73,6,21,0)
+52 ;;=^^3^3^2880713^
+53 ;;^DD(119.73,6,21,1,0)
+54 ;;=This is the latest time for which breakfast orders will be accepted
+55 ;;^DD(119.73,6,21,2,0)
+56 ;;=and is used as the time associated with the use of the 'B' (for
+57 ;;^DD(119.73,6,21,3,0)
+58 ;;=breakfast) time in diet orders.
+59 ;;^DD(119.73,6,"DT")
+60 ;;=2850302
+61 ;;^DD(119.73,7,0)
+62 ;;=BEGIN NOON WINDOW^RFX^^2;8^D TIM^FHSYSP
+63 ;;^DD(119.73,7,3)
+64 ;;=ANSWER MUST BE A TIME OF DAY
+65 ;;^DD(119.73,7,21,0)
+66 ;;=^^3^3^2880713^
+67 ;;^DD(119.73,7,21,1,0)
+68 ;;=This is the latest time for which noon orders will be accepted
+69 ;;^DD(119.73,7,21,2,0)
+70 ;;=and is used as the time associated with the use of the 'N' (for
+71 ;;^DD(119.73,7,21,3,0)
+72 ;;=noon) time in diet orders.
+73 ;;^DD(119.73,7,"DT")
+74 ;;=2850302
+75 ;;^DD(119.73,8,0)
+76 ;;=BEGIN EVENING WINDOW^RFX^^2;9^D TIM^FHSYSP
+77 ;;^DD(119.73,8,3)
+78 ;;=ANSWER MUST BE A TIME OF DAY
+79 ;;^DD(119.73,8,21,0)
+80 ;;=^^3^3^2880713^
+81 ;;^DD(119.73,8,21,1,0)
+82 ;;=This is the latest time for which evening orders will be accepted
+83 ;;^DD(119.73,8,21,2,0)
+84 ;;=and is used as the time associated with the use of the 'E' (for
+85 ;;^DD(119.73,8,21,3,0)
+86 ;;=evening) time in diet orders.
+87 ;;^DD(119.73,8,"DT")
+88 ;;=2850302
+89 ;;^DD(119.73,9,0)
+90 ;;=PROVIDE BAGGED MEALS?^S^Y:YES;N:NO;^2;10^Q
+91 ;;^DD(119.73,9,21,0)
+92 ;;=^^2^2^2910612^^^
+93 ;;^DD(119.73,9,21,1,0)
+94 ;;=If answered YES, this field indicates that bagged meals can be
+95 ;;^DD(119.73,9,21,2,0)
+96 ;;=ordered as part of the early/late tray ordering process.
+97 ;;^DD(119.73,9,"DT")
+98 ;;=2880116
+99 ;;^DD(119.73,10,0)
+100 ;;=EARLY BREAKFAST TIME 1^FX^^1;1^D TIM^FHSYSP
+101 ;;^DD(119.73,10,3)
+102 ;;=ANSWER MUST BE A TIME OF DAY
+103 ;;^DD(119.73,10,21,0)
+104 ;;=^^1^1^2880716^
+105 ;;^DD(119.73,10,21,1,0)
+106 ;;=This is the first delivery time for an early breakfast tray.
+107 ;;^DD(119.73,10,"DT")
+108 ;;=2850517
+109 ;;^DD(119.73,11,0)
+110 ;;=EARLY BREAKFAST TIME 2^FX^^1;2^D TIM^FHSYSP
+111 ;;^DD(119.73,11,3)
+112 ;;=ANSWER MUST BE A TIME OF DAY
+113 ;;^DD(119.73,11,21,0)
+114 ;;=^^1^1^2880716^
+115 ;;^DD(119.73,11,21,1,0)
+116 ;;=This is the second delivery time for an early breakfast tray.
+117 ;;^DD(119.73,11,"DT")
+118 ;;=2850517
+119 ;;^DD(119.73,12,0)
+120 ;;=EARLY BREAKFAST TIME 3^FX^^1;3^D TIM^FHSYSP
+121 ;;^DD(119.73,12,3)
+122 ;;=ANSWER MUST BE A TIME OF DAY
+123 ;;^DD(119.73,12,21,0)
+124 ;;=^^1^1^2880716^
+125 ;;^DD(119.73,12,21,1,0)
+126 ;;=This is the third delivery time for an early breakfast tray.
+127 ;;^DD(119.73,12,"DT")
+128 ;;=2850517
+129 ;;^DD(119.73,13,0)
+130 ;;=LATE BREAKFAST TIME 1^FX^^1;4^D TIM^FHSYSP
+131 ;;^DD(119.73,13,3)
+132 ;;=ANSWER MUST BE A TIME OF DAY
+133 ;;^DD(119.73,13,21,0)
+134 ;;=^^1^1^2880716^
+135 ;;^DD(119.73,13,21,1,0)
+136 ;;=This is the first delivery time for a late breakfast tray.
+137 ;;^DD(119.73,13,"DT")
+138 ;;=2850517
+139 ;;^DD(119.73,14,0)
+140 ;;=LATE BREAKFAST TIME 2^FX^^1;5^D TIM^FHSYSP
+141 ;;^DD(119.73,14,3)
+142 ;;=ANSWER MUST BE A TIME OF DAY
+143 ;;^DD(119.73,14,21,0)
+144 ;;=^^1^1^2880716^
+145 ;;^DD(119.73,14,21,1,0)
+146 ;;=This is the second delivery time for a late breakfast tray.
+147 ;;^DD(119.73,14,"DT")
+148 ;;=2850517
+149 ;;^DD(119.73,15,0)
+150 ;;=LATE BREAKFAST TIME 3^FX^^1;6^D TIM^FHSYSP
+151 ;;^DD(119.73,15,3)
+152 ;;=ANSWER MUST BE A TIME OF DAY
+153 ;;^DD(119.73,15,21,0)
+154 ;;=^^1^1^2880716^
+155 ;;^DD(119.73,15,21,1,0)
+156 ;;=This is the third delivery time for a late breakfast tray.