TITLE | VALUE | |
---|---|---|
NAME | PSB GETPRNS | |
DESCRIPTION | Returns 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. | |
TAG | GETPRNS | |
ROUTINE | PSBPRN | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | DFN | |
DESCRIPTION | Patient IEN number. | |
PARAMETER TYPE | LITERAL | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | PSBORD | |
DESCRIPTION | Order 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 TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
INPUT PARAMETER | PSBSIOPI | |
DESCRIPTION | This 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 TYPE | LITERAL | |
REQUIRED | NO | |
MAXIMUM DATA LENGTH | 1 | |
RETURN VALUE TYPE | GLOBAL ARRAY | |
RETURN PARAMETER DESCRIPTION | Results[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" | |
AVAILABILITY | PUBLIC | |
INACTIVE | ||
CLIENT MANAGER | ||
WORD WRAP ON | TRUE | |
VERSION | 2 | |
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED |