PSB GETPRNS (373)    REMOTE PROCEDURE (8994)

Name Value
NAME PSB GETPRNS
TAG GETPRNS
ROUTINE PSBPRN
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
WORD WRAP ON TRUE
VERSION 2
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.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient IEN number.
    
  • PSBORD
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    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.
    
  • PSBSIOPI
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    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.
    
RETURN PARAMETER DESCRIPTION
Results[0] = Number of Nodes.
            ^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"
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