FHINI0LU ; ; 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.358,4,"DT")
;;=2931229
;;^DD(117.358,5,0)
;;=SCI^FX^^0;6^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.358,5,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.358,5,4)
;;=D HEL^FHADR9
;;^DD(117.358,5,21,0)
;;=^^2^2^2931222^^
;;^DD(117.358,5,21,1,0)
;;=This is a rating string containing numbers surveyed in SCI with the
;;^DD(117.358,5,21,2,0)
;;=ratings specified in front of them on question one of the survey.
;;^DD(117.358,5,"DT")
;;=2931229
;;^DD(117.358,6,0)
;;=OTHER^FX^^0;7^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.358,6,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.358,6,4)
;;=D HEL^FHADR9
;;^DD(117.358,6,21,0)
;;=^^2^2^2931222^^
;;^DD(117.358,6,21,1,0)
;;=This is a rating string containing numbers surveyed in other services with
;;^DD(117.358,6,21,2,0)
;;=ratings specified in front of them on question one of the survey.
;;^DD(117.358,6,"DT")
;;=2931229
;;^DD(117.359,0)
;;=TASTE SUB-FIELD^^6^7
;;^DD(117.359,0,"DT")
;;=2931222
;;^DD(117.359,0,"IX","B",117.359,.01)
;;=
;;^DD(117.359,0,"NM","TASTE")
;;=
;;^DD(117.359,0,"UP")
;;=117.3
;;^DD(117.359,.01,0)
;;=TASTE 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.359,.01,1,0)
;;=^.1
;;^DD(117.359,.01,1,1,0)
;;=117.359^B
;;^DD(117.359,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"TAS","B",$E(X,1,30),DA)=""
;;^DD(117.359,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"TAS","B",$E(X,1,30),DA)
;;^DD(117.359,.01,3)
;;=Type a Number between 1 and 999, 0 Decimal Digits
;;^DD(117.359,.01,21,0)
;;=^^2^2^2931222^^
;;^DD(117.359,.01,21,1,0)
;;=This field contains a sequential number assigned to question two
;;^DD(117.359,.01,21,2,0)
;;=of the Dietetic Survey and has no meaning.
;;^DD(117.359,.01,"DT")
;;=2931222
;;^DD(117.359,1,0)
;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.359,1,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.359,1,4)
;;=D HEL^FHADR9
;;^DD(117.359,1,21,0)
;;=^^2^2^2931222^
;;^DD(117.359,1,21,1,0)
;;=This is a rating string containing numbers surveyed in GM&S with the
;;^DD(117.359,1,21,2,0)
;;=ratings specified in front of them on question two of the survey.
;;^DD(117.359,1,"DT")
;;=2931229
;;^DD(117.359,2,0)
;;=NHCU^FX^^0;3^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.359,2,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.359,2,4)
;;=D HEL^FHADR9
;;^DD(117.359,2,21,0)
;;=^^2^2^2931222^^
;;^DD(117.359,2,21,1,0)
;;=This is a rating string containing numbers surveyed in NHCU with the
;;^DD(117.359,2,21,2,0)
;;=ratings specified in front of them on question two of the survey.
;;^DD(117.359,2,"DT")
;;=2931229
;;^DD(117.359,3,0)
;;=PSYCH^FX^^0;4^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.359,3,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.359,3,4)
;;=D HEL^FHADR9
;;^DD(117.359,3,21,0)
;;=^^2^2^2931222^
;;^DD(117.359,3,21,1,0)
;;=This is a rating string containing numbers surveyed in PSYCH with the
;;^DD(117.359,3,21,2,0)
;;=ratings specified in front of them on question two of the survey.
;;^DD(117.359,3,"DT")
;;=2931229
;;^DD(117.359,4,0)
;;=DOM^FX^^0;5^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.359,4,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.359,4,4)
;;=D HEL^FHADR9
;;^DD(117.359,4,21,0)
;;=^^2^2^2931222^
;;^DD(117.359,4,21,1,0)
;;=This is a rating string containing numbers surveyed in DOM with the
;;^DD(117.359,4,21,2,0)
;;=ratings specified in front of them on question two of the survey.
;;^DD(117.359,4,"DT")
;;=2931229
;;^DD(117.359,5,0)
;;=SCI^FX^^0;6^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.359,5,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.359,5,4)
;;=D HEL^FHADR9
;;^DD(117.359,5,21,0)
;;=^^2^2^2931222^^
;;^DD(117.359,5,21,1,0)
;;=This is a rating string containing numbers surveyed in SCI with the
;;^DD(117.359,5,21,2,0)
;;=ratings specified in front of them on question two of the survey.
;;^DD(117.359,5,"DT")
;;=2931229
;;^DD(117.359,6,0)
;;=OTHER^FX^^0;7^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.359,6,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.359,6,4)
;;=D HEL^FHADR9
;;^DD(117.359,6,21,0)
;;=^^2^2^2931222^
;;^DD(117.359,6,21,1,0)
;;=This is a rating string containing numbers surveyed in other service
;;^DD(117.359,6,21,2,0)
;;=with the ratings specified in front of them on question two of the survey.
;;^DD(117.359,6,"DT")
;;=2931229
;;^DD(117.361,0)
;;=VARIETY SUB-FIELD^^6^7
;;^DD(117.361,0,"DT")
;;=2931223
FHINI0LU ; ; 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.358,4,"DT")
+2 ;;=2931229
+3 ;;^DD(117.358,5,0)
+4 ;;=SCI^FX^^0;6^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+5 ;;^DD(117.358,5,3)
+6 ;;=Answer must be 2-35 characters in length.
+7 ;;^DD(117.358,5,4)
+8 ;;=D HEL^FHADR9
+9 ;;^DD(117.358,5,21,0)
+10 ;;=^^2^2^2931222^^
+11 ;;^DD(117.358,5,21,1,0)
+12 ;;=This is a rating string containing numbers surveyed in SCI with the
+13 ;;^DD(117.358,5,21,2,0)
+14 ;;=ratings specified in front of them on question one of the survey.
+15 ;;^DD(117.358,5,"DT")
+16 ;;=2931229
+17 ;;^DD(117.358,6,0)
+18 ;;=OTHER^FX^^0;7^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+19 ;;^DD(117.358,6,3)
+20 ;;=Answer must be 2-35 characters in length.
+21 ;;^DD(117.358,6,4)
+22 ;;=D HEL^FHADR9
+23 ;;^DD(117.358,6,21,0)
+24 ;;=^^2^2^2931222^^
+25 ;;^DD(117.358,6,21,1,0)
+26 ;;=This is a rating string containing numbers surveyed in other services with
+27 ;;^DD(117.358,6,21,2,0)
+28 ;;=ratings specified in front of them on question one of the survey.
+29 ;;^DD(117.358,6,"DT")
+30 ;;=2931229
+31 ;;^DD(117.359,0)
+32 ;;=TASTE SUB-FIELD^^6^7
+33 ;;^DD(117.359,0,"DT")
+34 ;;=2931222
+35 ;;^DD(117.359,0,"IX","B",117.359,.01)
+36 ;;=
+37 ;;^DD(117.359,0,"NM","TASTE")
+38 ;;=
+39 ;;^DD(117.359,0,"UP")
+40 ;;=117.3
+41 ;;^DD(117.359,.01,0)
+42 ;;=TASTE NUMBER^NJ3,0X^^0;1^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X I $D(X) S DINUM=X
+43 ;;^DD(117.359,.01,1,0)
+44 ;;=^.1
+45 ;;^DD(117.359,.01,1,1,0)
+46 ;;=117.359^B
+47 ;;^DD(117.359,.01,1,1,1)
+48 ;;=S ^FH(117.3,DA(1),"TAS","B",$E(X,1,30),DA)=""
+49 ;;^DD(117.359,.01,1,1,2)
+50 ;;=K ^FH(117.3,DA(1),"TAS","B",$E(X,1,30),DA)
+51 ;;^DD(117.359,.01,3)
+52 ;;=Type a Number between 1 and 999, 0 Decimal Digits
+53 ;;^DD(117.359,.01,21,0)
+54 ;;=^^2^2^2931222^^
+55 ;;^DD(117.359,.01,21,1,0)
+56 ;;=This field contains a sequential number assigned to question two
+57 ;;^DD(117.359,.01,21,2,0)
+58 ;;=of the Dietetic Survey and has no meaning.
+59 ;;^DD(117.359,.01,"DT")
+60 ;;=2931222
+61 ;;^DD(117.359,1,0)
+62 ;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+63 ;;^DD(117.359,1,3)
+64 ;;=Answer must be 2-35 characters in length.
+65 ;;^DD(117.359,1,4)
+66 ;;=D HEL^FHADR9
+67 ;;^DD(117.359,1,21,0)
+68 ;;=^^2^2^2931222^
+69 ;;^DD(117.359,1,21,1,0)
+70 ;;=This is a rating string containing numbers surveyed in GM&S with the
+71 ;;^DD(117.359,1,21,2,0)
+72 ;;=ratings specified in front of them on question two of the survey.
+73 ;;^DD(117.359,1,"DT")
+74 ;;=2931229
+75 ;;^DD(117.359,2,0)
+76 ;;=NHCU^FX^^0;3^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+77 ;;^DD(117.359,2,3)
+78 ;;=Answer must be 2-35 characters in length.
+79 ;;^DD(117.359,2,4)
+80 ;;=D HEL^FHADR9
+81 ;;^DD(117.359,2,21,0)
+82 ;;=^^2^2^2931222^^
+83 ;;^DD(117.359,2,21,1,0)
+84 ;;=This is a rating string containing numbers surveyed in NHCU with the
+85 ;;^DD(117.359,2,21,2,0)
+86 ;;=ratings specified in front of them on question two of the survey.
+87 ;;^DD(117.359,2,"DT")
+88 ;;=2931229
+89 ;;^DD(117.359,3,0)
+90 ;;=PSYCH^FX^^0;4^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+91 ;;^DD(117.359,3,3)
+92 ;;=Answer must be 2-35 characters in length.
+93 ;;^DD(117.359,3,4)
+94 ;;=D HEL^FHADR9
+95 ;;^DD(117.359,3,21,0)
+96 ;;=^^2^2^2931222^
+97 ;;^DD(117.359,3,21,1,0)
+98 ;;=This is a rating string containing numbers surveyed in PSYCH with the
+99 ;;^DD(117.359,3,21,2,0)
+100 ;;=ratings specified in front of them on question two of the survey.
+101 ;;^DD(117.359,3,"DT")
+102 ;;=2931229
+103 ;;^DD(117.359,4,0)
+104 ;;=DOM^FX^^0;5^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+105 ;;^DD(117.359,4,3)
+106 ;;=Answer must be 2-35 characters in length.
+107 ;;^DD(117.359,4,4)
+108 ;;=D HEL^FHADR9
+109 ;;^DD(117.359,4,21,0)
+110 ;;=^^2^2^2931222^
+111 ;;^DD(117.359,4,21,1,0)
+112 ;;=This is a rating string containing numbers surveyed in DOM with the
+113 ;;^DD(117.359,4,21,2,0)
+114 ;;=ratings specified in front of them on question two of the survey.
+115 ;;^DD(117.359,4,"DT")
+116 ;;=2931229
+117 ;;^DD(117.359,5,0)
+118 ;;=SCI^FX^^0;6^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+119 ;;^DD(117.359,5,3)
+120 ;;=Answer must be 2-35 characters in length.
+121 ;;^DD(117.359,5,4)
+122 ;;=D HEL^FHADR9
+123 ;;^DD(117.359,5,21,0)
+124 ;;=^^2^2^2931222^^
+125 ;;^DD(117.359,5,21,1,0)
+126 ;;=This is a rating string containing numbers surveyed in SCI with the
+127 ;;^DD(117.359,5,21,2,0)
+128 ;;=ratings specified in front of them on question two of the survey.
+129 ;;^DD(117.359,5,"DT")
+130 ;;=2931229
+131 ;;^DD(117.359,6,0)
+132 ;;=OTHER^FX^^0;7^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+133 ;;^DD(117.359,6,3)
+134 ;;=Answer must be 2-35 characters in length.
+135 ;;^DD(117.359,6,4)
+136 ;;=D HEL^FHADR9
+137 ;;^DD(117.359,6,21,0)
+138 ;;=^^2^2^2931222^
+139 ;;^DD(117.359,6,21,1,0)
+140 ;;=This is a rating string containing numbers surveyed in other service
+141 ;;^DD(117.359,6,21,2,0)
+142 ;;=with the ratings specified in front of them on question two of the survey.
+143 ;;^DD(117.359,6,"DT")
+144 ;;=2931229
+145 ;;^DD(117.361,0)
+146 ;;=VARIETY SUB-FIELD^^6^7
+147 ;;^DD(117.361,0,"DT")
+148 ;;=2931223