FHINI0LQ ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(117.3) 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(117.3,58,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question one
;;^DD(117.3,58,21,3,0)
;;=of the Dietetic Survey on whether the food looked attractive, appetizing.
;;^DD(117.3,59,0)
;;=TASTE^117.359^^TAS;0
;;^DD(117.3,59,21,0)
;;=^^3^3^2931228^^
;;^DD(117.3,59,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,59,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question two
;;^DD(117.3,59,21,3,0)
;;=of the Dietetic Survey on whether the food tastes good.
;;^DD(117.3,60,0)
;;=TEMPERATURE^117.31^^TEM;0
;;^DD(117.3,60,21,0)
;;=^^3^3^2931228^^^^
;;^DD(117.3,60,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,60,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question three
;;^DD(117.3,60,21,3,0)
;;=of the Dietetic Survey on the temperature of the food.
;;^DD(117.3,60,22)
;;=
;;^DD(117.3,61,0)
;;=VARIETY^117.361^^VAR;0
;;^DD(117.3,61,21,0)
;;=^^3^3^2931228^^
;;^DD(117.3,61,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,61,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question
;;^DD(117.3,61,21,3,0)
;;=four of the Dietetic Survey on the variety of foods served.
;;^DD(117.3,62,0)
;;=CLEANLINESS^117.362^^CLN;0
;;^DD(117.3,62,21,0)
;;=^^4^4^2931228^
;;^DD(117.3,62,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,62,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question five
;;^DD(117.3,62,21,3,0)
;;=of the Dietetic Survey on whether the dishes, cups, and utensils
;;^DD(117.3,62,21,4,0)
;;=were clean.
;;^DD(117.3,63,0)
;;=COURTEOUS^117.363^^CRS;0
;;^DD(117.3,63,21,0)
;;=^^4^4^2931228^
;;^DD(117.3,63,21,1,0)
;;=This multiple contains the number surveyed in regards to the five
;;^DD(117.3,63,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question
;;^DD(117.3,63,21,3,0)
;;=six of the Dietetic Survey on whether the Dietetic Service staff
;;^DD(117.3,63,21,4,0)
;;=were courteous.
;;^DD(117.3,64,0)
;;=TIME^117.364^^TIM;0
;;^DD(117.3,64,21,0)
;;=^^3^3^2931228^^
;;^DD(117.3,64,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,64,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question seven
;;^DD(117.3,64,21,3,0)
;;=of the Dietetic Survey on whether there was adequate time to eat.
;;^DD(117.3,65,0)
;;=INFO^117.365^^INF;0
;;^DD(117.3,65,21,0)
;;=^^4^4^2931228^^
;;^DD(117.3,65,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,65,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question eight
;;^DD(117.3,65,21,3,0)
;;=of the Dietetic Survey on the diet information given by the
;;^DD(117.3,65,21,4,0)
;;=dietitian/dietetic technician.
;;^DD(117.3,66,0)
;;=OVERALL^117.366^^OVA;0
;;^DD(117.3,66,21,0)
;;=^^3^3^2931228^^^^
;;^DD(117.3,66,21,1,0)
;;=This multiple contains the numbers surveyed in regards to the five
;;^DD(117.3,66,21,2,0)
;;=ratings, Very Good, Good, Average, Fair, and Poor, for question nine
;;^DD(117.3,66,21,3,0)
;;=of the Dietetic Survey on the overall quality of the food service.
;;^DD(117.31,0)
;;=TEMPERATURE SUB-FIELD^^6^7
;;^DD(117.31,0,"DT")
;;=2931223
;;^DD(117.31,0,"IX","B",117.31,.01)
;;=
;;^DD(117.31,0,"NM","TEMPERATURE")
;;=
;;^DD(117.31,0,"UP")
;;=117.3
;;^DD(117.31,.01,0)
;;=TEMPERATURE NUMBER^NJ3,0X^^0;1^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X I $D(X) S DINUM=X
;;^DD(117.31,.01,1,0)
;;=^.1
;;^DD(117.31,.01,1,1,0)
;;=117.31^B
;;^DD(117.31,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"TEM","B",$E(X,1,30),DA)=""
;;^DD(117.31,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"TEM","B",$E(X,1,30),DA)
;;^DD(117.31,.01,3)
;;=Type a Number between 1 and 999, 0 Decimal Digits
;;^DD(117.31,.01,21,0)
;;=^^2^2^2931223^
;;^DD(117.31,.01,21,1,0)
;;=This field contains a sequential number assigned to question three
;;^DD(117.31,.01,21,2,0)
;;=of the Dietetic Survey and has no meaning.
;;^DD(117.31,.01,"DT")
;;=2931223
;;^DD(117.31,1,0)
;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.31,1,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.31,1,4)
;;=D HEL^FHADR9
;;^DD(117.31,1,21,0)
;;=^^2^2^2931228^^^
;;^DD(117.31,1,21,1,0)
;;=This is a rating string containing numbers surveyed in GM&S with the
;;^DD(117.31,1,21,2,0)
;;=ratings specified in front of them on question three of the survey.
FHINI0LQ ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(117.3)
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(117.3,58,21,2,0)
+2 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question one
+3 ;;^DD(117.3,58,21,3,0)
+4 ;;=of the Dietetic Survey on whether the food looked attractive, appetizing.
+5 ;;^DD(117.3,59,0)
+6 ;;=TASTE^117.359^^TAS;0
+7 ;;^DD(117.3,59,21,0)
+8 ;;=^^3^3^2931228^^
+9 ;;^DD(117.3,59,21,1,0)
+10 ;;=This multiple contains the numbers surveyed in regards to the five
+11 ;;^DD(117.3,59,21,2,0)
+12 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question two
+13 ;;^DD(117.3,59,21,3,0)
+14 ;;=of the Dietetic Survey on whether the food tastes good.
+15 ;;^DD(117.3,60,0)
+16 ;;=TEMPERATURE^117.31^^TEM;0
+17 ;;^DD(117.3,60,21,0)
+18 ;;=^^3^3^2931228^^^^
+19 ;;^DD(117.3,60,21,1,0)
+20 ;;=This multiple contains the numbers surveyed in regards to the five
+21 ;;^DD(117.3,60,21,2,0)
+22 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question three
+23 ;;^DD(117.3,60,21,3,0)
+24 ;;=of the Dietetic Survey on the temperature of the food.
+25 ;;^DD(117.3,60,22)
+26 ;;=
+27 ;;^DD(117.3,61,0)
+28 ;;=VARIETY^117.361^^VAR;0
+29 ;;^DD(117.3,61,21,0)
+30 ;;=^^3^3^2931228^^
+31 ;;^DD(117.3,61,21,1,0)
+32 ;;=This multiple contains the numbers surveyed in regards to the five
+33 ;;^DD(117.3,61,21,2,0)
+34 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question
+35 ;;^DD(117.3,61,21,3,0)
+36 ;;=four of the Dietetic Survey on the variety of foods served.
+37 ;;^DD(117.3,62,0)
+38 ;;=CLEANLINESS^117.362^^CLN;0
+39 ;;^DD(117.3,62,21,0)
+40 ;;=^^4^4^2931228^
+41 ;;^DD(117.3,62,21,1,0)
+42 ;;=This multiple contains the numbers surveyed in regards to the five
+43 ;;^DD(117.3,62,21,2,0)
+44 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question five
+45 ;;^DD(117.3,62,21,3,0)
+46 ;;=of the Dietetic Survey on whether the dishes, cups, and utensils
+47 ;;^DD(117.3,62,21,4,0)
+48 ;;=were clean.
+49 ;;^DD(117.3,63,0)
+50 ;;=COURTEOUS^117.363^^CRS;0
+51 ;;^DD(117.3,63,21,0)
+52 ;;=^^4^4^2931228^
+53 ;;^DD(117.3,63,21,1,0)
+54 ;;=This multiple contains the number surveyed in regards to the five
+55 ;;^DD(117.3,63,21,2,0)
+56 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question
+57 ;;^DD(117.3,63,21,3,0)
+58 ;;=six of the Dietetic Survey on whether the Dietetic Service staff
+59 ;;^DD(117.3,63,21,4,0)
+60 ;;=were courteous.
+61 ;;^DD(117.3,64,0)
+62 ;;=TIME^117.364^^TIM;0
+63 ;;^DD(117.3,64,21,0)
+64 ;;=^^3^3^2931228^^
+65 ;;^DD(117.3,64,21,1,0)
+66 ;;=This multiple contains the numbers surveyed in regards to the five
+67 ;;^DD(117.3,64,21,2,0)
+68 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question seven
+69 ;;^DD(117.3,64,21,3,0)
+70 ;;=of the Dietetic Survey on whether there was adequate time to eat.
+71 ;;^DD(117.3,65,0)
+72 ;;=INFO^117.365^^INF;0
+73 ;;^DD(117.3,65,21,0)
+74 ;;=^^4^4^2931228^^
+75 ;;^DD(117.3,65,21,1,0)
+76 ;;=This multiple contains the numbers surveyed in regards to the five
+77 ;;^DD(117.3,65,21,2,0)
+78 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question eight
+79 ;;^DD(117.3,65,21,3,0)
+80 ;;=of the Dietetic Survey on the diet information given by the
+81 ;;^DD(117.3,65,21,4,0)
+82 ;;=dietitian/dietetic technician.
+83 ;;^DD(117.3,66,0)
+84 ;;=OVERALL^117.366^^OVA;0
+85 ;;^DD(117.3,66,21,0)
+86 ;;=^^3^3^2931228^^^^
+87 ;;^DD(117.3,66,21,1,0)
+88 ;;=This multiple contains the numbers surveyed in regards to the five
+89 ;;^DD(117.3,66,21,2,0)
+90 ;;=ratings, Very Good, Good, Average, Fair, and Poor, for question nine
+91 ;;^DD(117.3,66,21,3,0)
+92 ;;=of the Dietetic Survey on the overall quality of the food service.
+93 ;;^DD(117.31,0)
+94 ;;=TEMPERATURE SUB-FIELD^^6^7
+95 ;;^DD(117.31,0,"DT")
+96 ;;=2931223
+97 ;;^DD(117.31,0,"IX","B",117.31,.01)
+98 ;;=
+99 ;;^DD(117.31,0,"NM","TEMPERATURE")
+100 ;;=
+101 ;;^DD(117.31,0,"UP")
+102 ;;=117.3
+103 ;;^DD(117.31,.01,0)
+104 ;;=TEMPERATURE NUMBER^NJ3,0X^^0;1^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X I $D(X) S DINUM=X
+105 ;;^DD(117.31,.01,1,0)
+106 ;;=^.1
+107 ;;^DD(117.31,.01,1,1,0)
+108 ;;=117.31^B
+109 ;;^DD(117.31,.01,1,1,1)
+110 ;;=S ^FH(117.3,DA(1),"TEM","B",$E(X,1,30),DA)=""
+111 ;;^DD(117.31,.01,1,1,2)
+112 ;;=K ^FH(117.3,DA(1),"TEM","B",$E(X,1,30),DA)
+113 ;;^DD(117.31,.01,3)
+114 ;;=Type a Number between 1 and 999, 0 Decimal Digits
+115 ;;^DD(117.31,.01,21,0)
+116 ;;=^^2^2^2931223^
+117 ;;^DD(117.31,.01,21,1,0)
+118 ;;=This field contains a sequential number assigned to question three
+119 ;;^DD(117.31,.01,21,2,0)
+120 ;;=of the Dietetic Survey and has no meaning.
+121 ;;^DD(117.31,.01,"DT")
+122 ;;=2931223
+123 ;;^DD(117.31,1,0)
+124 ;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+125 ;;^DD(117.31,1,3)
+126 ;;=Answer must be 2-35 characters in length.
+127 ;;^DD(117.31,1,4)
+128 ;;=D HEL^FHADR9
+129 ;;^DD(117.31,1,21,0)
+130 ;;=^^2^2^2931228^^^
+131 ;;^DD(117.31,1,21,1,0)
+132 ;;=This is a rating string containing numbers surveyed in GM&S with the
+133 ;;^DD(117.31,1,21,2,0)
+134 ;;=ratings specified in front of them on question three of the survey.