PSB UTL XSTATUS SRCH (2227)    REMOTE PROCEDURE (8994)

Name Value
NAME PSB UTL XSTATUS SRCH
TAG FNDACTV
ROUTINE PSBVDLU3
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
VERSION 3
DESCRIPTION
RESULTS(0)=returned line count
RESULTS(1)=patients location during activity
RESULTS(2)=medication^ordernumber
RESULTS(3)= action fileman date&time
RESULTS(4)= scheduled administration fileman date&time
INPUT PARAMETER
  • PARAMS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   255
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    ^ piece
            ;                    2. if the order is a Continuous order key 
                                    off of the frequency as follows.
            ;                          a.) if the frequency is <24 hours 
                                          use the default of 72 hours.
            ;                          b.) if the frequency is >= 24 hour, 
                                          look back 3.5 times the frequency
            ;                 NOTE:  ["X#"   This Function will search back # 
                                        of admins.
     
            ;  Example call: D FNDACTV^PSBVDLU3(.results,"1234^1U^H^12")
    #1 - DFN (required)
    #2 - OrderNumber
    #3 - Action (status) to search for
    #4 - TimeFrame
                              NOTE:  ="FREQ"  This  Function will use order's 
                                       frequency.
            ;                    1. If the order is a PRN, On Call or One-Time
            ;                       the look back a default of 72 hours.