Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details |  All
Print Page as PDF
Sub-Field: 53.2102

Package: Inpatient Medications

UNIT DOSE ORDER SET(#53.2)-->53.21-->53.2102

Sub-Field: 53.2102


Information

Parent File Name Number Package
53.21 *DISPENSE DRUG 53.2102 Inpatient Medications

Details

Field # Name Loc Type Details
.01 *DISPENSE DRUG 0;1 POINTER TO DRUG FILE (#50)
************************REQUIRED FIELD************************
DRUG(#50)

  • INPUT TRANSFORM:  S DIC("S")="I $P($G(^PSDRUG(+Y,2)),""^"",6)=+$G(^PS(53.2,$S($D(DA(2)):DA(2),1:DA(1)),1,$S($D(DA(2)):DA(1),1:DA),0))" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  • LAST EDITED:  JUL 30, 1996
  • HELP-PROMPT:  Enter a dispense drug for this order.
  • DESCRIPTION:  
    This is the medication that will actually be dispensed for this order.  An order may have more than one dispense drug.
  • TECHNICAL DESCR:  
    This is an entry from the Drug file (50) that will actually be dispensed as part of the order.  An order can have multiple dispense drugs.
  • SCREEN:  S DIC("S")="I $P($G(^PSDRUG(+Y,2)),""^"",6)=+$G(^PS(53.2,$S($D(DA(2)):DA(2),1:DA(1)),1,$S($D(DA(2)):DA(1),1:DA),0))"
  • EXPLANATION:  Only dispense drugs tied to this order's primary drug are selectable.
  • EXECUTABLE HELP:  S X(1)=+$G(^PS(53.2,DA(1),1,DA,0)) I X(1) S X(1)=$P($G(^PS(50.3,X(1),0)),"^") I X(1)]"" W !?5,"(",X(1)," is the drug for this order.)" K DA(2)
  • LAYGO TEST:  1,0)= S X(1)=$D(^PS(53.2,$S($D(DA(2)):DA(2),1:DA(1)),1,$S($D(DA(2)):DA(1),1:DA),2,"B",+X)) D:X(1) EN^DDIOL("This dispense drug has already been entered for this order.") I 'X(1)
  • GROUP:  PSJU
  • CROSS-REFERENCE:  53.2102^B
    1)= S ^PS(53.2,DA(2),1,DA(1),2,"B",$E(X,1,30),DA)=""
    2)= K ^PS(53.2,DA(2),1,DA(1),2,"B",$E(X,1,30),DA)
.02 *UNITS PER DOSE 0;2 NUMBER

  • INPUT TRANSFORM:  S X=$S(X="1/2":.5,X="1/4":.25,1:X) K:+X'=X!(X>30)!(X<0)!(X?.E1"."3.N) X
  • OUTPUT TRANSFORM:  S Y=$S(Y=.5:"1/2",Y=.25:"1/4",Y?1".".N:"0"_Y,1:Y)
  • LAST EDITED:  JUL 30, 1996
  • HELP-PROMPT:  Enter a number between 0 and 30 (will accept '1/2' or '1/4').
  • DESCRIPTION:  This is the number of UNITS (tablets, capsules, etc.) to be dispensed as a DOSE for this order. The literals '1/2' and '1/4' may be entered. If there is no entry, it is assumed to be ONE (1).
    ** PLEASE NOTE **
    If a doctor prescribes 30 ml's of a medication that is usually dispensed and administered as 60 ml's, the correct UNITS PER DOSE would be 1/2 (or .5), NOT 30 ml's.  (30 ml's would be entered into the DOSAGE ORDERED
    field.)
    If the UNITS PER DOSE ordered is a variable amount (1-2 tab.), it is suggested that the maximum amount be entered into this field and the amount ordered noted either in the DOSAGE ORDERED or SPECIAL INSTRUCTIONS
    fields.
  • EXECUTABLE HELP:  W !,"IF NO ENTRY (OR AN ENTRY OF `0') IS MADE, A ONE (1) WILL BE ASSUMED."
  • GROUP:  PSJU
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
Info |  Details |  All