- FHINI00A ; ; 11-OCT-1995
- ;;5.0;Dietetics;;Oct 11, 1995
- Q:'DIFQ(112) 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(112,20,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,21,0)
- ;;=PHOSPHORUS; MG/100G^NJ9,3^^1;11^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,21,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,21,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,21,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,22,0)
- ;;=POTASSIUM; MG/100G^NJ9,3^^1;12^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,22,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,22,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,22,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,23,0)
- ;;=SODIUM; MG/100G^NJ9,3^^1;13^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,23,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,23,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,23,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,24,0)
- ;;=ZINC; MG/100G^NJ9,3^^1;14^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,24,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,24,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,24,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,25,0)
- ;;=COPPER; MG/100G^NJ9,3^^1;15^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,25,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,25,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,25,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,26,0)
- ;;=MANGANESE; MG/100G^NJ9,3^^1;16^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,26,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,26,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,26,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,27,0)
- ;;=ALPHA TOCOPHEROL; MG/100G^NJ9,3^^1;17^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,27,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,27,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,27,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,28,0)
- ;;=VITAMIN A; IU/100G^NJ9,3^^1;18^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,28,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,28,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,28,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,29,0)
- ;;=ASCORBIC ACID; MG/100G^NJ9,3^^1;19^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,29,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,29,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,29,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,30,0)
- ;;=THIAMIN; MG/100G^NJ9,3^^1;20^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,30,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,30,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,30,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,31,0)
- ;;=RIBOFLAVIN; MG/100G^NJ9,3^^2;1^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,31,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,31,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,31,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,32,0)
- ;;=NIACIN; MG/100G^NJ9,3^^2;2^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,32,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,32,21,0)
- ;;=^^1^1^2930510^^
- ;;^DD(112,32,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,33,0)
- ;;=PANTOTHENIC ACID; MG/100G^NJ9,3^^2;3^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,33,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,33,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,33,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,34,0)
- ;;=VITAMIN B6; MG/100G^NJ9,3^^2;4^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,34,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,34,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,34,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,35,0)
- ;;=FOLATE; MCG/100G^NJ9,3^^2;5^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,35,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,35,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,35,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- ;;^DD(112,36,0)
- ;;=VITAMIN B12; MCG/100G^NJ9,3^^2;6^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- ;;^DD(112,36,3)
- ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- ;;^DD(112,36,21,0)
- ;;=^^1^1^2880710^
- ;;^DD(112,36,21,1,0)
- ;;=This is the value per 100 grams for this nutrient.
- FHINI00A ; ; 11-OCT-1995
- +1 ;;5.0;Dietetics;;Oct 11, 1995
- +2 IF 'DIFQ(112)
- 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(112,20,21,1,0)
- +2 ;;=This is the value per 100 grams for this nutrient.
- +3 ;;^DD(112,21,0)
- +4 ;;=PHOSPHORUS; MG/100G^NJ9,3^^1;11^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +5 ;;^DD(112,21,3)
- +6 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +7 ;;^DD(112,21,21,0)
- +8 ;;=^^1^1^2880710^
- +9 ;;^DD(112,21,21,1,0)
- +10 ;;=This is the value per 100 grams for this nutrient.
- +11 ;;^DD(112,22,0)
- +12 ;;=POTASSIUM; MG/100G^NJ9,3^^1;12^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +13 ;;^DD(112,22,3)
- +14 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +15 ;;^DD(112,22,21,0)
- +16 ;;=^^1^1^2880710^
- +17 ;;^DD(112,22,21,1,0)
- +18 ;;=This is the value per 100 grams for this nutrient.
- +19 ;;^DD(112,23,0)
- +20 ;;=SODIUM; MG/100G^NJ9,3^^1;13^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +21 ;;^DD(112,23,3)
- +22 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +23 ;;^DD(112,23,21,0)
- +24 ;;=^^1^1^2880710^
- +25 ;;^DD(112,23,21,1,0)
- +26 ;;=This is the value per 100 grams for this nutrient.
- +27 ;;^DD(112,24,0)
- +28 ;;=ZINC; MG/100G^NJ9,3^^1;14^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +29 ;;^DD(112,24,3)
- +30 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +31 ;;^DD(112,24,21,0)
- +32 ;;=^^1^1^2880710^
- +33 ;;^DD(112,24,21,1,0)
- +34 ;;=This is the value per 100 grams for this nutrient.
- +35 ;;^DD(112,25,0)
- +36 ;;=COPPER; MG/100G^NJ9,3^^1;15^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +37 ;;^DD(112,25,3)
- +38 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +39 ;;^DD(112,25,21,0)
- +40 ;;=^^1^1^2880710^
- +41 ;;^DD(112,25,21,1,0)
- +42 ;;=This is the value per 100 grams for this nutrient.
- +43 ;;^DD(112,26,0)
- +44 ;;=MANGANESE; MG/100G^NJ9,3^^1;16^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +45 ;;^DD(112,26,3)
- +46 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +47 ;;^DD(112,26,21,0)
- +48 ;;=^^1^1^2880710^
- +49 ;;^DD(112,26,21,1,0)
- +50 ;;=This is the value per 100 grams for this nutrient.
- +51 ;;^DD(112,27,0)
- +52 ;;=ALPHA TOCOPHEROL; MG/100G^NJ9,3^^1;17^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +53 ;;^DD(112,27,3)
- +54 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +55 ;;^DD(112,27,21,0)
- +56 ;;=^^1^1^2880710^
- +57 ;;^DD(112,27,21,1,0)
- +58 ;;=This is the value per 100 grams for this nutrient.
- +59 ;;^DD(112,28,0)
- +60 ;;=VITAMIN A; IU/100G^NJ9,3^^1;18^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +61 ;;^DD(112,28,3)
- +62 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +63 ;;^DD(112,28,21,0)
- +64 ;;=^^1^1^2880710^
- +65 ;;^DD(112,28,21,1,0)
- +66 ;;=This is the value per 100 grams for this nutrient.
- +67 ;;^DD(112,29,0)
- +68 ;;=ASCORBIC ACID; MG/100G^NJ9,3^^1;19^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +69 ;;^DD(112,29,3)
- +70 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +71 ;;^DD(112,29,21,0)
- +72 ;;=^^1^1^2880710^
- +73 ;;^DD(112,29,21,1,0)
- +74 ;;=This is the value per 100 grams for this nutrient.
- +75 ;;^DD(112,30,0)
- +76 ;;=THIAMIN; MG/100G^NJ9,3^^1;20^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +77 ;;^DD(112,30,3)
- +78 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +79 ;;^DD(112,30,21,0)
- +80 ;;=^^1^1^2880710^
- +81 ;;^DD(112,30,21,1,0)
- +82 ;;=This is the value per 100 grams for this nutrient.
- +83 ;;^DD(112,31,0)
- +84 ;;=RIBOFLAVIN; MG/100G^NJ9,3^^2;1^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +85 ;;^DD(112,31,3)
- +86 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +87 ;;^DD(112,31,21,0)
- +88 ;;=^^1^1^2880710^
- +89 ;;^DD(112,31,21,1,0)
- +90 ;;=This is the value per 100 grams for this nutrient.
- +91 ;;^DD(112,32,0)
- +92 ;;=NIACIN; MG/100G^NJ9,3^^2;2^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +93 ;;^DD(112,32,3)
- +94 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +95 ;;^DD(112,32,21,0)
- +96 ;;=^^1^1^2930510^^
- +97 ;;^DD(112,32,21,1,0)
- +98 ;;=This is the value per 100 grams for this nutrient.
- +99 ;;^DD(112,33,0)
- +100 ;;=PANTOTHENIC ACID; MG/100G^NJ9,3^^2;3^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +101 ;;^DD(112,33,3)
- +102 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +103 ;;^DD(112,33,21,0)
- +104 ;;=^^1^1^2880710^
- +105 ;;^DD(112,33,21,1,0)
- +106 ;;=This is the value per 100 grams for this nutrient.
- +107 ;;^DD(112,34,0)
- +108 ;;=VITAMIN B6; MG/100G^NJ9,3^^2;4^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +109 ;;^DD(112,34,3)
- +110 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +111 ;;^DD(112,34,21,0)
- +112 ;;=^^1^1^2880710^
- +113 ;;^DD(112,34,21,1,0)
- +114 ;;=This is the value per 100 grams for this nutrient.
- +115 ;;^DD(112,35,0)
- +116 ;;=FOLATE; MCG/100G^NJ9,3^^2;5^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +117 ;;^DD(112,35,3)
- +118 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +119 ;;^DD(112,35,21,0)
- +120 ;;=^^1^1^2880710^
- +121 ;;^DD(112,35,21,1,0)
- +122 ;;=This is the value per 100 grams for this nutrient.
- +123 ;;^DD(112,36,0)
- +124 ;;=VITAMIN B12; MCG/100G^NJ9,3^^2;6^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."4N.N) X
- +125 ;;^DD(112,36,3)
- +126 ;;=Type a Number between 0 and 99999, 3 Decimal Digits
- +127 ;;^DD(112,36,21,0)
- +128 ;;=^^1^1^2880710^
- +129 ;;^DD(112,36,21,1,0)
- +130 ;;=This is the value per 100 grams for this nutrient.