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
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient IEN
    
  • psbdien
  • 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.
    
  • PSBIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Medication Order Number
    
  • 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
    
  • PSBADMIN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Administration date/time, if one is present.
    
  • PSBTAB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Medication tab the order is on.
    
  • PSBUID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    The actual scan value.
    
  • PSBASTS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Current scan status of the VDL of the medication.
    
  • PSBORSTS
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Current order status on the VDL>
    
  • 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