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