Print Page as PDF
DBIA254 ICR (254)

DBIA254    ICR (254)

Name Value
NUMBER 254
IA # 254
FILE NUMBER 52
GLOBAL ROOT PSRX(
DATE CREATED 1993/07/26
CUSTODIAL PACKAGE OUTPATIENT PHARMACY
CUSTODIAL ISC Birmingham
USAGE Private
TYPE File
DBIC APPROVAL STATUS APPROVED
NAME DBIA254
ORIGINAL NUMBER 254
GENERAL DESCRIPTION
Drug Accountability has permission from Outpatient
Pharmacy for the following:

To collect dispensing data, the Drug Accountability ^PSAOP* routines loop
through the "AL" (original & refills), "AJ" (return to stock), "AM" & "AN"
(partials), and "AR" (status) x-refs in the PRESCRIPTION (#52) file.  A
date/time is stored as a starting point for each drug.  Using these x-refs,
the 6th piece of ^PSRX(D0,0) is checked to see if the drug is stocked in a
Drug Accountability location and the 9th piece of ^PSRX(D0,2) is checked for
Outpatient site.  Quantity for original prescriptions, the 7th piece of
^PSRX(D0,0) is used.  For refills, the 4th piece of ^PSRX(D0,1,D1,0) is used.
For partials, the 4th piece of ^PSRX(D0,P,D1,0) is used.

GLOBAL MAP DATA DICTIONARY #52 -- PRESCRIPTION FILE STORED IN ^PSRX(
(VERSION 6.0)
--------------------------------------------------------------

CROSS REFERENCED BY: RETURNED TO STOCK(AJ),RETURNED TO STOCK(AJ1) RELEASED
DATE/TIME(AL), RELEASED DATE/TIME(AL1), RELEASED DATE/TIME(AM), RETURNED TO
STOCK(AN),

^PSRX(D0,0)= (#.01) RX # [1F] ^ (#6) DRUG [6P] ^ (#7) QTY [7N]
^PSRX(D0,1,0)=^52.1DA^^  (#52) REFILL ^PSRX(D0,1,D1,0)=^ (#1) QTY [4N] ^ (#14)
RETURNED TO STOCK[16D]
==>^ (#17) RELEASED DATE/TIME [18D] ^PSRX(D0,2)=^(#20) DIVISION
[9P] ^(#31) RELEASED DATE/TIME[13D]
==>^ (#32.1) RETURNED TO STOCK[15D] ^ ^PSRX(D0,P,0)=^52.2DA^^  (#60)
PARTIAL DATE ^PSRX(D0,P,D1,0)=^(#.04) QTY [4N] ^(#5)RETURNED TO STOCK [16D]
==>^ (#8) RELEASED DATE/TIME [19D] ^
STATUS Active
DURATION Till Otherwise Agreed
ID PSRX(
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
DRUG ACCOUNTABILITY Birmingham