FHINI0MA ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(118.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
;;^DD(118.2,99,1,1,"%D",0)
;;=^^2^2^2940818^
;;^DD(118.2,99,1,1,"%D",1,0)
;;=This cross-reference is used to create an 'I' node for
;;^DD(118.2,99,1,1,"%D",2,0)
;;=inactive entries.
;;^DD(118.2,99,21,0)
;;=^^2^2^2920818^^
;;^DD(118.2,99,21,1,0)
;;=This field, if answered YES, prohibits further selection of
;;^DD(118.2,99,21,2,0)
;;=this item by ward or dietetic personnel.
;;^DD(118.2,99,"DT")
;;=2860813
;;^DD(118.21,0)
;;=SYNONYM SUB-FIELD^NL^.01^1
;;^DD(118.21,0,"NM","SYNONYM")
;;=
;;^DD(118.21,0,"UP")
;;=118.2
;;^DD(118.21,.01,0)
;;=SYNONYM^MF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1) X
;;^DD(118.21,.01,1,0)
;;=^.1
;;^DD(118.21,.01,1,1,0)
;;=118.2^C
;;^DD(118.21,.01,1,1,1)
;;=S ^FH(118.2,"C",$E(X,1,30),DA(1),DA)=""
;;^DD(118.21,.01,1,1,2)
;;=K ^FH(118.2,"C",$E(X,1,30),DA(1),DA)
;;^DD(118.21,.01,3)
;;=ANSWER MUST BE 1-30 CHARACTERS IN LENGTH
;;^DD(118.21,.01,21,0)
;;=^^2^2^2880710^
;;^DD(118.21,.01,21,1,0)
;;=This field contains an alternate name or synonym for the
;;^DD(118.21,.01,21,2,0)
;;=tubefeeding product.
;;^DD(118.21,.01,"DT")
;;=2850709
FHINI0MA ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(118.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 ;;^DD(118.2,99,1,1,"%D",0)
+2 ;;=^^2^2^2940818^
+3 ;;^DD(118.2,99,1,1,"%D",1,0)
+4 ;;=This cross-reference is used to create an 'I' node for
+5 ;;^DD(118.2,99,1,1,"%D",2,0)
+6 ;;=inactive entries.
+7 ;;^DD(118.2,99,21,0)
+8 ;;=^^2^2^2920818^^
+9 ;;^DD(118.2,99,21,1,0)
+10 ;;=This field, if answered YES, prohibits further selection of
+11 ;;^DD(118.2,99,21,2,0)
+12 ;;=this item by ward or dietetic personnel.
+13 ;;^DD(118.2,99,"DT")
+14 ;;=2860813
+15 ;;^DD(118.21,0)
+16 ;;=SYNONYM SUB-FIELD^NL^.01^1
+17 ;;^DD(118.21,0,"NM","SYNONYM")
+18 ;;=
+19 ;;^DD(118.21,0,"UP")
+20 ;;=118.2
+21 ;;^DD(118.21,.01,0)
+22 ;;=SYNONYM^MF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1) X
+23 ;;^DD(118.21,.01,1,0)
+24 ;;=^.1
+25 ;;^DD(118.21,.01,1,1,0)
+26 ;;=118.2^C
+27 ;;^DD(118.21,.01,1,1,1)
+28 ;;=S ^FH(118.2,"C",$E(X,1,30),DA(1),DA)=""
+29 ;;^DD(118.21,.01,1,1,2)
+30 ;;=K ^FH(118.2,"C",$E(X,1,30),DA(1),DA)
+31 ;;^DD(118.21,.01,3)
+32 ;;=ANSWER MUST BE 1-30 CHARACTERS IN LENGTH
+33 ;;^DD(118.21,.01,21,0)
+34 ;;=^^2^2^2880710^
+35 ;;^DD(118.21,.01,21,1,0)
+36 ;;=This field contains an alternate name or synonym for the
+37 ;;^DD(118.21,.01,21,2,0)
+38 ;;=tubefeeding product.
+39 ;;^DD(118.21,.01,"DT")
+40 ;;=2850709