PSB VALIDATE ORDER (369)    REMOTE PROCEDURE (8994)

Name Value
NAME PSB VALIDATE ORDER
TAG EN
ROUTINE PSBVDLVL
RETURN VALUE TYPE ARRAY
AVAILABILITY PUBLIC
VERSION 3
INPUT PARAMETER
  1. INPUT PARAMETER:   DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient IEN
    
  2. INPUT PARAMETER:   psbdien
  3. INPUT PARAMETER:   PSBRMVTM
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   10
    DESCRIPTION:   
    Scheduled Removal date/time.  (not the scan time transaction date/time)
    Required only if this is a removal action user trying to take.
    
  4. INPUT PARAMETER:   PSBIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Medication Order Number
    
  5. INPUT PARAMETER:   PSBTYPE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Order Type
     
    U for unit dose order
    V for IV order
    
  6. INPUT PARAMETER:   PSBADMIN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Administration date/time, if one is present.
    
  7. INPUT PARAMETER:   PSBTAB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Medication tab the order is on.
    
  8. INPUT PARAMETER:   PSBUID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    The actual scan value.
    
  9. INPUT PARAMETER:   PSBASTS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Current scan status of the VDL of the medication.
    
  10. INPUT PARAMETER:   PSBORSTS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Current order status on the VDL>
    
  11. INPUT PARAMETER:   PSBRMV
    REQUIRED:   NO
    SEQUENCE NUMBER:   9
    DESCRIPTION:   
    Action the user is trying to take.
    
RETURN PARAMETER DESCRIPTION
Results[0] = number of nodes
 
Results[1] = 1^Brief Adminstration History
Results[2] = 1^ 1
             2^ Admin date&time (Fileman format)
             3^ Admin status
             4^ Schedule Type
             5^ Reason
             6^ Body site  (could be Injection or Dermal)
             7^ Doses given
             8^ Unit of administration (free text)
 
             7^ Doses given
             8^ Unit of administration (free text)
Results[0] = 0^Data Successfully can be Filed
             1^Warning message that needs user to confirm  before filing
            -1^Functional Error message
            -2^Critical System Error message
 
For PRN medication order:
Results[0] = number of nodes