FHINI0KL ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(115) 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(115.011,48,21,0)
;;=^^1^1^2900411^^
;;^DD(115.011,48,21,1,0)
;;=This is the calculated bone-free arm muscle area in sq. cm.
;;^DD(115.011,48,"DT")
;;=2900411
;;^DD(115.011,49,0)
;;=BONE-FREE AMA %^NJ2,0^^1;10^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
;;^DD(115.011,49,3)
;;=Type a Number between 1 and 99, 0 Decimal Digits
;;^DD(115.011,49,21,0)
;;=^^1^1^2900411^^
;;^DD(115.011,49,21,1,0)
;;=This is the percentile rank of the bone-free AMA.
;;^DD(115.011,49,"DT")
;;=2900411
;;^DD(115.011,70,0)
;;=LAB DATA^115.021^^L;0
;;^DD(115.011,70,21,0)
;;=^^2^2^2891121^
;;^DD(115.011,70,21,1,0)
;;=This multiple contains laboratory data available for the
;;^DD(115.011,70,21,2,0)
;;=nutrition assessment.
;;^DD(115.011,71,0)
;;=COMMENTS^115.1171^^X;0
;;^DD(115.011,71,21,0)
;;=^^1^1^2891121^
;;^DD(115.011,71,21,1,0)
;;=This multiple contains comments relating to the assessment.
;;^DD(115.011,101,0)
;;=ENTERING CLINICIAN^RP200'^VA(200,^0;23^Q
;;^DD(115.011,101,21,0)
;;=^^2^2^2891121^
;;^DD(115.011,101,21,1,0)
;;=This field points to the person entering the nutrition
;;^DD(115.011,101,21,2,0)
;;=assessment.
;;^DD(115.011,101,"DT")
;;=2891108
;;^DD(115.011,102,0)
;;=DATE/TIME ENTERED^RD^^0;24^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
;;^DD(115.011,102,21,0)
;;=^^2^2^2891121^
;;^DD(115.011,102,21,1,0)
;;=This field contains the date/time the assessment was actually
;;^DD(115.011,102,21,2,0)
;;=entered.
;;^DD(115.011,102,"DT")
;;=2891108
;;^DD(115.012,0)
;;=NUTRITION STATUS SUB-FIELD^^5^6
;;^DD(115.012,0,"DT")
;;=2920826
;;^DD(115.012,0,"IX","B",115.012,.01)
;;=
;;^DD(115.012,0,"NM","NUTRITION STATUS")
;;=
;;^DD(115.012,0,"UP")
;;=115
;;^DD(115.012,.01,0)
;;=STATUS DATE/TIME^DX^^0;1^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X I $D(X) S DINUM=9999999-X
;;^DD(115.012,.01,1,0)
;;=^.1
;;^DD(115.012,.01,1,1,0)
;;=115.012^B
;;^DD(115.012,.01,1,1,1)
;;=S ^FHPT(DA(1),"S","B",$E(X,1,30),DA)=""
;;^DD(115.012,.01,1,1,2)
;;=K ^FHPT(DA(1),"S","B",$E(X,1,30),DA)
;;^DD(115.012,.01,1,1,"%D",0)
;;=^^1^1^2911118^
;;^DD(115.012,.01,1,1,"%D",1,0)
;;=This is the normal B cross-reference of the STATUS DATE/TIME field.
;;^DD(115.012,.01,21,0)
;;=^^2^2^2891113^
;;^DD(115.012,.01,21,1,0)
;;=This field contains the date/time that a nutrition status
;;^DD(115.012,.01,21,2,0)
;;=assessment was entered.
;;^DD(115.012,.01,"DT")
;;=2891113
;;^DD(115.012,1,0)
;;=STATUS^RP115.4'^FH(115.4,^0;2^Q
;;^DD(115.012,1,21,0)
;;=^^2^2^2891121^^
;;^DD(115.012,1,21,1,0)
;;=This is a pointer to the Nutrition Status file (115.4) indicating
;;^DD(115.012,1,21,2,0)
;;=the current status of this patient.
;;^DD(115.012,1,"DT")
;;=2891113
;;^DD(115.012,2,0)
;;=ENTRY CLERK^RP200'^VA(200,^0;3^Q
;;^DD(115.012,2,21,0)
;;=^^2^2^2891121^^
;;^DD(115.012,2,21,1,0)
;;=This is a pointer indicating the person actually making the entry
;;^DD(115.012,2,21,2,0)
;;=of the status.
;;^DD(115.012,2,"DT")
;;=2891113
;;^DD(115.012,3,0)
;;=LAST REVIEW DATE/TIME^D^^0;4^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
;;^DD(115.012,3,21,0)
;;=^^2^2^2911204^
;;^DD(115.012,3,21,1,0)
;;=This is the date/time that this Nutrition Status was last reviewed.
;;^DD(115.012,3,21,2,0)
;;=Further reviews are based upon this last review date/time.
;;^DD(115.012,3,"DT")
;;=2910430
;;^DD(115.012,4,0)
;;=REVIEW CLERK^P200'^VA(200,^0;5^Q
;;^DD(115.012,4,21,0)
;;=^^1^1^2911204^
;;^DD(115.012,4,21,1,0)
;;=This is a pointer to File 200 of the person entering the review.
;;^DD(115.012,4,"DT")
;;=2910430
;;^DD(115.012,5,0)
;;=DIETETIC WARD^P119.6'^FH(119.6,^0;6^Q
;;^DD(115.012,5,21,0)
;;=^^2^2^2921107^
;;^DD(115.012,5,21,1,0)
;;=This field is a pointer to the Dietetic Ward on which the patient
;;^DD(115.012,5,21,2,0)
;;=resided when the Nutrition Status was entered.
;;^DD(115.012,5,"DT")
;;=2920826
;;^DD(115.02,0)
;;=DIET SUB-FIELD^NL^21^23
;;^DD(115.02,0,"DT")
;;=2941110
;;^DD(115.02,0,"NM","DIET")
;;=
;;^DD(115.02,0,"UP")
;;=115.01
;;^DD(115.02,.01,0)
;;=ORDER NUMBER^NJ5,0XI^^0;1^K:X'?1N.N X I $D(X) S DINUM=X
;;^DD(115.02,.01,3)
;;=TYPE A WHOLE NUMBER BETWEEN 1 AND 99999
;;^DD(115.02,.01,21,0)
;;=^^2^2^2880710^
;;^DD(115.02,.01,21,1,0)
;;=This field is merely the sequence order in which the diets
;;^DD(115.02,.01,21,2,0)
;;=were ordered and has no further meaning.
;;^DD(115.02,.01,"DT")
;;=2880515
;;^DD(115.02,1,0)
;;=DIET1^P111'I^FH(111,^0;2^Q
;;^DD(115.02,1,21,0)
;;=^^2^2^2940526^^
;;^DD(115.02,1,21,1,0)
;;=This is the first diet modification selected from the Diets (111)
;;^DD(115.02,1,21,2,0)
;;=file.
FHINI0KL ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(115)
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(115.011,48,21,0)
+2 ;;=^^1^1^2900411^^
+3 ;;^DD(115.011,48,21,1,0)
+4 ;;=This is the calculated bone-free arm muscle area in sq. cm.
+5 ;;^DD(115.011,48,"DT")
+6 ;;=2900411
+7 ;;^DD(115.011,49,0)
+8 ;;=BONE-FREE AMA %^NJ2,0^^1;10^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
+9 ;;^DD(115.011,49,3)
+10 ;;=Type a Number between 1 and 99, 0 Decimal Digits
+11 ;;^DD(115.011,49,21,0)
+12 ;;=^^1^1^2900411^^
+13 ;;^DD(115.011,49,21,1,0)
+14 ;;=This is the percentile rank of the bone-free AMA.
+15 ;;^DD(115.011,49,"DT")
+16 ;;=2900411
+17 ;;^DD(115.011,70,0)
+18 ;;=LAB DATA^115.021^^L;0
+19 ;;^DD(115.011,70,21,0)
+20 ;;=^^2^2^2891121^
+21 ;;^DD(115.011,70,21,1,0)
+22 ;;=This multiple contains laboratory data available for the
+23 ;;^DD(115.011,70,21,2,0)
+24 ;;=nutrition assessment.
+25 ;;^DD(115.011,71,0)
+26 ;;=COMMENTS^115.1171^^X;0
+27 ;;^DD(115.011,71,21,0)
+28 ;;=^^1^1^2891121^
+29 ;;^DD(115.011,71,21,1,0)
+30 ;;=This multiple contains comments relating to the assessment.
+31 ;;^DD(115.011,101,0)
+32 ;;=ENTERING CLINICIAN^RP200'^VA(200,^0;23^Q
+33 ;;^DD(115.011,101,21,0)
+34 ;;=^^2^2^2891121^
+35 ;;^DD(115.011,101,21,1,0)
+36 ;;=This field points to the person entering the nutrition
+37 ;;^DD(115.011,101,21,2,0)
+38 ;;=assessment.
+39 ;;^DD(115.011,101,"DT")
+40 ;;=2891108
+41 ;;^DD(115.011,102,0)
+42 ;;=DATE/TIME ENTERED^RD^^0;24^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
+43 ;;^DD(115.011,102,21,0)
+44 ;;=^^2^2^2891121^
+45 ;;^DD(115.011,102,21,1,0)
+46 ;;=This field contains the date/time the assessment was actually
+47 ;;^DD(115.011,102,21,2,0)
+48 ;;=entered.
+49 ;;^DD(115.011,102,"DT")
+50 ;;=2891108
+51 ;;^DD(115.012,0)
+52 ;;=NUTRITION STATUS SUB-FIELD^^5^6
+53 ;;^DD(115.012,0,"DT")
+54 ;;=2920826
+55 ;;^DD(115.012,0,"IX","B",115.012,.01)
+56 ;;=
+57 ;;^DD(115.012,0,"NM","NUTRITION STATUS")
+58 ;;=
+59 ;;^DD(115.012,0,"UP")
+60 ;;=115
+61 ;;^DD(115.012,.01,0)
+62 ;;=STATUS DATE/TIME^DX^^0;1^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X I $D(X) S DINUM=9999999-X
+63 ;;^DD(115.012,.01,1,0)
+64 ;;=^.1
+65 ;;^DD(115.012,.01,1,1,0)
+66 ;;=115.012^B
+67 ;;^DD(115.012,.01,1,1,1)
+68 ;;=S ^FHPT(DA(1),"S","B",$E(X,1,30),DA)=""
+69 ;;^DD(115.012,.01,1,1,2)
+70 ;;=K ^FHPT(DA(1),"S","B",$E(X,1,30),DA)
+71 ;;^DD(115.012,.01,1,1,"%D",0)
+72 ;;=^^1^1^2911118^
+73 ;;^DD(115.012,.01,1,1,"%D",1,0)
+74 ;;=This is the normal B cross-reference of the STATUS DATE/TIME field.
+75 ;;^DD(115.012,.01,21,0)
+76 ;;=^^2^2^2891113^
+77 ;;^DD(115.012,.01,21,1,0)
+78 ;;=This field contains the date/time that a nutrition status
+79 ;;^DD(115.012,.01,21,2,0)
+80 ;;=assessment was entered.
+81 ;;^DD(115.012,.01,"DT")
+82 ;;=2891113
+83 ;;^DD(115.012,1,0)
+84 ;;=STATUS^RP115.4'^FH(115.4,^0;2^Q
+85 ;;^DD(115.012,1,21,0)
+86 ;;=^^2^2^2891121^^
+87 ;;^DD(115.012,1,21,1,0)
+88 ;;=This is a pointer to the Nutrition Status file (115.4) indicating
+89 ;;^DD(115.012,1,21,2,0)
+90 ;;=the current status of this patient.
+91 ;;^DD(115.012,1,"DT")
+92 ;;=2891113
+93 ;;^DD(115.012,2,0)
+94 ;;=ENTRY CLERK^RP200'^VA(200,^0;3^Q
+95 ;;^DD(115.012,2,21,0)
+96 ;;=^^2^2^2891121^^
+97 ;;^DD(115.012,2,21,1,0)
+98 ;;=This is a pointer indicating the person actually making the entry
+99 ;;^DD(115.012,2,21,2,0)
+100 ;;=of the status.
+101 ;;^DD(115.012,2,"DT")
+102 ;;=2891113
+103 ;;^DD(115.012,3,0)
+104 ;;=LAST REVIEW DATE/TIME^D^^0;4^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
+105 ;;^DD(115.012,3,21,0)
+106 ;;=^^2^2^2911204^
+107 ;;^DD(115.012,3,21,1,0)
+108 ;;=This is the date/time that this Nutrition Status was last reviewed.
+109 ;;^DD(115.012,3,21,2,0)
+110 ;;=Further reviews are based upon this last review date/time.
+111 ;;^DD(115.012,3,"DT")
+112 ;;=2910430
+113 ;;^DD(115.012,4,0)
+114 ;;=REVIEW CLERK^P200'^VA(200,^0;5^Q
+115 ;;^DD(115.012,4,21,0)
+116 ;;=^^1^1^2911204^
+117 ;;^DD(115.012,4,21,1,0)
+118 ;;=This is a pointer to File 200 of the person entering the review.
+119 ;;^DD(115.012,4,"DT")
+120 ;;=2910430
+121 ;;^DD(115.012,5,0)
+122 ;;=DIETETIC WARD^P119.6'^FH(119.6,^0;6^Q
+123 ;;^DD(115.012,5,21,0)
+124 ;;=^^2^2^2921107^
+125 ;;^DD(115.012,5,21,1,0)
+126 ;;=This field is a pointer to the Dietetic Ward on which the patient
+127 ;;^DD(115.012,5,21,2,0)
+128 ;;=resided when the Nutrition Status was entered.
+129 ;;^DD(115.012,5,"DT")
+130 ;;=2920826
+131 ;;^DD(115.02,0)
+132 ;;=DIET SUB-FIELD^NL^21^23
+133 ;;^DD(115.02,0,"DT")
+134 ;;=2941110
+135 ;;^DD(115.02,0,"NM","DIET")
+136 ;;=
+137 ;;^DD(115.02,0,"UP")
+138 ;;=115.01
+139 ;;^DD(115.02,.01,0)
+140 ;;=ORDER NUMBER^NJ5,0XI^^0;1^K:X'?1N.N X I $D(X) S DINUM=X
+141 ;;^DD(115.02,.01,3)
+142 ;;=TYPE A WHOLE NUMBER BETWEEN 1 AND 99999
+143 ;;^DD(115.02,.01,21,0)
+144 ;;=^^2^2^2880710^
+145 ;;^DD(115.02,.01,21,1,0)
+146 ;;=This field is merely the sequence order in which the diets
+147 ;;^DD(115.02,.01,21,2,0)
+148 ;;=were ordered and has no further meaning.
+149 ;;^DD(115.02,.01,"DT")
+150 ;;=2880515
+151 ;;^DD(115.02,1,0)
+152 ;;=DIET1^P111'I^FH(111,^0;2^Q
+153 ;;^DD(115.02,1,21,0)
+154 ;;=^^2^2^2940526^^
+155 ;;^DD(115.02,1,21,1,0)
+156 ;;=This is the first diet modification selected from the Diets (111)
+157 ;;^DD(115.02,1,21,2,0)
+158 ;;=file.