BLD(PSODFN,LIST,PDRG,PTY) |
This entry point returns any possible drug
interactions and duplicate drug therapys. Duplicate drug class order checks
have been replaced with duplicate therapy checks.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PSODFN |
Input |
Patient's IEN
|
LIST |
Both |
Global output base.
|
PDRG |
Input |
Prospective drug(s)
|
PTY |
Input |
A two piece variable (P1;P2). P1 - package type (I
or O). P2 Order number if available.
|
OUTPUT |
Output |
^TMP($J,LIST,"IN","PROFILE",PSOPON)=GCN ^ VUID ^IEN (File#50) ^ Drug Name ^
CPRS Order Number ^ Package
Where:
PSOPON = 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
|
|
CPRS(PSODFN,LIST,PDRG,PTY) |
This entry point returns any possible duplicate
drugs, drug interactions and duplicate drug therapies. Duplicate drug class
order checks have been replaced with duplicate therapy checks.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
PTY |
Input |
A two piece variable (P1;P2). P1 - package type (I
or O). P2 Order number if available.
|
PSODFN |
Input |
Patient's IEN.
|
LIST |
Both |
Global output base
|
PDRG |
Input |
Prospective drug(s) list.
|
TMP($J,"DD",INDD,0) |
Output |
|
OUTPUT |
Output |
^TMP($J,LIST,"IN","PROFILE",PSOPON)=GCN ^ VUID ^IEN (File#50) ^ Drug Name ^
CPRS Order Number ^ Package
Where:
PSOPON = 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
|
|