FHINI0LT ; ; 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.338,0)
;;=DIETETIC EQUIPMENT SUB-FIELD^^1^2
;;^DD(117.338,0,"DT")
;;=2920915
;;^DD(117.338,0,"IX","B",117.338,.01)
;;=
;;^DD(117.338,0,"NM","DIETETIC EQUIPMENT")
;;=
;;^DD(117.338,0,"UP")
;;=117.3
;;^DD(117.338,.01,0)
;;=DIETETIC EQUIPMENT^M*P117.4'^FH(117.4,^0;1^S DIC("S")="I $P(^(0),U,2)=""E""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(117.338,.01,1,0)
;;=^.1
;;^DD(117.338,.01,1,1,0)
;;=117.338^B
;;^DD(117.338,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"EQUI","B",$E(X,1,30),DA)=""
;;^DD(117.338,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"EQUI","B",$E(X,1,30),DA)
;;^DD(117.338,.01,12)
;;=SELECT ONLY THE DIETETIC SERVICE EQUIPMENT.
;;^DD(117.338,.01,12.1)
;;=S DIC("S")="I $P(^(0),U,2)=""E"""
;;^DD(117.338,.01,21,0)
;;=^^1^1^2920916^^^^
;;^DD(117.338,.01,21,1,0)
;;=This field contains the pointer to The Dietetic Report Category file.
;;^DD(117.338,.01,"DT")
;;=2920915
;;^DD(117.338,1,0)
;;=BRAND^F^^0;2^K:$L(X)>45!($L(X)<3) X
;;^DD(117.338,1,3)
;;=Answer must be 3-45 characters in length.
;;^DD(117.338,1,21,0)
;;=^^1^1^2920207^
;;^DD(117.338,1,21,1,0)
;;=This field contains the Brand of the Dietetic Equipment Service.
;;^DD(117.338,1,"DT")
;;=2920207
;;^DD(117.356,0)
;;=AREAS OF RESEARCH SUB-FIELD^^.01^1
;;^DD(117.356,0,"DT")
;;=2930204
;;^DD(117.356,0,"IX","B",117.356,.01)
;;=
;;^DD(117.356,0,"NM","AREAS OF RESEARCH")
;;=
;;^DD(117.356,0,"UP")
;;=117.3
;;^DD(117.356,.01,0)
;;=AREAS OF RESEARCH^MRS^1:CLINICAL;2:COMMUNITY;3:COST/BENEFIT;4:EDUCATION;5:MANAGEMENT;^0;1^Q
;;^DD(117.356,.01,1,0)
;;=^.1
;;^DD(117.356,.01,1,1,0)
;;=117.356^B
;;^DD(117.356,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"AREA","B",$E(X,1,30),DA)=""
;;^DD(117.356,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"AREA","B",$E(X,1,30),DA)
;;^DD(117.356,.01,21,0)
;;=^^2^2^2930204^
;;^DD(117.356,.01,21,1,0)
;;=This field contains Areas of Research under Unfunded Nutrition
;;^DD(117.356,.01,21,2,0)
;;=Research.
;;^DD(117.356,.01,"DT")
;;=2930204
;;^DD(117.358,0)
;;=APPETIZING SUB-FIELD^^6^7
;;^DD(117.358,0,"DT")
;;=2931222
;;^DD(117.358,0,"IX","B",117.358,.01)
;;=
;;^DD(117.358,0,"NM","APPETIZING")
;;=
;;^DD(117.358,0,"UP")
;;=117.3
;;^DD(117.358,.01,0)
;;=APPETIZING 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.358,.01,1,0)
;;=^.1
;;^DD(117.358,.01,1,1,0)
;;=117.358^B
;;^DD(117.358,.01,1,1,1)
;;=S ^FH(117.3,DA(1),"APP","B",$E(X,1,30),DA)=""
;;^DD(117.358,.01,1,1,2)
;;=K ^FH(117.3,DA(1),"APP","B",$E(X,1,30),DA)
;;^DD(117.358,.01,3)
;;=Type a Number between 1 and 999, 0 Decimal Digits
;;^DD(117.358,.01,21,0)
;;=^^2^2^2931222^^^^
;;^DD(117.358,.01,21,1,0)
;;=This field contains a sequential number assigned to the first question
;;^DD(117.358,.01,21,2,0)
;;=of the Dietetic Survey and has no meaning.
;;^DD(117.358,.01,"DT")
;;=2931221
;;^DD(117.358,1,0)
;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.358,1,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.358,1,4)
;;=D HEL^FHADR9
;;^DD(117.358,1,21,0)
;;=^^2^2^2931229^^^^
;;^DD(117.358,1,21,1,0)
;;=This is a rating string containing numbers surveyed in GM&S with the
;;^DD(117.358,1,21,2,0)
;;=ratings specified in front of them on question one of the survey.
;;^DD(117.358,1,"DT")
;;=2931229
;;^DD(117.358,2,0)
;;=NHCU^FX^^0;3^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.358,2,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.358,2,4)
;;=D HEL^FHADR9
;;^DD(117.358,2,21,0)
;;=^^2^2^2931229^^^
;;^DD(117.358,2,21,1,0)
;;=This is a rating string containing numbers surveyed in NHCU with the
;;^DD(117.358,2,21,2,0)
;;=ratings specified in front of them on question one of the survey.
;;^DD(117.358,2,"DT")
;;=2931229
;;^DD(117.358,3,0)
;;=PSYCH^FX^^0;4^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.358,3,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.358,3,4)
;;=D HEL^FHADR9
;;^DD(117.358,3,21,0)
;;=^^2^2^2931229^^^^
;;^DD(117.358,3,21,1,0)
;;=This is a rating string containing numbers surveyed in PSYCH with the
;;^DD(117.358,3,21,2,0)
;;=ratings specified in front of them on question one of the survey.
;;^DD(117.358,3,"DT")
;;=2931229
;;^DD(117.358,4,0)
;;=DOM^FX^^0;5^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
;;^DD(117.358,4,3)
;;=Answer must be 2-35 characters in length.
;;^DD(117.358,4,4)
;;=D HEL^FHADR9
;;^DD(117.358,4,21,0)
;;=^^2^2^2931229^^^
;;^DD(117.358,4,21,1,0)
;;=This is a rating string containing numbers surveyed in DOM with the
;;^DD(117.358,4,21,2,0)
;;=ratings specified in front of them on question one of the survey.
FHINI0LT ; ; 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.338,0)
+2 ;;=DIETETIC EQUIPMENT SUB-FIELD^^1^2
+3 ;;^DD(117.338,0,"DT")
+4 ;;=2920915
+5 ;;^DD(117.338,0,"IX","B",117.338,.01)
+6 ;;=
+7 ;;^DD(117.338,0,"NM","DIETETIC EQUIPMENT")
+8 ;;=
+9 ;;^DD(117.338,0,"UP")
+10 ;;=117.3
+11 ;;^DD(117.338,.01,0)
+12 ;;=DIETETIC EQUIPMENT^M*P117.4'^FH(117.4,^0;1^S DIC("S")="I $P(^(0),U,2)=""E""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+13 ;;^DD(117.338,.01,1,0)
+14 ;;=^.1
+15 ;;^DD(117.338,.01,1,1,0)
+16 ;;=117.338^B
+17 ;;^DD(117.338,.01,1,1,1)
+18 ;;=S ^FH(117.3,DA(1),"EQUI","B",$E(X,1,30),DA)=""
+19 ;;^DD(117.338,.01,1,1,2)
+20 ;;=K ^FH(117.3,DA(1),"EQUI","B",$E(X,1,30),DA)
+21 ;;^DD(117.338,.01,12)
+22 ;;=SELECT ONLY THE DIETETIC SERVICE EQUIPMENT.
+23 ;;^DD(117.338,.01,12.1)
+24 ;;=S DIC("S")="I $P(^(0),U,2)=""E"""
+25 ;;^DD(117.338,.01,21,0)
+26 ;;=^^1^1^2920916^^^^
+27 ;;^DD(117.338,.01,21,1,0)
+28 ;;=This field contains the pointer to The Dietetic Report Category file.
+29 ;;^DD(117.338,.01,"DT")
+30 ;;=2920915
+31 ;;^DD(117.338,1,0)
+32 ;;=BRAND^F^^0;2^K:$L(X)>45!($L(X)<3) X
+33 ;;^DD(117.338,1,3)
+34 ;;=Answer must be 3-45 characters in length.
+35 ;;^DD(117.338,1,21,0)
+36 ;;=^^1^1^2920207^
+37 ;;^DD(117.338,1,21,1,0)
+38 ;;=This field contains the Brand of the Dietetic Equipment Service.
+39 ;;^DD(117.338,1,"DT")
+40 ;;=2920207
+41 ;;^DD(117.356,0)
+42 ;;=AREAS OF RESEARCH SUB-FIELD^^.01^1
+43 ;;^DD(117.356,0,"DT")
+44 ;;=2930204
+45 ;;^DD(117.356,0,"IX","B",117.356,.01)
+46 ;;=
+47 ;;^DD(117.356,0,"NM","AREAS OF RESEARCH")
+48 ;;=
+49 ;;^DD(117.356,0,"UP")
+50 ;;=117.3
+51 ;;^DD(117.356,.01,0)
+52 ;;=AREAS OF RESEARCH^MRS^1:CLINICAL;2:COMMUNITY;3:COST/BENEFIT;4:EDUCATION;5:MANAGEMENT;^0;1^Q
+53 ;;^DD(117.356,.01,1,0)
+54 ;;=^.1
+55 ;;^DD(117.356,.01,1,1,0)
+56 ;;=117.356^B
+57 ;;^DD(117.356,.01,1,1,1)
+58 ;;=S ^FH(117.3,DA(1),"AREA","B",$E(X,1,30),DA)=""
+59 ;;^DD(117.356,.01,1,1,2)
+60 ;;=K ^FH(117.3,DA(1),"AREA","B",$E(X,1,30),DA)
+61 ;;^DD(117.356,.01,21,0)
+62 ;;=^^2^2^2930204^
+63 ;;^DD(117.356,.01,21,1,0)
+64 ;;=This field contains Areas of Research under Unfunded Nutrition
+65 ;;^DD(117.356,.01,21,2,0)
+66 ;;=Research.
+67 ;;^DD(117.356,.01,"DT")
+68 ;;=2930204
+69 ;;^DD(117.358,0)
+70 ;;=APPETIZING SUB-FIELD^^6^7
+71 ;;^DD(117.358,0,"DT")
+72 ;;=2931222
+73 ;;^DD(117.358,0,"IX","B",117.358,.01)
+74 ;;=
+75 ;;^DD(117.358,0,"NM","APPETIZING")
+76 ;;=
+77 ;;^DD(117.358,0,"UP")
+78 ;;=117.3
+79 ;;^DD(117.358,.01,0)
+80 ;;=APPETIZING NUMBER^NJ3,0X^^0;1^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X I $D(X) S DINUM=X
+81 ;;^DD(117.358,.01,1,0)
+82 ;;=^.1
+83 ;;^DD(117.358,.01,1,1,0)
+84 ;;=117.358^B
+85 ;;^DD(117.358,.01,1,1,1)
+86 ;;=S ^FH(117.3,DA(1),"APP","B",$E(X,1,30),DA)=""
+87 ;;^DD(117.358,.01,1,1,2)
+88 ;;=K ^FH(117.3,DA(1),"APP","B",$E(X,1,30),DA)
+89 ;;^DD(117.358,.01,3)
+90 ;;=Type a Number between 1 and 999, 0 Decimal Digits
+91 ;;^DD(117.358,.01,21,0)
+92 ;;=^^2^2^2931222^^^^
+93 ;;^DD(117.358,.01,21,1,0)
+94 ;;=This field contains a sequential number assigned to the first question
+95 ;;^DD(117.358,.01,21,2,0)
+96 ;;=of the Dietetic Survey and has no meaning.
+97 ;;^DD(117.358,.01,"DT")
+98 ;;=2931221
+99 ;;^DD(117.358,1,0)
+100 ;;=GM&S^FX^^0;2^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+101 ;;^DD(117.358,1,3)
+102 ;;=Answer must be 2-35 characters in length.
+103 ;;^DD(117.358,1,4)
+104 ;;=D HEL^FHADR9
+105 ;;^DD(117.358,1,21,0)
+106 ;;=^^2^2^2931229^^^^
+107 ;;^DD(117.358,1,21,1,0)
+108 ;;=This is a rating string containing numbers surveyed in GM&S with the
+109 ;;^DD(117.358,1,21,2,0)
+110 ;;=ratings specified in front of them on question one of the survey.
+111 ;;^DD(117.358,1,"DT")
+112 ;;=2931229
+113 ;;^DD(117.358,2,0)
+114 ;;=NHCU^FX^^0;3^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+115 ;;^DD(117.358,2,3)
+116 ;;=Answer must be 2-35 characters in length.
+117 ;;^DD(117.358,2,4)
+118 ;;=D HEL^FHADR9
+119 ;;^DD(117.358,2,21,0)
+120 ;;=^^2^2^2931229^^^
+121 ;;^DD(117.358,2,21,1,0)
+122 ;;=This is a rating string containing numbers surveyed in NHCU with the
+123 ;;^DD(117.358,2,21,2,0)
+124 ;;=ratings specified in front of them on question one of the survey.
+125 ;;^DD(117.358,2,"DT")
+126 ;;=2931229
+127 ;;^DD(117.358,3,0)
+128 ;;=PSYCH^FX^^0;4^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+129 ;;^DD(117.358,3,3)
+130 ;;=Answer must be 2-35 characters in length.
+131 ;;^DD(117.358,3,4)
+132 ;;=D HEL^FHADR9
+133 ;;^DD(117.358,3,21,0)
+134 ;;=^^2^2^2931229^^^^
+135 ;;^DD(117.358,3,21,1,0)
+136 ;;=This is a rating string containing numbers surveyed in PSYCH with the
+137 ;;^DD(117.358,3,21,2,0)
+138 ;;=ratings specified in front of them on question one of the survey.
+139 ;;^DD(117.358,3,"DT")
+140 ;;=2931229
+141 ;;^DD(117.358,4,0)
+142 ;;=DOM^FX^^0;5^K:$L(X)>35!($L(X)<2) X I $D(X) D C0^FHADR9
+143 ;;^DD(117.358,4,3)
+144 ;;=Answer must be 2-35 characters in length.
+145 ;;^DD(117.358,4,4)
+146 ;;=D HEL^FHADR9
+147 ;;^DD(117.358,4,21,0)
+148 ;;=^^2^2^2931229^^^
+149 ;;^DD(117.358,4,21,1,0)
+150 ;;=This is a rating string containing numbers surveyed in DOM with the
+151 ;;^DD(117.358,4,21,2,0)
+152 ;;=ratings specified in front of them on question one of the survey.