PSB MAN SCAN FAILURE (2473)    REMOTE PROCEDURE (8994)

Name Value
NAME PSB MAN SCAN FAILURE
TAG SCANFAIL
ROUTINE PSBVDLU3
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
VERSION 3
DESCRIPTION
SCANFAIL(RESULTS,PSBPARAM)      ;  TEJ 05/12/2006  BCMA-Managing Scanning Failures (MSF)
        ;
        ;          (example)    (1)      -       ADD^IEN of FAILED item
        ;                       
        ;               Output:
        ;                 Entry into database ^PSB(53.89)
        ;                 Electronic Mail - Message Data per Scan Failure
        ;                 
        ;                 RESULTS(0)=1
        ;                 RESULTS(1)= 1 (Success) or -1 (Nonsuccess)
        ;
        ;       Process Scanning Failures
        ;               Parameters:
        ;               Input (via GUI):
        ;        Per Wristband  (0)      -       Pat IEN ^ ^ Failure Reason ^ User's Comment ^ "W" ^-1 (keyed)
        ;                                       
        ;        Per Medication
        ;                       (0)      -       Pat IEN ^ Order Number ^ Failure Reason ^ User's Comment ^ "M" ^-1 (keyed)
        ;                       (1)      -       tag^ unique identifier
INPUT PARAMETER
  • PSBPARAM
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Data to initiate scanning failure process.  Input: Only
    (file#53.77) appropriately, and send off MailMan message if necessary.
    "^"piece that must be populated is #5 - scan type 
    ("Wristband"/"Medication")
       i.e. - MUAS WUAS MKEY WKEY MSCN WSCN MMME
     
    Node (1) is to present " tag ^ unique id " if available for a medication 
    "unable to scan".
     
    Procedure will populate BCMA Unable To Scan Log 
    
RETURN PARAMETER DESCRIPTION
RESULTS(0)=1
RESULTS(1)= 1 (SUCCESS) or -1 (NONSUCCESS)