FHINI0KA ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(114.2) 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
;;^DIC(114.2,0,"GL")
;;=^FH(114.2,
;;^DIC("B","PREPARATION AREA",114.2)
;;=
;;^DIC(114.2,"%D",0)
;;=^^5^5^2880515^
;;^DIC(114.2,"%D",1,0)
;;=This file contains a list of areas in which food is prepared.
;;^DIC(114.2,"%D",2,0)
;;=Recipes may be classified by preparation area and this file
;;^DIC(114.2,"%D",3,0)
;;=is used to sort recipes into the various preparation areas
;;^DIC(114.2,"%D",4,0)
;;=as well as determine the order in which various lists will
;;^DIC(114.2,"%D",5,0)
;;=print.
;;^DD(114.2,0)
;;=FIELD^^2^3
;;^DD(114.2,0,"IX","B",114.2,.01)
;;=
;;^DD(114.2,0,"NM","PREPARATION AREA")
;;=
;;^DD(114.2,0,"PT",114,12)
;;=
;;^DD(114.2,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>15!($L(X)<3)!'(X'?1P.E) X
;;^DD(114.2,.01,1,0)
;;=^.1
;;^DD(114.2,.01,1,1,0)
;;=114.2^B
;;^DD(114.2,.01,1,1,1)
;;=S ^FH(114.2,"B",$E(X,1,30),DA)=""
;;^DD(114.2,.01,1,1,2)
;;=K ^FH(114.2,"B",$E(X,1,30),DA)
;;^DD(114.2,.01,1,1,"%D",0)
;;=^^1^1^2911118^
;;^DD(114.2,.01,1,1,"%D",1,0)
;;=This is the normal B cross-reference of the NAME field.
;;^DD(114.2,.01,3)
;;=ANSWER MUST BE 3-15 CHARACTERS IN LENGTH
;;^DD(114.2,.01,21,0)
;;=^^2^2^2880709^
;;^DD(114.2,.01,21,1,0)
;;=This is the name of an area where recipes are prepared (e.g.,
;;^DD(114.2,.01,21,2,0)
;;=salad area, bakery, etc.).
;;^DD(114.2,.01,"DEL",1,0)
;;=I DUZ(0)'["@",'$D(^XUSEC("FHMGR",DUZ))
;;^DD(114.2,1,0)
;;=CODE^RF^^0;2^K:$L(X)>5!($L(X)<2) X
;;^DD(114.2,1,3)
;;=ANSWER MUST BE 2-5 CHARACTERS IN LENGTH
;;^DD(114.2,1,21,0)
;;=^^3^3^2880709^
;;^DD(114.2,1,21,1,0)
;;=This is a short abbreviation for the preparation area. It is used
;;^DD(114.2,1,21,2,0)
;;=on various lists where it is not practical to print the longer
;;^DD(114.2,1,21,3,0)
;;=full name. It should be unique.
;;^DD(114.2,2,0)
;;=PRINT ORDER^RNJ2,0^^0;3^K:+X'=X!(X>49)!(X<1)!(X?.E1"."1N.N) X
;;^DD(114.2,2,3)
;;=Type a Number between 1 and 49, 0 Decimal Digits
;;^DD(114.2,2,21,0)
;;=^^3^3^2880709^
;;^DD(114.2,2,21,1,0)
;;=This is a numeric value indicating the print order (from low to
;;^DD(114.2,2,21,2,0)
;;=high) of various preparation areas when the list is sorted by
;;^DD(114.2,2,21,3,0)
;;=preparation area.
;;^DD(114.2,2,"DT")
;;=2880328
FHINI0KA ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(114.2)
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 ;;^DIC(114.2,0,"GL")
+2 ;;=^FH(114.2,
+3 ;;^DIC("B","PREPARATION AREA",114.2)
+4 ;;=
+5 ;;^DIC(114.2,"%D",0)
+6 ;;=^^5^5^2880515^
+7 ;;^DIC(114.2,"%D",1,0)
+8 ;;=This file contains a list of areas in which food is prepared.
+9 ;;^DIC(114.2,"%D",2,0)
+10 ;;=Recipes may be classified by preparation area and this file
+11 ;;^DIC(114.2,"%D",3,0)
+12 ;;=is used to sort recipes into the various preparation areas
+13 ;;^DIC(114.2,"%D",4,0)
+14 ;;=as well as determine the order in which various lists will
+15 ;;^DIC(114.2,"%D",5,0)
+16 ;;=print.
+17 ;;^DD(114.2,0)
+18 ;;=FIELD^^2^3
+19 ;;^DD(114.2,0,"IX","B",114.2,.01)
+20 ;;=
+21 ;;^DD(114.2,0,"NM","PREPARATION AREA")
+22 ;;=
+23 ;;^DD(114.2,0,"PT",114,12)
+24 ;;=
+25 ;;^DD(114.2,.01,0)
+26 ;;=NAME^RF^^0;1^K:$L(X)>15!($L(X)<3)!'(X'?1P.E) X
+27 ;;^DD(114.2,.01,1,0)
+28 ;;=^.1
+29 ;;^DD(114.2,.01,1,1,0)
+30 ;;=114.2^B
+31 ;;^DD(114.2,.01,1,1,1)
+32 ;;=S ^FH(114.2,"B",$E(X,1,30),DA)=""
+33 ;;^DD(114.2,.01,1,1,2)
+34 ;;=K ^FH(114.2,"B",$E(X,1,30),DA)
+35 ;;^DD(114.2,.01,1,1,"%D",0)
+36 ;;=^^1^1^2911118^
+37 ;;^DD(114.2,.01,1,1,"%D",1,0)
+38 ;;=This is the normal B cross-reference of the NAME field.
+39 ;;^DD(114.2,.01,3)
+40 ;;=ANSWER MUST BE 3-15 CHARACTERS IN LENGTH
+41 ;;^DD(114.2,.01,21,0)
+42 ;;=^^2^2^2880709^
+43 ;;^DD(114.2,.01,21,1,0)
+44 ;;=This is the name of an area where recipes are prepared (e.g.,
+45 ;;^DD(114.2,.01,21,2,0)
+46 ;;=salad area, bakery, etc.).
+47 ;;^DD(114.2,.01,"DEL",1,0)
+48 ;;=I DUZ(0)'["@",'$D(^XUSEC("FHMGR",DUZ))
+49 ;;^DD(114.2,1,0)
+50 ;;=CODE^RF^^0;2^K:$L(X)>5!($L(X)<2) X
+51 ;;^DD(114.2,1,3)
+52 ;;=ANSWER MUST BE 2-5 CHARACTERS IN LENGTH
+53 ;;^DD(114.2,1,21,0)
+54 ;;=^^3^3^2880709^
+55 ;;^DD(114.2,1,21,1,0)
+56 ;;=This is a short abbreviation for the preparation area. It is used
+57 ;;^DD(114.2,1,21,2,0)
+58 ;;=on various lists where it is not practical to print the longer
+59 ;;^DD(114.2,1,21,3,0)
+60 ;;=full name. It should be unique.
+61 ;;^DD(114.2,2,0)
+62 ;;=PRINT ORDER^RNJ2,0^^0;3^K:+X'=X!(X>49)!(X<1)!(X?.E1"."1N.N) X
+63 ;;^DD(114.2,2,3)
+64 ;;=Type a Number between 1 and 49, 0 Decimal Digits
+65 ;;^DD(114.2,2,21,0)
+66 ;;=^^3^3^2880709^
+67 ;;^DD(114.2,2,21,1,0)
+68 ;;=This is a numeric value indicating the print order (from low to
+69 ;;^DD(114.2,2,21,2,0)
+70 ;;=high) of various preparation areas when the list is sorted by
+71 ;;^DD(114.2,2,21,3,0)
+72 ;;=preparation area.
+73 ;;^DD(114.2,2,"DT")
+74 ;;=2880328