Print Page as PDF
DBIA2193 ICR (2193)

DBIA2193    ICR (2193)

Name Value
NUMBER 2193
IA # 2193
DATE CREATED 1997/10/22
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
CUSTODIAL ISC Birmingham
USAGE Private
TYPE Routine
ROUTINE PSGAMSA
NAME DBIA2193
GENERAL DESCRIPTION
Drug Accountability/Inventory Interface is requesting
an integration agreement with Inpatient Medications to insert two lines of
code in routine PSGAMSA. This code is used to collect Unit Dose dispensing,
returns, extras, & pre-exchange needs.
STATUS Pending
DURATION Till Otherwise Agreed
ID PSGAMSA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
ENLOG+7 & ENLOG+8
The inserted code is executed only if Drug
Accountability/Inventory V. 3.0 or greater is installed. If so, a check for
the existence of routine PSAPSI5 is made. If the routine is on the system
EN^PSAPSI5 is executed.

Inserted DA code at ENLOG+7 & ENLOG+8
-------------------------------------
I +$$VERSION^XPDUTL("DRUG ACCOUNTABILITY")'<3.0 D .I $D(^%ZOSF("TEST")) S
X="PSAPSI5" X ^%ZOSF("TEST") K X I  D EN^PSAPSI5
VARIABLES TYPE VARIABLES DESCRIPTION
PSGBK Used
PSBBK checks for Drug Acct background job Kernel V.
8.0 & Kernel V. 7.1.
PSGDRG Input
PSGDRG is the drug internal entry number in the DRUG
file (#50). It is passed from PSGAMSA to PSAPSI5. It is used to determine if
the drug is stored in the pharmacy location. If so, PSGDRG is stored in the
^XTMP("PSAPL") global along with its dispensing data.
PSGWARD Input
PSGWARD is the ward's internal entry number in the
WARD LOCATION file (#42). It is passed from PSGAMSA to PSAPSI5. It is used to
determine if the ward is assigned to the pharmacy location.
PSGPLFDT Input
PSGPLFDT is the file date of the pick list. It is
stored in the ^XTMP("PSAPL") global.
PSGX Input
PSGX is the number of dispense units. It is stored in
the ^XTMP("PSAPL") global.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
DRUG ACCOUNTABILITY Birmingham