Print Page as PDF
PSJBLDOC ICR (5306)

PSJBLDOC    ICR (5306)

Name Value
NUMBER 5306
IA # 5306
DATE CREATED 2008/12/08
CUSTODIAL PACKAGE INPATIENT MEDICATIONS
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PSJBLDOC
NAME PSJBLDOC
GENERAL DESCRIPTION
This entry point builds the drug information for
patient's orders entered in the Inpatient Medications package.  The data
returned is used in First Data Bank order checks.
STATUS Active
DURATION Till Otherwise Agreed
ID PSJBLDOC
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
IN
VARIABLES TYPE VARIABLES DESCRIPTION
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
SUBSCRIBING PACKAGE OUTPATIENT PHARMACY
DATE ACTIVATED 2014/07/15