Print Page as PDF
DBIA139 ICR (139)

DBIA139    ICR (139)

Name Value
NUMBER 139
IA # 139
DATE CREATED 1991/12/09
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
ROUTINE PSJEEU0
NAME DBIA139
ORIGINAL NUMBER 139
STATUS Retired
DURATION Till Otherwise Agreed
ID PSJEEU0
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
ENHS
The Allergy Tracking System V2.2 uses a call to
ENHS^PSJEEU0 to extract data pertaining to inpatient med orders.  The
^%ZOSF("TEST") global is used to test for the existence of the PSJEEU0 routine
before it is called.

The input variables are:
DFN = IFN of patient in Patient file.
PSJEDT = The date to begin the search for orders.

The data is returned in two arrays:

Unit dose data is returned in the following array:
^UTILITY("PSG",$J,IDT)=SDT^FDT^DRG^PR^ST^DO^MR^SCH^SCT

where:
IDT = Inverse start date of order.
SDT = Start date of order.
FDT = Stop date of order
DRG = Drug ordered. This variable has format A;B where A is the internal
pointer and B is the external printable form.
PR = Provider.  This variable has format A;B where A is the internal
pointer and B is external printable form.
ST = Status of order.  This variable has format A;B where A is the
internal representation and B is external printable form.
DO = Dosage of drug ordered.
MR = Medication route of drug ordered.  This variable has format A;B where
A is the internal pointer and B is external printable form.
SCH = Administration schedule of order.
SCT = Schedule type of SCH.  This variable has format A;B where A is the
internal representation and B is external printable

IV data is returned in the following arrays:
^UTILITY("PSIV",$J,-SDT,0)=SDT^FDT^PR^ST^IR^SCH

Array of additives in order:
^UTILITY("PSIV",$J,-SDT,"A",Number)=ADT^STR

Array of solutions in order:
^UTILITY("PSIV",$J,-SDT,"S",Number)=SOL^VOL

where:
SDT = Start date of order.
FDT = Stop date of order
PR = Provider.  This variable has format A;B where A is the internal
pointer and B is the external printable form.
ST = Status of order.  This variable has format A;B where A is the
internal representation and B is external printable form.
IR = Infusion rate of order.
SCH = Administration schedule of order.
ADT = One additive of order. This variable has format A;B where A is the
internal pointer and B is external printable form.
STR = Strength of additive ADT in order.
SOL = One solution of order. This variable has format A;B where A is the
internal pointer and B is external printable form.
VOL = Volume of solution SOL in order.
VARIABLES TYPE
DFN Input
PSJEDT Input
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
ADVERSE REACTION TRACKING Hines