GENERAL DESCRIPTION |
Drug Accountability will use the IV STATS (#50.8) file
to update IV dispensing activity in a Drug Accountability Location. To
correctly identify the DRUG (#50) file entry a look up is first made to the IV
ADDITIVES (#52.6) and/or the IV SOLUTION (#52.7) files. Looping through
^PS(50.8,D0), all IV Rooms are checked. Looping through ^PS(50.8,D0,2,D1),
dates are checked. Looping through ^PS(50.8,D0,2,D1,2,D2), drugs are checked
with support from the "AC" x-ref. Looping through
^PS(50.8,D0,2,D1,2,D2,3,D3), ward is checked. It is here that, if a match
occurs, $P($G(^PS(50.8,D0,2,D1,2,D2,3,D3,0)),U,2)-$P($G(^(0)),U,5) is used to
update the balance in Drug Accountability.
GLOBAL MAP DATA DICTIONARY #50.8 -- IV STATS FILE STORED IN ^PS(50.8, (1
ENTRY) SITE: BIRMINGHAM ISC (#14)
--------------------------------------------------------------------------
CROSS REFERENCED BY: IV DRUG(AC) ^PS(50.8,D0,0)= (#.01) IV ROOM [1P] ^
^PS(50.8,D0,2,0)=^50.803D^^ (#2) DATE ^PS(50.8,D0,2,D1,0)= (#.01) DATE [1D] ^
^PS(50.8,D0,2,D1,2,0)=^50.805A^^ (#2) IV DRUG ^PS(50.8,D0,2,D1,2,D2,0)=
(#.01) IV DRUG [1F]
CROSS-REFERENCE: 50.8^AC^MUMPS
1)= I '$D(PSIVV),$D(^PS(50.8)) D ^PSIVXREF Q
2)= Q
^PS(50.8,D0,2,D1,2,D2,3,0)=^50.808P^^ (#10) WARD
^PS(50.8,D0,2,D1,2,D2,3,D3,0)= (#.01) WARD [1P] ^ (#2) DISPENSED UNITS
==>(WARD) [2N] ^ (#5) CANCELED UNITS [5N] ^
|