- PSJAI001 ; ; 20-MAR-1996
- ;;4.5;Inpatient Medications;**27**;OCT 07, 1994
- Q:'DIFQ(59.5) 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(59.5,0,"GL")
- ;;=^PS(59.5,
- ;;^DIC("B","IV ROOM",59.5)
- ;;=
- ;;^DIC(59.5,"%D",0)
- ;;=^^2^2^2940714^^^^
- ;;^DIC(59.5,"%D",1,0)
- ;;=This file is the location of the IV ROOM site parameters.
- ;;^DIC(59.5,"%D",2,0)
- ;;=
- ;;^DD(59.5,0)
- ;;=FIELD^^.02^32
- ;;^DD(59.5,0,"DDA")
- ;;=N
- ;;^DD(59.5,0,"DT")
- ;;=2960319
- ;;^DD(59.5,0,"IX","B",59.5,.01)
- ;;=
- ;;^DD(59.5,0,"NM","IV ROOM")
- ;;=
- ;;^DD(59.5,0,"PT",50.8,.01)
- ;;=
- ;;^DD(59.5,0,"PT",53.1,62)
- ;;=
- ;;^DD(59.5,0,"PT",55.01,.22)
- ;;=
- ;;^DD(59.5,.01,0)
- ;;=NAME^RF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1)!'(X'?1P.E)!(X'?.ANP) X
- ;;^DD(59.5,.01,1,0)
- ;;=^.1
- ;;^DD(59.5,.01,1,1,0)
- ;;=59.5^B
- ;;^DD(59.5,.01,1,1,1)
- ;;=S ^PS(59.5,"B",$E(X,1,30),DA)=""
- ;;^DD(59.5,.01,1,1,2)
- ;;=K ^PS(59.5,"B",$E(X,1,30),DA)
- ;;^DD(59.5,.01,3)
- ;;=Answer must be 1-30 characters in length, identifying an IV distribution area. Each satellite (area) must be named separately.
- ;;^DD(59.5,.01,20,0)
- ;;=^.3LA^1^1
- ;;^DD(59.5,.01,20,1,0)
- ;;=PSJI
- ;;^DD(59.5,.01,21,0)
- ;;=^^2^2^2920518^^^^
- ;;^DD(59.5,.01,21,1,0)
- ;;=Each IV order belongs to the IV room that input the order. An IV room
- ;;^DD(59.5,.01,21,2,0)
- ;;=may process ONLY those orders that belong to that IV room.
- ;;^DD(59.5,.01,"DEL",1,0)
- ;;=I 1 W *7,!,"IV ROOMS CANNOT BE DELETED!!"
- ;;^DD(59.5,.01,"DT")
- ;;=2860730
- ;;^DD(59.5,.02,0)
- ;;=DIVISION^P40.8'^DG(40.8,^0;4^Q
- ;;^DD(59.5,.02,.1)
- ;;=
- ;;^DD(59.5,.02,3)
- ;;=Enter the Medical Center Division where this IV Room is located.
- ;;^DD(59.5,.02,21,0)
- ;;=^^2^2^2960319^^^
- ;;^DD(59.5,.02,21,1,0)
- ;;=This field contains the pointer to the MEDICAL CENTER DIVISION file (#40.8).
- ;;^DD(59.5,.02,21,2,0)
- ;;=The division should be the one where the IV Room is located.
- ;;^DD(59.5,.02,23,0)
- ;;=^^2^2^2960319^^
- ;;^DD(59.5,.02,23,1,0)
- ;;=This field is populated by an option on the DSS menu. It is solely for use
- ;;^DD(59.5,.02,23,2,0)
- ;;=by the DSS software and has no impact on Pharmacy at this time.
- ;;^DD(59.5,.02,"DT")
- ;;=2960319
- ;;^DD(59.5,.101,0)
- ;;=LENGTH OF LABEL^RNJ2,0^^1;1^K:+X'=X!(X>66)!(X<12)!(X?.E1"."1N.N) X
- ;;^DD(59.5,.101,3)
- ;;=Type a whole number between 12 and 66.
- ;;^DD(59.5,.101,20,0)
- ;;=^.3LA^1^1
- ;;^DD(59.5,.101,20,1,0)
- ;;=PSJI
- ;;^DD(59.5,.101,21,0)
- ;;=^^9^9^2860403^^^^
- ;;^DD(59.5,.101,21,1,0)
- ;;=The labels that you use may vary in height from 12 to 66 lines.
- ;;^DD(59.5,.101,21,2,0)
- ;;=Measure the height of your label and multiply that height by the
- ;;^DD(59.5,.101,21,3,0)
- ;;=number of lines per inch that your printer is configured for.
- ;;^DD(59.5,.101,21,4,0)
- ;;=NOTE: If all lines of print cannot fit within the length that
- ;;^DD(59.5,.101,21,5,0)
- ;;= is defined here, they will continue to the next label.
- ;;^DD(59.5,.101,21,6,0)
- ;;=EXAMPLE:
- ;;^DD(59.5,.101,21,7,0)
- ;;= The average piggyback label is 3 inches high. If you print
- ;;^DD(59.5,.101,21,8,0)
- ;;= 6 lines per inch, you should enter an '18' as the answer to
- ;;^DD(59.5,.101,21,9,0)
- ;;= this parameter.
- ;;^DD(59.5,.101,"DT")
- ;;=2860302
- ;;^DD(59.5,.102,0)
- ;;=USE SUSPENSE FUNCTIONS^S^0:NO;1:YES;^1;2^Q
- ;;^DD(59.5,.102,20,0)
- ;;=^.3LA^1^1
- ;;^DD(59.5,.102,20,1,0)
- ;;=PSJI
- ;;^DD(59.5,.102,21,0)
- ;;=^^3^3^2860403^^^^
- ;;^DD(59.5,.102,21,1,0)
- ;;=If you want the 'SUSPEND LABELS' as a valid choice at the 'ACTION:'
- ;;^DD(59.5,.102,21,2,0)
- ;;=prompt after order entry, answer '1'. If you do not want any labels
- ;;^DD(59.5,.102,21,3,0)
- ;;=suspended after order entry, but rather have them printed, answer '0'.
- ;;^DD(59.5,.102,"DT")
- ;;=2860212
- ;;^DD(59.5,.103,0)
- ;;=DOSE DUE LINE^S^0:NO DOSE DUE LINE;1:IVPB'S ONLY;2:LVP'S ONLY;3:BOTH IVPB'S AND LVP'S;^1;3^Q
- ;;^DD(59.5,.103,3)
- ;;=
- ;;^DD(59.5,.103,20,0)
- ;;=^.3LA^1^1
- ;;^DD(59.5,.103,20,1,0)
- ;;=PSJI
- ;;^DD(59.5,.103,21,0)
- ;;=^^5^5^2860221^^^^
- ;;^DD(59.5,.103,21,1,0)
- ;;=This parameter affects the printing of the dose due line on the IV LABEL.
- ;;^DD(59.5,.103,21,2,0)
- ;;=If a '0' is entered, the time the dose is due will not be printed on the
- ;;^DD(59.5,.103,21,3,0)
- ;;=IV LABEL at all. The dose due line will be printed on: IVPB's only if
- ;;^DD(59.5,.103,21,4,0)
- ;;=you select '1', LVP's if you select '2', and both IVPB's and LVP's if you
- ;;^DD(59.5,.103,21,5,0)
- ;;=choose '3'. NOTE: LVP's include HYPERAL type orders.
- ;;^DD(59.5,.103,"DT")
- ;;=2860212
- ;;^DD(59.5,.104,0)
- ;;=LVP'S GOOD FOR HOW MANY DAYS^NJ5,2^^1;4^K:+X'=X!(X>31)!(X<1)!(X?.E1"."3N.N) X
- ;;^DD(59.5,.104,3)
- ;;=Type a Number between 1 and 31, 2 Decimal Digits
- ;;^DD(59.5,.104,20,0)
- ;;=^.3LA^1^1
- ;;^DD(59.5,.104,20,1,0)
- ;;=PSJI
- PSJAI001 ; ; 20-MAR-1996
- +1 ;;4.5;Inpatient Medications;**27**;OCT 07, 1994
- +2 IF 'DIFQ(59.5)
- 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(59.5,0,"GL")
- +2 ;;=^PS(59.5,
- +3 ;;^DIC("B","IV ROOM",59.5)
- +4 ;;=
- +5 ;;^DIC(59.5,"%D",0)
- +6 ;;=^^2^2^2940714^^^^
- +7 ;;^DIC(59.5,"%D",1,0)
- +8 ;;=This file is the location of the IV ROOM site parameters.
- +9 ;;^DIC(59.5,"%D",2,0)
- +10 ;;=
- +11 ;;^DD(59.5,0)
- +12 ;;=FIELD^^.02^32
- +13 ;;^DD(59.5,0,"DDA")
- +14 ;;=N
- +15 ;;^DD(59.5,0,"DT")
- +16 ;;=2960319
- +17 ;;^DD(59.5,0,"IX","B",59.5,.01)
- +18 ;;=
- +19 ;;^DD(59.5,0,"NM","IV ROOM")
- +20 ;;=
- +21 ;;^DD(59.5,0,"PT",50.8,.01)
- +22 ;;=
- +23 ;;^DD(59.5,0,"PT",53.1,62)
- +24 ;;=
- +25 ;;^DD(59.5,0,"PT",55.01,.22)
- +26 ;;=
- +27 ;;^DD(59.5,.01,0)
- +28 ;;=NAME^RF^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1)!'(X'?1P.E)!(X'?.ANP) X
- +29 ;;^DD(59.5,.01,1,0)
- +30 ;;=^.1
- +31 ;;^DD(59.5,.01,1,1,0)
- +32 ;;=59.5^B
- +33 ;;^DD(59.5,.01,1,1,1)
- +34 ;;=S ^PS(59.5,"B",$E(X,1,30),DA)=""
- +35 ;;^DD(59.5,.01,1,1,2)
- +36 ;;=K ^PS(59.5,"B",$E(X,1,30),DA)
- +37 ;;^DD(59.5,.01,3)
- +38 ;;=Answer must be 1-30 characters in length, identifying an IV distribution area. Each satellite (area) must be named separately.
- +39 ;;^DD(59.5,.01,20,0)
- +40 ;;=^.3LA^1^1
- +41 ;;^DD(59.5,.01,20,1,0)
- +42 ;;=PSJI
- +43 ;;^DD(59.5,.01,21,0)
- +44 ;;=^^2^2^2920518^^^^
- +45 ;;^DD(59.5,.01,21,1,0)
- +46 ;;=Each IV order belongs to the IV room that input the order. An IV room
- +47 ;;^DD(59.5,.01,21,2,0)
- +48 ;;=may process ONLY those orders that belong to that IV room.
- +49 ;;^DD(59.5,.01,"DEL",1,0)
- +50 ;;=I 1 W *7,!,"IV ROOMS CANNOT BE DELETED!!"
- +51 ;;^DD(59.5,.01,"DT")
- +52 ;;=2860730
- +53 ;;^DD(59.5,.02,0)
- +54 ;;=DIVISION^P40.8'^DG(40.8,^0;4^Q
- +55 ;;^DD(59.5,.02,.1)
- +56 ;;=
- +57 ;;^DD(59.5,.02,3)
- +58 ;;=Enter the Medical Center Division where this IV Room is located.
- +59 ;;^DD(59.5,.02,21,0)
- +60 ;;=^^2^2^2960319^^^
- +61 ;;^DD(59.5,.02,21,1,0)
- +62 ;;=This field contains the pointer to the MEDICAL CENTER DIVISION file (#40.8).
- +63 ;;^DD(59.5,.02,21,2,0)
- +64 ;;=The division should be the one where the IV Room is located.
- +65 ;;^DD(59.5,.02,23,0)
- +66 ;;=^^2^2^2960319^^
- +67 ;;^DD(59.5,.02,23,1,0)
- +68 ;;=This field is populated by an option on the DSS menu. It is solely for use
- +69 ;;^DD(59.5,.02,23,2,0)
- +70 ;;=by the DSS software and has no impact on Pharmacy at this time.
- +71 ;;^DD(59.5,.02,"DT")
- +72 ;;=2960319
- +73 ;;^DD(59.5,.101,0)
- +74 ;;=LENGTH OF LABEL^RNJ2,0^^1;1^K:+X'=X!(X>66)!(X<12)!(X?.E1"."1N.N) X
- +75 ;;^DD(59.5,.101,3)
- +76 ;;=Type a whole number between 12 and 66.
- +77 ;;^DD(59.5,.101,20,0)
- +78 ;;=^.3LA^1^1
- +79 ;;^DD(59.5,.101,20,1,0)
- +80 ;;=PSJI
- +81 ;;^DD(59.5,.101,21,0)
- +82 ;;=^^9^9^2860403^^^^
- +83 ;;^DD(59.5,.101,21,1,0)
- +84 ;;=The labels that you use may vary in height from 12 to 66 lines.
- +85 ;;^DD(59.5,.101,21,2,0)
- +86 ;;=Measure the height of your label and multiply that height by the
- +87 ;;^DD(59.5,.101,21,3,0)
- +88 ;;=number of lines per inch that your printer is configured for.
- +89 ;;^DD(59.5,.101,21,4,0)
- +90 ;;=NOTE: If all lines of print cannot fit within the length that
- +91 ;;^DD(59.5,.101,21,5,0)
- +92 ;;= is defined here, they will continue to the next label.
- +93 ;;^DD(59.5,.101,21,6,0)
- +94 ;;=EXAMPLE:
- +95 ;;^DD(59.5,.101,21,7,0)
- +96 ;;= The average piggyback label is 3 inches high. If you print
- +97 ;;^DD(59.5,.101,21,8,0)
- +98 ;;= 6 lines per inch, you should enter an '18' as the answer to
- +99 ;;^DD(59.5,.101,21,9,0)
- +100 ;;= this parameter.
- +101 ;;^DD(59.5,.101,"DT")
- +102 ;;=2860302
- +103 ;;^DD(59.5,.102,0)
- +104 ;;=USE SUSPENSE FUNCTIONS^S^0:NO;1:YES;^1;2^Q
- +105 ;;^DD(59.5,.102,20,0)
- +106 ;;=^.3LA^1^1
- +107 ;;^DD(59.5,.102,20,1,0)
- +108 ;;=PSJI
- +109 ;;^DD(59.5,.102,21,0)
- +110 ;;=^^3^3^2860403^^^^
- +111 ;;^DD(59.5,.102,21,1,0)
- +112 ;;=If you want the 'SUSPEND LABELS' as a valid choice at the 'ACTION:'
- +113 ;;^DD(59.5,.102,21,2,0)
- +114 ;;=prompt after order entry, answer '1'. If you do not want any labels
- +115 ;;^DD(59.5,.102,21,3,0)
- +116 ;;=suspended after order entry, but rather have them printed, answer '0'.
- +117 ;;^DD(59.5,.102,"DT")
- +118 ;;=2860212
- +119 ;;^DD(59.5,.103,0)
- +120 ;;=DOSE DUE LINE^S^0:NO DOSE DUE LINE;1:IVPB'S ONLY;2:LVP'S ONLY;3:BOTH IVPB'S AND LVP'S;^1;3^Q
- +121 ;;^DD(59.5,.103,3)
- +122 ;;=
- +123 ;;^DD(59.5,.103,20,0)
- +124 ;;=^.3LA^1^1
- +125 ;;^DD(59.5,.103,20,1,0)
- +126 ;;=PSJI
- +127 ;;^DD(59.5,.103,21,0)
- +128 ;;=^^5^5^2860221^^^^
- +129 ;;^DD(59.5,.103,21,1,0)
- +130 ;;=This parameter affects the printing of the dose due line on the IV LABEL.
- +131 ;;^DD(59.5,.103,21,2,0)
- +132 ;;=If a '0' is entered, the time the dose is due will not be printed on the
- +133 ;;^DD(59.5,.103,21,3,0)
- +134 ;;=IV LABEL at all. The dose due line will be printed on: IVPB's only if
- +135 ;;^DD(59.5,.103,21,4,0)
- +136 ;;=you select '1', LVP's if you select '2', and both IVPB's and LVP's if you
- +137 ;;^DD(59.5,.103,21,5,0)
- +138 ;;=choose '3'. NOTE: LVP's include HYPERAL type orders.
- +139 ;;^DD(59.5,.103,"DT")
- +140 ;;=2860212
- +141 ;;^DD(59.5,.104,0)
- +142 ;;=LVP'S GOOD FOR HOW MANY DAYS^NJ5,2^^1;4^K:+X'=X!(X>31)!(X<1)!(X?.E1"."3N.N) X
- +143 ;;^DD(59.5,.104,3)
- +144 ;;=Type a Number between 1 and 31, 2 Decimal Digits
- +145 ;;^DD(59.5,.104,20,0)
- +146 ;;=^.3LA^1^1
- +147 ;;^DD(59.5,.104,20,1,0)
- +148 ;;=PSJI