FHINI0LZ ; ; 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.366,.01,1,1,0)
;;=117.366^B
;;^DD(117.366,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"OVA","B",$E(X,1,30),DA)=""
;;^DD(117.366,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"OVA","B",$E(X,1,30),DA)
;;^DD(117.366,.01,3)
;;=Type a Number between 1 and 999, 0 Decimal Digits
;;^DD(117.366,.01,21,0)
;;=^^2^2^2931228^
;;^DD(117.366,.01,21,1,0)
;;=This field contains a sequential number assigned to question nine
;;^DD(117.366,.01,21,2,0)
;;=of the Dietetic Survey and has no meaning.
;;^DD(117.366,.01,"DT")
;;=2931228
;;^DD(117.366,1,0)
;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.366,1,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.366,1,4)
;;=D HEL^FHADR9
;;^DD(117.366,1,21,0)
;;=^^2^2^2931228^
;;^DD(117.366,1,21,1,0)
;;=This is a rating string containing numbers surveyed in GM&S with the
;;^DD(117.366,1,21,2,0)
;;=ratings specified in front of them on question nine of the survey.
;;^DD(117.366,1,"DT")
;;=2931230
;;^DD(117.366,2,0)
;;=NHCU^FX^^0;3^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.366,2,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.366,2,4)
;;=D HEL^FHADR9
;;^DD(117.366,2,21,0)
;;=^^2^2^2931228^
;;^DD(117.366,2,21,1,0)
;;=This is a rating string containing numbers surveyed in NHCU with the
;;^DD(117.366,2,21,2,0)
;;=ratings specified in front of them on question nine of the survey.
;;^DD(117.366,2,"DT")
;;=2931230
;;^DD(117.366,3,0)
;;=PSYCH^FX^^0;4^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.366,3,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.366,3,4)
;;=D HEL^FHADR9
;;^DD(117.366,3,21,0)
;;=^^2^2^2931228^
;;^DD(117.366,3,21,1,0)
;;=This is a rating string containing numbers surveyed in PSYCH with
;;^DD(117.366,3,21,2,0)
;;=the ratings specified in front of them on question nine of the survey.
;;^DD(117.366,3,"DT")
;;=2931230
;;^DD(117.366,4,0)
;;=DOM^FX^^0;5^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.366,4,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.366,4,4)
;;=D HEL^FHADR9
;;^DD(117.366,4,21,0)
;;=^^2^2^2931228^
;;^DD(117.366,4,21,1,0)
;;=This is a rating string containing numbers surveyed in DOM with the
;;^DD(117.366,4,21,2,0)
;;=ratings specified in front of them on question nine of the survey.
;;^DD(117.366,4,"DT")
;;=2931230
;;^DD(117.366,5,0)
;;=SCI^FX^^0;6^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.366,5,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.366,5,4)
;;=D HEL^FHADR9
;;^DD(117.366,5,21,0)
;;=^^2^2^2931228^
;;^DD(117.366,5,21,1,0)
;;=This is a rating string containing numbers surveyed in SCI with the
;;^DD(117.366,5,21,2,0)
;;=ratings specified in front of them on question nine of the survey.
;;^DD(117.366,5,"DT")
;;=2931230
;;^DD(117.366,6,0)
;;=OTHER^FX^^0;7^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.366,6,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.366,6,4)
;;=D HEL^FHADR9
;;^DD(117.366,6,21,0)
;;=^^3^3^2931228^
;;^DD(117.366,6,21,1,0)
;;=This is a rating string containing numbers surveyed in other services
;;^DD(117.366,6,21,2,0)
;;=with the ratings specified in front of them on question nine of the
;;^DD(117.366,6,21,3,0)
;;=survey.
;;^DD(117.366,6,"DT")
;;=2931230
FHINI0LZ ; ; 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.366,.01,1,1,0)
+2 ;;=117.366^B
+3 ;;^DD(117.366,.01,1,1,1)
+4 ;;=S ^FH(117.3,DA(1),"OVA","B",$E(X,1,30),DA)=""
+5 ;;^DD(117.366,.01,1,1,2)
+6 ;;=K ^FH(117.3,DA(1),"OVA","B",$E(X,1,30),DA)
+7 ;;^DD(117.366,.01,3)
+8 ;;=Type a Number between 1 and 999, 0 Decimal Digits
+9 ;;^DD(117.366,.01,21,0)
+10 ;;=^^2^2^2931228^
+11 ;;^DD(117.366,.01,21,1,0)
+12 ;;=This field contains a sequential number assigned to question nine
+13 ;;^DD(117.366,.01,21,2,0)
+14 ;;=of the Dietetic Survey and has no meaning.
+15 ;;^DD(117.366,.01,"DT")
+16 ;;=2931228
+17 ;;^DD(117.366,1,0)
+18 ;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+19 ;;^DD(117.366,1,3)
+20 ;;=Answer must be 2-35 characters in length.
+21 ;;^DD(117.366,1,4)
+22 ;;=D HEL^FHADR9
+23 ;;^DD(117.366,1,21,0)
+24 ;;=^^2^2^2931228^
+25 ;;^DD(117.366,1,21,1,0)
+26 ;;=This is a rating string containing numbers surveyed in GM&S with the
+27 ;;^DD(117.366,1,21,2,0)
+28 ;;=ratings specified in front of them on question nine of the survey.
+29 ;;^DD(117.366,1,"DT")
+30 ;;=2931230
+31 ;;^DD(117.366,2,0)
+32 ;;=NHCU^FX^^0;3^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+33 ;;^DD(117.366,2,3)
+34 ;;=Answer must be 2-35 characters in length.
+35 ;;^DD(117.366,2,4)
+36 ;;=D HEL^FHADR9
+37 ;;^DD(117.366,2,21,0)
+38 ;;=^^2^2^2931228^
+39 ;;^DD(117.366,2,21,1,0)
+40 ;;=This is a rating string containing numbers surveyed in NHCU with the
+41 ;;^DD(117.366,2,21,2,0)
+42 ;;=ratings specified in front of them on question nine of the survey.
+43 ;;^DD(117.366,2,"DT")
+44 ;;=2931230
+45 ;;^DD(117.366,3,0)
+46 ;;=PSYCH^FX^^0;4^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+47 ;;^DD(117.366,3,3)
+48 ;;=Answer must be 2-35 characters in length.
+49 ;;^DD(117.366,3,4)
+50 ;;=D HEL^FHADR9
+51 ;;^DD(117.366,3,21,0)
+52 ;;=^^2^2^2931228^
+53 ;;^DD(117.366,3,21,1,0)
+54 ;;=This is a rating string containing numbers surveyed in PSYCH with
+55 ;;^DD(117.366,3,21,2,0)
+56 ;;=the ratings specified in front of them on question nine of the survey.
+57 ;;^DD(117.366,3,"DT")
+58 ;;=2931230
+59 ;;^DD(117.366,4,0)
+60 ;;=DOM^FX^^0;5^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+61 ;;^DD(117.366,4,3)
+62 ;;=Answer must be 2-35 characters in length.
+63 ;;^DD(117.366,4,4)
+64 ;;=D HEL^FHADR9
+65 ;;^DD(117.366,4,21,0)
+66 ;;=^^2^2^2931228^
+67 ;;^DD(117.366,4,21,1,0)
+68 ;;=This is a rating string containing numbers surveyed in DOM with the
+69 ;;^DD(117.366,4,21,2,0)
+70 ;;=ratings specified in front of them on question nine of the survey.
+71 ;;^DD(117.366,4,"DT")
+72 ;;=2931230
+73 ;;^DD(117.366,5,0)
+74 ;;=SCI^FX^^0;6^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+75 ;;^DD(117.366,5,3)
+76 ;;=Answer must be 2-35 characters in length.
+77 ;;^DD(117.366,5,4)
+78 ;;=D HEL^FHADR9
+79 ;;^DD(117.366,5,21,0)
+80 ;;=^^2^2^2931228^
+81 ;;^DD(117.366,5,21,1,0)
+82 ;;=This is a rating string containing numbers surveyed in SCI with the
+83 ;;^DD(117.366,5,21,2,0)
+84 ;;=ratings specified in front of them on question nine of the survey.
+85 ;;^DD(117.366,5,"DT")
+86 ;;=2931230
+87 ;;^DD(117.366,6,0)
+88 ;;=OTHER^FX^^0;7^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+89 ;;^DD(117.366,6,3)
+90 ;;=Answer must be 2-35 characters in length.
+91 ;;^DD(117.366,6,4)
+92 ;;=D HEL^FHADR9
+93 ;;^DD(117.366,6,21,0)
+94 ;;=^^3^3^2931228^
+95 ;;^DD(117.366,6,21,1,0)
+96 ;;=This is a rating string containing numbers surveyed in other services
+97 ;;^DD(117.366,6,21,2,0)
+98 ;;=with the ratings specified in front of them on question nine of the
+99 ;;^DD(117.366,6,21,3,0)
+100 ;;=survey.
+101 ;;^DD(117.366,6,"DT")
+102 ;;=2931230