| GENERAL DESCRIPTION |
Utility to check the latest order activities of a patient.
INPUT:
^ piece 1 - DFN Patient's Internal Entry Number(required).
^ piece 2 - OrderNumber ON_V/U/P Inpatient Medications Package V.
5.0 Order Number.
^ piece 3 - Action (status) to search for.
^ piece 4 - A Time Frame of "X" followed by a number will indicate the
number of administrations to check.
A Time Frame set to "FREQ" will use the order's frequency.
A Time Frame set to "PRN", "On Call", or "One-Time" will show
activity over the past 72 hours by default.
A Time Frame value of "Continuous" uses two frequency
options.
1. If the frequency is <24 hours use the default of 72
hours.
2. If the frequency is >= 24 hour, look back 3.5 times
the frequency.
A Time Frame set to "" and not set to "FREQ" gives no
location found during activity error message.
Example call: D FNDACTV^PSBVDLU3(.results,"1234^1U^H^12")
RETURN PARAMETER DESCRIPTION:
Procedure will return the results to the GUI executable.
OUTPUT:
RESULTS(0)= Returned line count.
RESULTS(1)= Patient's location during activity. Free text room-bed and
ward location.
RESULTS(2)= Medication^ordernumber. Contains the IEN to the actual order
in PHARMACY PATIENT (#55) followed by a U for Unit Dose or V
for IV.
RESULTS(3)= Action fileman date&time.
RESULTS(4)= Scheduled administration fileman date&time. If a continuous
order, this field will contain the actual administration date
and time the medication was ordered for.
|