Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: FHINI005

FHINI005.m

Go to the documentation of this file.
FHINI005	; ; 11-OCT-1995
	;;5.0;Dietetics;;Oct 11, 1995
	Q:'DIFQ(111.1)  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(111.1,18,21,2,0)
	;;=that will be added to the patient's supplemental feeding entry when
	;;^DD(111.1,18,21,3,0)
	;;=this diet or diet modification is ordered for the patient.
	;;^DD(111.1,18,"DT")
	;;=2940727
	;;^DD(111.1,19,0)
	;;=DIET RESTRICTION^111.119P^^RES;0
	;;^DD(111.1,19,12)
	;;=This screen allows the user to only select the dislikes from the Food Preference file.
	;;^DD(111.1,19,12.1)
	;;=S DIC("S")="I $P(^(0),U,2)=""D"""
	;;^DD(111.1,19,21,0)
	;;=^^2^2^2950403^^^
	;;^DD(111.1,19,21,1,0)
	;;=This multiple contains all the Diet restrictions associated to the
	;;^DD(111.1,19,21,2,0)
	;;=Diet modification.
	;;^DD(111.11,0)
	;;=ASSOCIATED STANDING ORDERS (B) SUB-FIELD^^1^2
	;;^DD(111.11,0,"DT")
	;;=2940722
	;;^DD(111.11,0,"IX","B",111.11,.01)
	;;=
	;;^DD(111.11,0,"NM","ASSOCIATED STANDING ORDERS (B)")
	;;=
	;;^DD(111.11,0,"UP")
	;;=111.1
	;;^DD(111.11,.01,0)
	;;=ASSOCIATED STANDING ORDERS (B)^MP118.3'^FH(118.3,^0;1^Q
	;;^DD(111.11,.01,1,0)
	;;=^.1
	;;^DD(111.11,.01,1,1,0)
	;;=111.11^B
	;;^DD(111.11,.01,1,1,1)
	;;=S ^FH(111.1,DA(1),"BS","B",$E(X,1,30),DA)=""
	;;^DD(111.11,.01,1,1,2)
	;;=K ^FH(111.1,DA(1),"BS","B",$E(X,1,30),DA)
	;;^DD(111.11,.01,21,0)
	;;=^^3^3^2950717^^^^
	;;^DD(111.11,.01,21,1,0)
	;;=The Standing Orders on this multiple will all be added to the patient's
	;;^DD(111.11,.01,21,2,0)
	;;=Standing Order entries for the meal breakfast when this diet or diet
	;;^DD(111.11,.01,21,3,0)
	;;=modification is ordered for the patient.
	;;^DD(111.11,.01,"DT")
	;;=2940721
	;;^DD(111.11,1,0)
	;;=QUANTITY^NJ1,0^^0;2^K:+X'=X!(X>9)!(X<1)!(X?.E1"."1N.N) X
	;;^DD(111.11,1,3)
	;;=Type a Number between 1 and 9, 0 Decimal Digits
	;;^DD(111.11,1,21,0)
	;;=^^1^1^2940722^^
	;;^DD(111.11,1,21,1,0)
	;;=This is the quantity of the Standing Order.
	;;^DD(111.11,1,"DT")
	;;=2940722
	;;^DD(111.115,0)
	;;=BREAKFAST MODIFICATIONS SUB-FIELD^^1^2
	;;^DD(111.115,0,"DT")
	;;=2940706
	;;^DD(111.115,0,"IX","B",111.115,.01)
	;;=
	;;^DD(111.115,0,"NM","BREAKFAST MODIFICATIONS")
	;;=
	;;^DD(111.115,0,"UP")
	;;=111.1
	;;^DD(111.115,.01,0)
	;;=BREAKFAST MODIFICATIONS^MP114.1'^FH(114.1,^0;1^Q
	;;^DD(111.115,.01,1,0)
	;;=^.1
	;;^DD(111.115,.01,1,1,0)
	;;=111.115^B
	;;^DD(111.115,.01,1,1,1)
	;;=S ^FH(111.1,DA(1),"B","B",$E(X,1,30),DA)=""
	;;^DD(111.115,.01,1,1,2)
	;;=K ^FH(111.1,DA(1),"B","B",$E(X,1,30),DA)
	;;^DD(111.115,.01,3)
	;;=
	;;^DD(111.115,.01,21,0)
	;;=^^5^5^2950403^^^^
	;;^DD(111.115,.01,21,1,0)
	;;=This is the Recipe Category selected from file (114.1) for the
	;;^DD(111.115,.01,21,2,0)
	;;=breakfast meal for the selected diet modifications.  It determines
	;;^DD(111.115,.01,21,3,0)
	;;=which recipes each patient under the diet modifications will
	;;^DD(111.115,.01,21,4,0)
	;;=receive on the Tray Ticket.  This Recipe Category is also used
	;;^DD(111.115,.01,21,5,0)
	;;=in producing the Diet Cards.
	;;^DD(111.115,.01,"DT")
	;;=2940103
	;;^DD(111.115,1,0)
	;;=QUANTITY^RNJ4,2^^0;2^K:+X'=X!(X>9.99)!(X<0)!(X?.E1"."3N.N) X
	;;^DD(111.115,1,3)
	;;=Type a Number between 0 and 9.99, 2 Decimal Digits
	;;^DD(111.115,1,21,0)
	;;=^^3^3^2940722^^^^
	;;^DD(111.115,1,21,1,0)
	;;=This is the selected quantity for the Recipe Category.  This quantity
	;;^DD(111.115,1,21,2,0)
	;;=determines the amount of the recipe on the Tray Ticket.  If a zero
	;;^DD(111.115,1,21,3,0)
	;;=is entered, the recipe is omitted.
	;;^DD(111.115,1,"DT")
	;;=2940706
	;;^DD(111.116,0)
	;;=NOON MODIFICATIONS SUB-FIELD^^1^2
	;;^DD(111.116,0,"DT")
	;;=2940706
	;;^DD(111.116,0,"IX","B",111.116,.01)
	;;=
	;;^DD(111.116,0,"NM","NOON MODIFICATIONS")
	;;=
	;;^DD(111.116,0,"UP")
	;;=111.1
	;;^DD(111.116,.01,0)
	;;=NOON MODIFICATIONS^MP114.1'^FH(114.1,^0;1^Q
	;;^DD(111.116,.01,1,0)
	;;=^.1
	;;^DD(111.116,.01,1,1,0)
	;;=111.116^B
	;;^DD(111.116,.01,1,1,1)
	;;=S ^FH(111.1,DA(1),"N","B",$E(X,1,30),DA)=""
	;;^DD(111.116,.01,1,1,2)
	;;=K ^FH(111.1,DA(1),"N","B",$E(X,1,30),DA)
	;;^DD(111.116,.01,21,0)
	;;=^^5^5^2940526^^^
	;;^DD(111.116,.01,21,1,0)
	;;=This is the Recipe Category selected from the file (114.1) for the
	;;^DD(111.116,.01,21,2,0)
	;;=noon meal for the selected diet modifications.  It determines
	;;^DD(111.116,.01,21,3,0)
	;;=which recipes each patient under the diet modifications will
	;;^DD(111.116,.01,21,4,0)
	;;=receive on the Tray Ticket.  This Recipe Category is also used
	;;^DD(111.116,.01,21,5,0)
	;;=in producing the Diet Cards.
	;;^DD(111.116,.01,"DT")
	;;=2940103
	;;^DD(111.116,1,0)
	;;=QUANTITY^RNJ4,2^^0;2^K:+X'=X!(X>9.99)!(X<0)!(X?.E1"."3N.N) X
	;;^DD(111.116,1,3)
	;;=Type a Number between 0 and 9.99, 2 Decimal Digits
	;;^DD(111.116,1,21,0)
	;;=^^3^3^2940526^^