| DFN | 
Input | 
Patient internal entry number.
 
 | 
LIST | 
Input | 
The parameter reference used as a subscript to
identify the order checks data in the ^TMP global.
 
 | 
PDRG | 
Input | 
The drug array contained the prospective drugs.  Drug
array is in the format of PDRG(n)=IEN (#50) ^ Drug name;    Where n is a
sequential number.  Drug name can be Orderable Item name, or the Generic name.
 
 | 
PTYP | 
Input | 
Package information in the format of: P1;P2 where
P1="I" for Inpatient & "O" for Outpatient, P2= PSJ order#.
 
 | 
OUTPUT | 
Output | 
^TMP($J,LIST,"IN","PROFILE",PSJPON)=GCN ^ VUID ^ IEN
(File#50) ^ Drug Name ^ CPRS Order Number ^ Package
Where:
PSJPON = Pharmacy order number in the format of P1;P2;P3;P4 P1 - Order type.
It can be Z=Outpatient Prospective Drug, I=Inpatient, O=Outpatient, R=RDI; P2
- Order number; P3 - Drug type (PROFILE/PROSPECTIVE); P4 - Counter
GCN = GCN sequence number (#50.68)
VUID = VA PRODUCT (#50.68)
IEN = Dispense drug internal entry number (#50)
Drug Name = Drug name of either the  Orderable Item name (#50.7) or the
Generic Drug name (#50)
CPRS Order Number = Internal entry number for order in ^OR(100 if available
Package = Package indication -  "O" for Outpatient; "I" for Inpatient
PSJCLCOD = Clinic Order Code (1-5)
PSJCLINF = Clinic Order Flag
 
 |