PSB SCANMED

TITLEVALUE
NAMEPSB SCANMED
DESCRIPTIONTakes the scanned valued from the medication and does a lookup on file
50 for an exact match. If more than one or less than one entry are
found for the lookup an error is returned to the client.
TAGSCANMED
ROUTINEPSBRPC2
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPSBDIEN
DESCRIPTIONTakes the scanned valued from the medication and does a lookup on file
50 for an exact match. If more than one or less than one entry are
found for the lookup an error is returned to the client.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERPSBTAB
DESCRIPTIONThis is the current tab the user is on.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONReturn on error:

Results[0] = '-1^Unable to determine exact medication'

Return on successful scan:

Results[0] = number of items returned in the results array.
Results[1] = DD^IEN^Generic Name
SOL^IEN^Generic Name
ADD^IEN^Generic Name
AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION2
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED