| Name | 
Value | 
| NUMBER | 
3165 | 
| IA # | 
3165 | 
| FILE NUMBER | 
50 | 
| GLOBAL ROOT | 
PSDRUG( | 
| DATE CREATED | 
2000/08/14 | 
| CUSTODIAL PACKAGE | 
PHARMACY DATA MANAGEMENT | 
| CUSTODIAL ISC | 
Birmingham | 
| USAGE | 
Private | 
| TYPE | 
File | 
| DBIC APPROVAL STATUS | 
APPROVED | 
| NAME | 
DRUG FILE ACTIVITY LOG ADD/EDIT BY OUTPATIENT PHARMACY | 
| GENERAL DESCRIPTION | 
CMOP functionality in the Outpatient Pharmacy
application has a need to enter comments into the ACTIVITY LOG field (# 214)
multiple of the Drug file (# 50).
This functionality also reads and sets the CMOP DISPENSE field (# 215) and its
index "^PSDRUG("AQ"," within the Drug file (# 50).
The node ^PSDRUG(D0,4,D1) is looped through to find the last entry in the
Activity Log multiple prior to inserting a new comment.
If the header node for the Activity Log field multiple is not present a header
node is inserted into the database.
 | 
| GLOBAL REFERENCE | 
| GLOBAL REFERENCE | 
FIELD NUMBER | 
GLOBAL DESCRIPTION | 
 
PSDRUG(D0,4,0) | 
 | 
Activity Log multiple global header node. Insert and
update the counters of the header node.
 
 | 
PSDRUG(D0,4,D1,0) | 
| FIELD NUMBER | 
ACCESS | 
FIELD NAME | 
LOCATION | 
 
.01 | 
Direct Global R/W & w/Fileman | 
ACTIVITY LOG | 
0;1 | 
1 | 
Direct Global R/W & w/Fileman | 
REASON | 
0;2 | 
2 | 
Direct Global R/W & w/Fileman | 
INITIATOR OF ACTIVITY | 
0;3 | 
3 | 
Direct Global R/W & w/Fileman | 
FIELD EDITED | 
0;4 | 
4 | 
Direct Global R/W & w/Fileman | 
VALUE | 
0;5 | 
 
 | 
 | 
PSDRUG(D0,3) | 
| FIELD NUMBER | 
ACCESS | 
FIELD NAME | 
LOCATION | 
 
213 | 
Direct Global R/W & w/Fileman | 
CMOP DISPENSE | 
3;1 | 
 
 | 
 | 
 
 | 
| STATUS | 
Active | 
| KEYWORDS | 
- CMOP
 
- OUTPATIENT
 
- ACTIVITY LOG
 
 
 | 
| DURATION | 
Till Otherwise Agreed | 
| ID | 
PSDRUG( | 
| SUBSCRIBING PACKAGE | 
 |