FHINI0MD ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(119) 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(119,0,"GL")
;;=^FH(119,
;;^DIC("B","DIETITIAN TICKLER FILE",119)
;;=
;;^DIC(119,"%D",0)
;;=^^4^4^2910820^
;;^DIC(119,"%D",1,0)
;;=This file contains entries relating to required reviews for
;;^DIC(119,"%D",2,0)
;;=each dietitian response for a ward or group of wards. It can
;;^DIC(119,"%D",3,0)
;;=also be used to record personal or non-patient related
;;^DIC(119,"%D",4,0)
;;=entries.
;;^DD(119,0)
;;=FIELD^^1^2
;;^DD(119,0,"DT")
;;=2920320
;;^DD(119,0,"IX","B",119,.01)
;;=
;;^DD(119,0,"NM","DIETITIAN TICKLER FILE")
;;=
;;^DD(119,.01,0)
;;=DIETITIAN^RP200'X^VA(200,^0;1^I $D(X) S DINUM=X
;;^DD(119,.01,1,0)
;;=^.1
;;^DD(119,.01,1,1,0)
;;=119^B
;;^DD(119,.01,1,1,1)
;;=S ^FH(119,"B",$E(X,1,30),DA)=""
;;^DD(119,.01,1,1,2)
;;=K ^FH(119,"B",$E(X,1,30),DA)
;;^DD(119,.01,1,1,"%D",0)
;;=^^1^1^2911118^
;;^DD(119,.01,1,1,"%D",1,0)
;;=This is the normal B cross-reference of the DIETITIAN field.
;;^DD(119,.01,3)
;;=
;;^DD(119,.01,21,0)
;;=^^1^1^2911204^
;;^DD(119,.01,21,1,0)
;;=This field is a pointer to the Dietitian in File 200.
;;^DD(119,.01,"DT")
;;=2910419
;;^DD(119,1,0)
;;=ITEM^119.01D^^I;0
;;^DD(119,1,21,0)
;;=^^1^1^2911204^
;;^DD(119,1,21,1,0)
;;=This field contains a free-text description of the item requiring action.
;;^DD(119.01,0)
;;=ITEM SUB-FIELD^^103^6
;;^DD(119.01,0,"DT")
;;=2920320
;;^DD(119.01,0,"NM","ITEM")
;;=
;;^DD(119.01,0,"UP")
;;=119
;;^DD(119.01,.01,0)
;;=ITEM^MDX^^0;1^S %DT="EST" D ^%DT S X=Y K:Y<1 X I $D(X) S DINUM=X
;;^DD(119.01,.01,1,0)
;;=^.1^^0
;;^DD(119.01,.01,21,0)
;;=^^2^2^2920323^^^
;;^DD(119.01,.01,21,1,0)
;;=This field contains the date/time at which the item
;;^DD(119.01,.01,21,2,0)
;;=has or will become active.
;;^DD(119.01,.01,"DT")
;;=2910426
;;^DD(119.01,1,0)
;;=ITEM TYPE^S^C:CONSULT;D:DIET REVIEW;S:SUPP. FDG. REVIEW;X:PERSONAL;T:TUBEFEED;N:NUT. STATUS;O:ADDITIONAL ORDER;^0;2^Q
;;^DD(119.01,1,21,0)
;;=^^1^1^2920320^^^
;;^DD(119.01,1,21,1,0)
;;=This field indicates the nature of the item.
;;^DD(119.01,1,"DT")
;;=2920320
;;^DD(119.01,2,0)
;;=ITEM TEXT^F^^0;3^K:$L(X)>80!($L(X)<3) X
;;^DD(119.01,2,3)
;;=Answer must be 3-80 characters in length.
;;^DD(119.01,2,21,0)
;;=^^1^1^2911204^
;;^DD(119.01,2,21,1,0)
;;=This field contains a free-text description of the item.
;;^DD(119.01,2,"DT")
;;=2910419
;;^DD(119.01,101,0)
;;=PATIENT^P2'^DPT(^0;4^Q
;;^DD(119.01,101,21,0)
;;=^^1^1^2911204^
;;^DD(119.01,101,21,1,0)
;;=This field is a pointer to the patient to which the item is applicable.
;;^DD(119.01,101,"DT")
;;=2910419
;;^DD(119.01,102,0)
;;=ADMISSION^P405'^DGPM(^0;5^Q
;;^DD(119.01,102,21,0)
;;=^^2^2^2911204^
;;^DD(119.01,102,21,1,0)
;;=This field is a pointer to the admission movement in File 405 to which
;;^DD(119.01,102,21,2,0)
;;=the item is applicable.
;;^DD(119.01,102,"DT")
;;=2910419
;;^DD(119.01,103,0)
;;=ENTRY #^NJ5,0^^0;6^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(119.01,103,3)
;;=Type a Number between 1 and 99999, 0 Decimal Digits
;;^DD(119.01,103,21,0)
;;=^^2^2^2911204^
;;^DD(119.01,103,21,1,0)
;;=This is a pointer to the order number for the appropriate Type of
;;^DD(119.01,103,21,2,0)
;;=Ticker File item.
;;^DD(119.01,103,"DT")
;;=2910419
FHINI0MD ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(119)
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(119,0,"GL")
+2 ;;=^FH(119,
+3 ;;^DIC("B","DIETITIAN TICKLER FILE",119)
+4 ;;=
+5 ;;^DIC(119,"%D",0)
+6 ;;=^^4^4^2910820^
+7 ;;^DIC(119,"%D",1,0)
+8 ;;=This file contains entries relating to required reviews for
+9 ;;^DIC(119,"%D",2,0)
+10 ;;=each dietitian response for a ward or group of wards. It can
+11 ;;^DIC(119,"%D",3,0)
+12 ;;=also be used to record personal or non-patient related
+13 ;;^DIC(119,"%D",4,0)
+14 ;;=entries.
+15 ;;^DD(119,0)
+16 ;;=FIELD^^1^2
+17 ;;^DD(119,0,"DT")
+18 ;;=2920320
+19 ;;^DD(119,0,"IX","B",119,.01)
+20 ;;=
+21 ;;^DD(119,0,"NM","DIETITIAN TICKLER FILE")
+22 ;;=
+23 ;;^DD(119,.01,0)
+24 ;;=DIETITIAN^RP200'X^VA(200,^0;1^I $D(X) S DINUM=X
+25 ;;^DD(119,.01,1,0)
+26 ;;=^.1
+27 ;;^DD(119,.01,1,1,0)
+28 ;;=119^B
+29 ;;^DD(119,.01,1,1,1)
+30 ;;=S ^FH(119,"B",$E(X,1,30),DA)=""
+31 ;;^DD(119,.01,1,1,2)
+32 ;;=K ^FH(119,"B",$E(X,1,30),DA)
+33 ;;^DD(119,.01,1,1,"%D",0)
+34 ;;=^^1^1^2911118^
+35 ;;^DD(119,.01,1,1,"%D",1,0)
+36 ;;=This is the normal B cross-reference of the DIETITIAN field.
+37 ;;^DD(119,.01,3)
+38 ;;=
+39 ;;^DD(119,.01,21,0)
+40 ;;=^^1^1^2911204^
+41 ;;^DD(119,.01,21,1,0)
+42 ;;=This field is a pointer to the Dietitian in File 200.
+43 ;;^DD(119,.01,"DT")
+44 ;;=2910419
+45 ;;^DD(119,1,0)
+46 ;;=ITEM^119.01D^^I;0
+47 ;;^DD(119,1,21,0)
+48 ;;=^^1^1^2911204^
+49 ;;^DD(119,1,21,1,0)
+50 ;;=This field contains a free-text description of the item requiring action.
+51 ;;^DD(119.01,0)
+52 ;;=ITEM SUB-FIELD^^103^6
+53 ;;^DD(119.01,0,"DT")
+54 ;;=2920320
+55 ;;^DD(119.01,0,"NM","ITEM")
+56 ;;=
+57 ;;^DD(119.01,0,"UP")
+58 ;;=119
+59 ;;^DD(119.01,.01,0)
+60 ;;=ITEM^MDX^^0;1^S %DT="EST" D ^%DT S X=Y K:Y<1 X I $D(X) S DINUM=X
+61 ;;^DD(119.01,.01,1,0)
+62 ;;=^.1^^0
+63 ;;^DD(119.01,.01,21,0)
+64 ;;=^^2^2^2920323^^^
+65 ;;^DD(119.01,.01,21,1,0)
+66 ;;=This field contains the date/time at which the item
+67 ;;^DD(119.01,.01,21,2,0)
+68 ;;=has or will become active.
+69 ;;^DD(119.01,.01,"DT")
+70 ;;=2910426
+71 ;;^DD(119.01,1,0)
+72 ;;=ITEM TYPE^S^C:CONSULT;D:DIET REVIEW;S:SUPP. FDG. REVIEW;X:PERSONAL;T:TUBEFEED;N:NUT. STATUS;O:ADDITIONAL ORDER;^0;2^Q
+73 ;;^DD(119.01,1,21,0)
+74 ;;=^^1^1^2920320^^^
+75 ;;^DD(119.01,1,21,1,0)
+76 ;;=This field indicates the nature of the item.
+77 ;;^DD(119.01,1,"DT")
+78 ;;=2920320
+79 ;;^DD(119.01,2,0)
+80 ;;=ITEM TEXT^F^^0;3^K:$L(X)>80!($L(X)<3) X
+81 ;;^DD(119.01,2,3)
+82 ;;=Answer must be 3-80 characters in length.
+83 ;;^DD(119.01,2,21,0)
+84 ;;=^^1^1^2911204^
+85 ;;^DD(119.01,2,21,1,0)
+86 ;;=This field contains a free-text description of the item.
+87 ;;^DD(119.01,2,"DT")
+88 ;;=2910419
+89 ;;^DD(119.01,101,0)
+90 ;;=PATIENT^P2'^DPT(^0;4^Q
+91 ;;^DD(119.01,101,21,0)
+92 ;;=^^1^1^2911204^
+93 ;;^DD(119.01,101,21,1,0)
+94 ;;=This field is a pointer to the patient to which the item is applicable.
+95 ;;^DD(119.01,101,"DT")
+96 ;;=2910419
+97 ;;^DD(119.01,102,0)
+98 ;;=ADMISSION^P405'^DGPM(^0;5^Q
+99 ;;^DD(119.01,102,21,0)
+100 ;;=^^2^2^2911204^
+101 ;;^DD(119.01,102,21,1,0)
+102 ;;=This field is a pointer to the admission movement in File 405 to which
+103 ;;^DD(119.01,102,21,2,0)
+104 ;;=the item is applicable.
+105 ;;^DD(119.01,102,"DT")
+106 ;;=2910419
+107 ;;^DD(119.01,103,0)
+108 ;;=ENTRY #^NJ5,0^^0;6^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
+109 ;;^DD(119.01,103,3)
+110 ;;=Type a Number between 1 and 99999, 0 Decimal Digits
+111 ;;^DD(119.01,103,21,0)
+112 ;;=^^2^2^2911204^
+113 ;;^DD(119.01,103,21,1,0)
+114 ;;=This is a pointer to the order number for the appropriate Type of
+115 ;;^DD(119.01,103,21,2,0)
+116 ;;=Ticker File item.
+117 ;;^DD(119.01,103,"DT")
+118 ;;=2910419