PSB UTL XSTATUS SRCH

TITLEVALUE
NAMEPSB UTL XSTATUS SRCH
DESCRIPTIONRESULTS(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
TAGFNDACTV
ROUTINEPSBVDLU3
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPARAMS
DESCRIPTION^ piece
#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.
; 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")
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH255

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTION
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION3
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED