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 |
|