FHINI0MH ; ; 11-OCT-1995
;;5.0;Dietetics;;Oct 11, 1995
Q:'DIFQ(119.4) 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.4,0,"GL")
;;=^FH(119.4,
;;^DIC("B","ISOLATION/PRECAUTION TYPE",119.4)
;;=
;;^DIC(119.4,"%D",0)
;;=^^5^5^2871124^
;;^DIC(119.4,"%D",1,0)
;;=This file contains the list of isolation/precaution types, as
;;^DIC(119.4,"%D",2,0)
;;=commonly identified by medical personnel, and indicates the
;;^DIC(119.4,"%D",3,0)
;;=characteristics of those types important to the Dietetic
;;^DIC(119.4,"%D",4,0)
;;=Service such as type of china and appropriate tray delivery
;;^DIC(119.4,"%D",5,0)
;;=person.
;;^DD(119.4,0)
;;=FIELD^^99^4
;;^DD(119.4,0,"ID",99)
;;=W:$D(^("I")) " (** INACTIVE **)"
;;^DD(119.4,0,"IX","AC",119.4,99)
;;=
;;^DD(119.4,0,"IX","B",119.4,.01)
;;=
;;^DD(119.4,0,"NM","ISOLATION/PRECAUTION TYPE")
;;=
;;^DD(119.4,0,"PT",115.01,9)
;;=
;;^DD(119.4,0,"SCR")
;;=I '$D(^FH(119.4,+Y,"I"))!$D(^XUSEC("FHMGR",DUZ))!(DUZ(0)["@")
;;^DD(119.4,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
;;^DD(119.4,.01,1,0)
;;=^.1
;;^DD(119.4,.01,1,1,0)
;;=119.4^B
;;^DD(119.4,.01,1,1,1)
;;=S ^FH(119.4,"B",$E(X,1,30),DA)=""
;;^DD(119.4,.01,1,1,2)
;;=K ^FH(119.4,"B",$E(X,1,30),DA)
;;^DD(119.4,.01,1,1,"%D",0)
;;=^^1^1^2911118^
;;^DD(119.4,.01,1,1,"%D",1,0)
;;=This is the normal B cross-reference of the NAME field.
;;^DD(119.4,.01,3)
;;=ANSWER MUST BE 3-30 CHARACTERS IN LENGTH
;;^DD(119.4,.01,21,0)
;;=^^2^2^2880709^
;;^DD(119.4,.01,21,1,0)
;;=This field contains the name of isolation/precaution type
;;^DD(119.4,.01,21,2,0)
;;=as it would normally be known to ward/medical personnel.
;;^DD(119.4,.01,"DEL",1,0)
;;=I DUZ(0)'["@",'$D(^XUSEC("FHMGR",DUZ))
;;^DD(119.4,1,0)
;;=PAPER OR CHINA^RS^P:PAPER;C:CHINA;^0;2^Q
;;^DD(119.4,1,21,0)
;;=^^2^2^2880709^
;;^DD(119.4,1,21,1,0)
;;=This field indicates whether food is served on paper products
;;^DD(119.4,1,21,2,0)
;;=or china for this isolation type.
;;^DD(119.4,2,0)
;;=DELIVERED BY NURSE OR FSW^RS^N:NURSE;F:FSW;^0;3^Q
;;^DD(119.4,2,21,0)
;;=^^2^2^2880709^
;;^DD(119.4,2,21,1,0)
;;=This field indicates whether food tray delivery is done by
;;^DD(119.4,2,21,2,0)
;;=food service workers (FSW) or by ward personnel (NURSE).
;;^DD(119.4,2,"DT")
;;=2871110
;;^DD(119.4,99,0)
;;=INACTIVE?^S^Y:YES;N:NO;^I;1^Q
;;^DD(119.4,99,1,0)
;;=^.1
;;^DD(119.4,99,1,1,0)
;;=119.4^AC^MUMPS
;;^DD(119.4,99,1,1,1)
;;=K:X'="Y" ^FH(119.4,DA,"I")
;;^DD(119.4,99,1,1,2)
;;=K ^FH(119.4,DA,"I")
;;^DD(119.4,99,1,1,"%D",0)
;;=^^2^2^2940818^
;;^DD(119.4,99,1,1,"%D",1,0)
;;=This cross-reference is used to create an 'I' node for
;;^DD(119.4,99,1,1,"%D",2,0)
;;=inactive entries.
;;^DD(119.4,99,21,0)
;;=^^2^2^2880709^
;;^DD(119.4,99,21,1,0)
;;=This field, if answered YES, will inactivate an isolation
;;^DD(119.4,99,21,2,0)
;;=type and prohibit further selection by ward personnel.
;;^DD(119.4,99,"DT")
;;=2860813
FHINI0MH ; ; 11-OCT-1995
+1 ;;5.0;Dietetics;;Oct 11, 1995
+2 IF 'DIFQ(119.4)
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.4,0,"GL")
+2 ;;=^FH(119.4,
+3 ;;^DIC("B","ISOLATION/PRECAUTION TYPE",119.4)
+4 ;;=
+5 ;;^DIC(119.4,"%D",0)
+6 ;;=^^5^5^2871124^
+7 ;;^DIC(119.4,"%D",1,0)
+8 ;;=This file contains the list of isolation/precaution types, as
+9 ;;^DIC(119.4,"%D",2,0)
+10 ;;=commonly identified by medical personnel, and indicates the
+11 ;;^DIC(119.4,"%D",3,0)
+12 ;;=characteristics of those types important to the Dietetic
+13 ;;^DIC(119.4,"%D",4,0)
+14 ;;=Service such as type of china and appropriate tray delivery
+15 ;;^DIC(119.4,"%D",5,0)
+16 ;;=person.
+17 ;;^DD(119.4,0)
+18 ;;=FIELD^^99^4
+19 ;;^DD(119.4,0,"ID",99)
+20 ;;=W:$D(^("I")) " (** INACTIVE **)"
+21 ;;^DD(119.4,0,"IX","AC",119.4,99)
+22 ;;=
+23 ;;^DD(119.4,0,"IX","B",119.4,.01)
+24 ;;=
+25 ;;^DD(119.4,0,"NM","ISOLATION/PRECAUTION TYPE")
+26 ;;=
+27 ;;^DD(119.4,0,"PT",115.01,9)
+28 ;;=
+29 ;;^DD(119.4,0,"SCR")
+30 ;;=I '$D(^FH(119.4,+Y,"I"))!$D(^XUSEC("FHMGR",DUZ))!(DUZ(0)["@")
+31 ;;^DD(119.4,.01,0)
+32 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E)!(X'?.ANP) X
+33 ;;^DD(119.4,.01,1,0)
+34 ;;=^.1
+35 ;;^DD(119.4,.01,1,1,0)
+36 ;;=119.4^B
+37 ;;^DD(119.4,.01,1,1,1)
+38 ;;=S ^FH(119.4,"B",$E(X,1,30),DA)=""
+39 ;;^DD(119.4,.01,1,1,2)
+40 ;;=K ^FH(119.4,"B",$E(X,1,30),DA)
+41 ;;^DD(119.4,.01,1,1,"%D",0)
+42 ;;=^^1^1^2911118^
+43 ;;^DD(119.4,.01,1,1,"%D",1,0)
+44 ;;=This is the normal B cross-reference of the NAME field.
+45 ;;^DD(119.4,.01,3)
+46 ;;=ANSWER MUST BE 3-30 CHARACTERS IN LENGTH
+47 ;;^DD(119.4,.01,21,0)
+48 ;;=^^2^2^2880709^
+49 ;;^DD(119.4,.01,21,1,0)
+50 ;;=This field contains the name of isolation/precaution type
+51 ;;^DD(119.4,.01,21,2,0)
+52 ;;=as it would normally be known to ward/medical personnel.
+53 ;;^DD(119.4,.01,"DEL",1,0)
+54 ;;=I DUZ(0)'["@",'$D(^XUSEC("FHMGR",DUZ))
+55 ;;^DD(119.4,1,0)
+56 ;;=PAPER OR CHINA^RS^P:PAPER;C:CHINA;^0;2^Q
+57 ;;^DD(119.4,1,21,0)
+58 ;;=^^2^2^2880709^
+59 ;;^DD(119.4,1,21,1,0)
+60 ;;=This field indicates whether food is served on paper products
+61 ;;^DD(119.4,1,21,2,0)
+62 ;;=or china for this isolation type.
+63 ;;^DD(119.4,2,0)
+64 ;;=DELIVERED BY NURSE OR FSW^RS^N:NURSE;F:FSW;^0;3^Q
+65 ;;^DD(119.4,2,21,0)
+66 ;;=^^2^2^2880709^
+67 ;;^DD(119.4,2,21,1,0)
+68 ;;=This field indicates whether food tray delivery is done by
+69 ;;^DD(119.4,2,21,2,0)
+70 ;;=food service workers (FSW) or by ward personnel (NURSE).
+71 ;;^DD(119.4,2,"DT")
+72 ;;=2871110
+73 ;;^DD(119.4,99,0)
+74 ;;=INACTIVE?^S^Y:YES;N:NO;^I;1^Q
+75 ;;^DD(119.4,99,1,0)
+76 ;;=^.1
+77 ;;^DD(119.4,99,1,1,0)
+78 ;;=119.4^AC^MUMPS
+79 ;;^DD(119.4,99,1,1,1)
+80 ;;=K:X'="Y" ^FH(119.4,DA,"I")
+81 ;;^DD(119.4,99,1,1,2)
+82 ;;=K ^FH(119.4,DA,"I")
+83 ;;^DD(119.4,99,1,1,"%D",0)
+84 ;;=^^2^2^2940818^
+85 ;;^DD(119.4,99,1,1,"%D",1,0)
+86 ;;=This cross-reference is used to create an 'I' node for
+87 ;;^DD(119.4,99,1,1,"%D",2,0)
+88 ;;=inactive entries.
+89 ;;^DD(119.4,99,21,0)
+90 ;;=^^2^2^2880709^
+91 ;;^DD(119.4,99,21,1,0)
+92 ;;=This field, if answered YES, will inactivate an isolation
+93 ;;^DD(119.4,99,21,2,0)
+94 ;;=type and prohibit further selection by ward personnel.
+95 ;;^DD(119.4,99,"DT")
+96 ;;=2860813