FHINI0N0 ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(119.8) 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(119.8,7,21,2,0)
;;=the From-To Ward and Bed.
;;^DD(119.8,7,"DT")
;;=2920704
;;^DD(119.8,8,0)
;;=ENTERED CLERK^RP200'^VA(200,^0;9^Q
;;^DD(119.8,8,21,0)
;;=^^2^2^2950317^
;;^DD(119.8,8,21,1,0)
;;=This field contains the user who entered the order and is
;;^DD(119.8,8,21,2,0)
;;=automatically captured at the time of entry.
;;^DD(119.8,8,"DT")
;;=2950317
FHINI0N0 ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(119.8)
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(119.8,7,21,2,0)
+2 ;;=the From-To Ward and Bed.
+3 ;;^DD(119.8,7,"DT")
+4 ;;=2920704
+5 ;;^DD(119.8,8,0)
+6 ;;=ENTERED CLERK^RP200'^VA(200,^0;9^Q
+7 ;;^DD(119.8,8,21,0)
+8 ;;=^^2^2^2950317^
+9 ;;^DD(119.8,8,21,1,0)
+10 ;;=This field contains the user who entered the order and is
+11 ;;^DD(119.8,8,21,2,0)
+12 ;;=automatically captured at the time of entry.
+13 ;;^DD(119.8,8,"DT")
+14 ;;=2950317