FHINI0KE ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(114.4) 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.4,0,"GL")
;;=^FH(114.4,
;;^DIC("B","EQUIPMENT",114.4)
;;=
;;^DIC(114.4,"%D",0)
;;=^^3^3^2880515^
;;^DIC(114.4,"%D",1,0)
;;=This file contains a list of basic equipment used in the preparation
;;^DIC(114.4,"%D",2,0)
;;=of recipes. A recipe may point to this list to indicate the
;;^DIC(114.4,"%D",3,0)
;;=primary type of equipment used in the recipe preparation.
;;^DD(114.4,0)
;;=FIELD^^.01^1
;;^DD(114.4,0,"IX","B",114.4,.01)
;;=
;;^DD(114.4,0,"NM","EQUIPMENT")
;;=
;;^DD(114.4,0,"PT",114.05,.01)
;;=
;;^DD(114.4,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>21!($L(X)<3) X
;;^DD(114.4,.01,1,0)
;;=^.1
;;^DD(114.4,.01,1,1,0)
;;=114.4^B
;;^DD(114.4,.01,1,1,1)
;;=S ^FH(114.4,"B",$E(X,1,30),DA)=""
;;^DD(114.4,.01,1,1,2)
;;=K ^FH(114.4,"B",$E(X,1,30),DA)
;;^DD(114.4,.01,1,1,"%D",0)
;;=^^1^1^2911118^
;;^DD(114.4,.01,1,1,"%D",1,0)
;;=This is the normal B cross-reference of the NAME field.
;;^DD(114.4,.01,3)
;;=ANSWER MUST BE 3-21 CHARACTERS IN LENGTH
;;^DD(114.4,.01,21,0)
;;=^^3^3^2880709^
;;^DD(114.4,.01,21,1,0)
;;=This is the name of an equipment item (large kettle, convection
;;^DD(114.4,.01,21,2,0)
;;=oven, etc.) and is used by the recipe file to indicate the
;;^DD(114.4,.01,21,3,0)
;;=usual preparation equipment needed.
;;^DD(114.4,.01,"DEL",1,0)
;;=I DUZ(0)'["@",'$D(^XUSEC("FHMGR",DUZ))
;;^DD(114.4,.01,"DT")
;;=2880117
FHINI0KE ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(114.4)
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.4,0,"GL")
+2 ;;=^FH(114.4,
+3 ;;^DIC("B","EQUIPMENT",114.4)
+4 ;;=
+5 ;;^DIC(114.4,"%D",0)
+6 ;;=^^3^3^2880515^
+7 ;;^DIC(114.4,"%D",1,0)
+8 ;;=This file contains a list of basic equipment used in the preparation
+9 ;;^DIC(114.4,"%D",2,0)
+10 ;;=of recipes. A recipe may point to this list to indicate the
+11 ;;^DIC(114.4,"%D",3,0)
+12 ;;=primary type of equipment used in the recipe preparation.
+13 ;;^DD(114.4,0)
+14 ;;=FIELD^^.01^1
+15 ;;^DD(114.4,0,"IX","B",114.4,.01)
+16 ;;=
+17 ;;^DD(114.4,0,"NM","EQUIPMENT")
+18 ;;=
+19 ;;^DD(114.4,0,"PT",114.05,.01)
+20 ;;=
+21 ;;^DD(114.4,.01,0)
+22 ;;=NAME^RF^^0;1^K:$L(X)>21!($L(X)<3) X
+23 ;;^DD(114.4,.01,1,0)
+24 ;;=^.1
+25 ;;^DD(114.4,.01,1,1,0)
+26 ;;=114.4^B
+27 ;;^DD(114.4,.01,1,1,1)
+28 ;;=S ^FH(114.4,"B",$E(X,1,30),DA)=""
+29 ;;^DD(114.4,.01,1,1,2)
+30 ;;=K ^FH(114.4,"B",$E(X,1,30),DA)
+31 ;;^DD(114.4,.01,1,1,"%D",0)
+32 ;;=^^1^1^2911118^
+33 ;;^DD(114.4,.01,1,1,"%D",1,0)
+34 ;;=This is the normal B cross-reference of the NAME field.
+35 ;;^DD(114.4,.01,3)
+36 ;;=ANSWER MUST BE 3-21 CHARACTERS IN LENGTH
+37 ;;^DD(114.4,.01,21,0)
+38 ;;=^^3^3^2880709^
+39 ;;^DD(114.4,.01,21,1,0)
+40 ;;=This is the name of an equipment item (large kettle, convection
+41 ;;^DD(114.4,.01,21,2,0)
+42 ;;=oven, etc.) and is used by the recipe file to indicate the
+43 ;;^DD(114.4,.01,21,3,0)
+44 ;;=usual preparation equipment needed.
+45 ;;^DD(114.4,.01,"DEL",1,0)
+46 ;;=I DUZ(0)'["@",'$D(^XUSEC("FHMGR",DUZ))
+47 ;;^DD(114.4,.01,"DT")
+48 ;;=2880117