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