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

PSJAI001.m

Go to the documentation of this file.
  1. PSJAI001 ; ; 20-MAR-1996
  1. ;;4.5;Inpatient Medications;**27**;OCT 07, 1994
  1. 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
  1. Q Q
  1. ;;^DIC(59.5,0,"GL")
  1. ;;=^PS(59.5,
  1. ;;^DIC("B","IV ROOM",59.5)
  1. ;;=
  1. ;;^DIC(59.5,"%D",0)
  1. ;;=^^2^2^2940714^^^^
  1. ;;^DIC(59.5,"%D",1,0)
  1. ;;=This file is the location of the IV ROOM site parameters.
  1. ;;^DIC(59.5,"%D",2,0)
  1. ;;=
  1. ;;^DD(59.5,0)
  1. ;;=FIELD^^.02^32
  1. ;;^DD(59.5,0,"DDA")
  1. ;;=N
  1. ;;^DD(59.5,0,"DT")
  1. ;;=2960319
  1. ;;^DD(59.5,0,"IX","B",59.5,.01)
  1. ;;=
  1. ;;^DD(59.5,0,"NM","IV ROOM")
  1. ;;=
  1. ;;^DD(59.5,0,"PT",50.8,.01)
  1. ;;=
  1. ;;^DD(59.5,0,"PT",53.1,62)
  1. ;;=
  1. ;;^DD(59.5,0,"PT",55.01,.22)
  1. ;;=
  1. ;;^DD(59.5,.01,0)
  1. ;;=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
  1. ;;^DD(59.5,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(59.5,.01,1,1,0)
  1. ;;=59.5^B
  1. ;;^DD(59.5,.01,1,1,1)
  1. ;;=S ^PS(59.5,"B",$E(X,1,30),DA)=""
  1. ;;^DD(59.5,.01,1,1,2)
  1. ;;=K ^PS(59.5,"B",$E(X,1,30),DA)
  1. ;;^DD(59.5,.01,3)
  1. ;;=Answer must be 1-30 characters in length, identifying an IV distribution area. Each satellite (area) must be named separately.
  1. ;;^DD(59.5,.01,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(59.5,.01,20,1,0)
  1. ;;=PSJI
  1. ;;^DD(59.5,.01,21,0)
  1. ;;=^^2^2^2920518^^^^
  1. ;;^DD(59.5,.01,21,1,0)
  1. ;;=Each IV order belongs to the IV room that input the order. An IV room
  1. ;;^DD(59.5,.01,21,2,0)
  1. ;;=may process ONLY those orders that belong to that IV room.
  1. ;;^DD(59.5,.01,"DEL",1,0)
  1. ;;=I 1 W *7,!,"IV ROOMS CANNOT BE DELETED!!"
  1. ;;^DD(59.5,.01,"DT")
  1. ;;=2860730
  1. ;;^DD(59.5,.02,0)
  1. ;;=DIVISION^P40.8'^DG(40.8,^0;4^Q
  1. ;;^DD(59.5,.02,.1)
  1. ;;=
  1. ;;^DD(59.5,.02,3)
  1. ;;=Enter the Medical Center Division where this IV Room is located.
  1. ;;^DD(59.5,.02,21,0)
  1. ;;=^^2^2^2960319^^^
  1. ;;^DD(59.5,.02,21,1,0)
  1. ;;=This field contains the pointer to the MEDICAL CENTER DIVISION file (#40.8).
  1. ;;^DD(59.5,.02,21,2,0)
  1. ;;=The division should be the one where the IV Room is located.
  1. ;;^DD(59.5,.02,23,0)
  1. ;;=^^2^2^2960319^^
  1. ;;^DD(59.5,.02,23,1,0)
  1. ;;=This field is populated by an option on the DSS menu. It is solely for use
  1. ;;^DD(59.5,.02,23,2,0)
  1. ;;=by the DSS software and has no impact on Pharmacy at this time.
  1. ;;^DD(59.5,.02,"DT")
  1. ;;=2960319
  1. ;;^DD(59.5,.101,0)
  1. ;;=LENGTH OF LABEL^RNJ2,0^^1;1^K:+X'=X!(X>66)!(X<12)!(X?.E1"."1N.N) X
  1. ;;^DD(59.5,.101,3)
  1. ;;=Type a whole number between 12 and 66.
  1. ;;^DD(59.5,.101,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(59.5,.101,20,1,0)
  1. ;;=PSJI
  1. ;;^DD(59.5,.101,21,0)
  1. ;;=^^9^9^2860403^^^^
  1. ;;^DD(59.5,.101,21,1,0)
  1. ;;=The labels that you use may vary in height from 12 to 66 lines.
  1. ;;^DD(59.5,.101,21,2,0)
  1. ;;=Measure the height of your label and multiply that height by the
  1. ;;^DD(59.5,.101,21,3,0)
  1. ;;=number of lines per inch that your printer is configured for.
  1. ;;^DD(59.5,.101,21,4,0)
  1. ;;=NOTE: If all lines of print cannot fit within the length that
  1. ;;^DD(59.5,.101,21,5,0)
  1. ;;= is defined here, they will continue to the next label.
  1. ;;^DD(59.5,.101,21,6,0)
  1. ;;=EXAMPLE:
  1. ;;^DD(59.5,.101,21,7,0)
  1. ;;= The average piggyback label is 3 inches high. If you print
  1. ;;^DD(59.5,.101,21,8,0)
  1. ;;= 6 lines per inch, you should enter an '18' as the answer to
  1. ;;^DD(59.5,.101,21,9,0)
  1. ;;= this parameter.
  1. ;;^DD(59.5,.101,"DT")
  1. ;;=2860302
  1. ;;^DD(59.5,.102,0)
  1. ;;=USE SUSPENSE FUNCTIONS^S^0:NO;1:YES;^1;2^Q
  1. ;;^DD(59.5,.102,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(59.5,.102,20,1,0)
  1. ;;=PSJI
  1. ;;^DD(59.5,.102,21,0)
  1. ;;=^^3^3^2860403^^^^
  1. ;;^DD(59.5,.102,21,1,0)
  1. ;;=If you want the 'SUSPEND LABELS' as a valid choice at the 'ACTION:'
  1. ;;^DD(59.5,.102,21,2,0)
  1. ;;=prompt after order entry, answer '1'. If you do not want any labels
  1. ;;^DD(59.5,.102,21,3,0)
  1. ;;=suspended after order entry, but rather have them printed, answer '0'.
  1. ;;^DD(59.5,.102,"DT")
  1. ;;=2860212
  1. ;;^DD(59.5,.103,0)
  1. ;;=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
  1. ;;^DD(59.5,.103,3)
  1. ;;=
  1. ;;^DD(59.5,.103,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(59.5,.103,20,1,0)
  1. ;;=PSJI
  1. ;;^DD(59.5,.103,21,0)
  1. ;;=^^5^5^2860221^^^^
  1. ;;^DD(59.5,.103,21,1,0)
  1. ;;=This parameter affects the printing of the dose due line on the IV LABEL.
  1. ;;^DD(59.5,.103,21,2,0)
  1. ;;=If a '0' is entered, the time the dose is due will not be printed on the
  1. ;;^DD(59.5,.103,21,3,0)
  1. ;;=IV LABEL at all. The dose due line will be printed on: IVPB's only if
  1. ;;^DD(59.5,.103,21,4,0)
  1. ;;=you select '1', LVP's if you select '2', and both IVPB's and LVP's if you
  1. ;;^DD(59.5,.103,21,5,0)
  1. ;;=choose '3'. NOTE: LVP's include HYPERAL type orders.
  1. ;;^DD(59.5,.103,"DT")
  1. ;;=2860212
  1. ;;^DD(59.5,.104,0)
  1. ;;=LVP'S GOOD FOR HOW MANY DAYS^NJ5,2^^1;4^K:+X'=X!(X>31)!(X<1)!(X?.E1"."3N.N) X
  1. ;;^DD(59.5,.104,3)
  1. ;;=Type a Number between 1 and 31, 2 Decimal Digits
  1. ;;^DD(59.5,.104,20,0)
  1. ;;=^.3LA^1^1
  1. ;;^DD(59.5,.104,20,1,0)
  1. ;;=PSJI