| GENERAL DESCRIPTION |
Utility to Manage scanning failures. Procedure will
populate the BCMA Unable To Scan Log located in the database ^PSB(53.77) and
send off MailMan message if necessary.
INPUT:
There is one input parameter with two options:
For Wristband scanning failures a single value array PSBPARAM(0).
For medication scanning failures a two value array PSBPARAM(0) and
PSBPARAM(1).
PSBPARAM(0):
^ piece 1 - IEN (Patient's Internal Entry Number).
^ piece 2 - Order number (Only used with medication entries, not with the
Wristband input).
^ piece 3 - Reason for Unable to Scan.
^ piece 4 - User's Comment.
^ piece 5 - The type of scan event.
The value that is placed here is determined by the user's
actions when attempting to scan a medication/wristband during
an administration. Those types beginning with "M" are
events dealing with medications; those beginning with "W" are
events with wristbands. "*UAS" occur when the user actually
uses the "unable to scan" functionality to document
the activity. "*SCN" are types that occur during normal
scanning activities. The "*KEY" designates a type of event
where the user has by-passed the BCMA scanning system by
"keying", via the system's keyboard device.
BCMA input data:
"W" for Wristband with a value WSCN, WKEY, or WUAS
"M" for Medication with a value of MSCN, MKEY,or MUAS
^ piece 6 - "0" for unable to scan, "1" for keyed entry, or "2" for
scanned
PSBPARAM(1):
^ piece 1 - "DD" Dispense Drug, "ADD" Additive, "SOL" Solution
^ piece 2 - IEN (Internal Entry Number) of failed item
RETURN PARAMETER DESCRIPTION:
There is one parameter returned consisting of two values RESULTS(0) and
RESULTS(1).
OUTPUT:
RESULTS(0)=1
RESULTS(1)=1 (Successful)
or
RESULTS(1)="-1^Unable to Scan documentation NOT
successful!" (Unsuccessful)
or
RESULTS(1)="-1^Unable to Scan MAILGROUP NOT SETUP!" (Unsuccessful)
|