PSB MOB DRUG LIST

TITLEVALUE
NAMEPSB MOB DRUG LIST
DESCRIPTIONUsed by the BCMA/CPRS Med Order Button to return an array of drug.
TAGOILST
ROUTINEPSBRPCMO
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPSBSCAN
DESCRIPTIONPSBSCAN is the value that has been scanned or entered by the user.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH40

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERPSBOTYP
DESCRIPTIONType of list:

Dispensed Drugs = "UD"

IV Medications = "IV"

Orderable Item = "OIT"

Drug Class = "VAC"
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONResults[0] = 1
Results[1] = -1^Invalid Medication Lookup

or

Results[0] = the number of items passed in the array
Results[1] = ^1 either DD, SOL, ADD
^2 IEN from drug file 50
^3 Drug Name
^4 Pharmacy Orderable Item IEN
^5 Pharmacy Orderable Item Name
^6 CPRS Orderable Item IEN
^7 CPRS Orderable Item Name
AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION2
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED