PSB GETPRNS

TITLEVALUE
NAMEPSB GETPRNS
DESCRIPTIONReturns all administrations of a PRN order that have NOT had the PRN
Effectiveness documented in the current admission or within the hours
defined in PRN documentation site parameter whichever is greater of the
two. When the PRN medication is administered a flag is set based on the
given PRN Reason. This flag will dictate whether BCMA will mandate a
PAIN SCORE measurement with PRN documentation.
TAGGETPRNS
ROUTINEPSBPRN
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDFN
DESCRIPTIONPatient IEN number.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERPSBORD
DESCRIPTIONOrder number from Inpatient Medications. If order number is passed then
returns all PRN effectiveness not documented for that order.

If order number is NOT passed, then returns all PRN effectiveness not
documented for that patient.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERPSBSIOPI
DESCRIPTIONThis parameter is a true/false flag (1/0). If true use the new SI/OP Wp
fields and return data in the Results array to the GUI Client.

The field is not required, so a null will convert into a 0, for false,
making this backwards compatible.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONResults[0] = Number of Nodes.

Results[1]= ^1 Med Log IEN
^2 Patient IEN
^3 Patient Location
^4 Administration Date/Time (Fileman format)
^5 Action By
^6 Administration Medication
^7 PRN Reason
^8 Orderable item IEN
^9 Order Number
^10 PRN Reason Flag

Results[2]= ^1 Special Instructions
("!" <- BCMA FLAG may precede Text)

Results[3]= ^1 "DD/ADD/SOL"
^2 Name of dispense drug/additive/solution
^3 Dose given
^4 Unit of administration (free text)

Results[n]= ^1 LITERAL "SI"
SI WP text ^2 Special Instructions long Worprocessing text lines

Results[n]= ^1 "END"
AVAILABILITYPUBLIC
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION2
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED