PSB REPORT (374)    REMOTE PROCEDURE (8994)

Name Value
NAME PSB REPORT
TAG RPC
ROUTINE PSBO
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY SUBSCRIPTION
WORD WRAP ON TRUE
VERSION 3
DESCRIPTION
Return the text for the specified report and the user has the option to 
print the reports.
INPUT PARAMETER
  • PSBTYPE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Contains the character designation for the needed report:
    DO: Display Order
    IV: IV Bag Status
    MD: Missing Dose by Ward
    MH: Medication Administration History
    ML: Medication Log
    MM: Missed Medication
    MT: Medication Therapy Report
    MV: Medication Variance Log
    PE: PRN Effectiveness
    PF: Patient Record Flag
    AL: Allergy Request
    PI: Patient Inquiry
    PM: Patient Medication History
    SF: Unable To Scan Detail
    ST: Unable To Scan Summary
    VT: Cumulative Vitals
    WA: Ward Administration Times
    XA: Unknown Action Status
    BL: Bar Code Label
    BZ: Bar Code Label
    CE: Coversheet - Expired/DC'd/Expiring Orders
    CI: Coversheet - IV Overview
    CM: Coversheet - Medication Overview
    CP: Coversheet - PRN Overview
    DL: Due List
    
  • PSBWSORT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   10
    DESCRIPTION:   
    Sort By Patient - "P"
      or By Bed     - "B"
    
  • PSBFUT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   YES
    SEQUENCE NUMBER:   11
    DESCRIPTION:   
    Contains the parameters for Due list in up-arrow pieces
     
    Piece   1: 1/0 Include Blanks (Changes/Addendums)
            2: 1/0 Include IV Meds
            3: 1/0 Include Unit Dose Meds
            4: 1/0 Include Future Orders
    
  • PSBORDNUM
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   12
    DESCRIPTION:   
    The PSBORDNUM is the pharmacy order number from the Inpatient Medications
    package.
     
    Example: 10U or 10V
     
    This order number is used to do a lookup of medications by orderable item 
    for the medication history report.
    
  • PSBLIST
    PARAMETER TYPE:   LIST
    REQUIRED:   NO
    SEQUENCE NUMBER:   14
    DESCRIPTION:   
    This  OPTIONAL  parameter contains list of data to input for the creating 
    example:
     
    List[0]=        "MT^OIT^1043"
    List[1]=        "MT^OIT^475"
    List[2]=        "MT^OIT^464"
    List[3]=        "MT^OIT^88"
     
     
     
    The data in the list will be filed into SUBFILE #53.692  (MULTIPLE).
    of a report.  The report's developer/designer should be aware of
    the type of information to be input via this parameter.  For example per 
    the BCMA Medication Therapy Report , this parameter will contain a list of
    Dispensed Drug(s)/VA Drug Classification(s)/Orderable Items to be used 
    per a "Medical Therapy Report".
     Each item in the list will be tagged respectively: "DD"/"VAC"/"OIT"  Each
    item will have the appropriate file pointer data as "^"piece #3.
     
    
  • PSBRCRI
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   13
    DESCRIPTION:   
    Optional parameter contains "additional" report criteria.  The Idea 
    "QD" - query date
    is to make the first part of the data to designate the purpose of the data
    being input.  An example is to send an addition "Query Date" the 
    literal "QD^3070419.1200"  could be the input data.  
     
     
    Current list of tags:
     
     
    
  • PSBORDNM
    SEQUENCE NUMBER:   12
  • PSBPST
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   NO
    SEQUENCE NUMBER:   15
    DESCRIPTION:   
    IDENTIFIES THE PRIMARY, SECONDARY AND TERTIARY SORT ORDERS FOR THE REPORT 
    SEPARATED BY "^".
    
  • PSBTR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   16
    DESCRIPTION:   
    This field defines what sub-headers will be printed on the report.
    
  • PSBSIFIL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   18
    DESCRIPTION:   
    Include Special Instructions/Other Print Info on report Yes/No.
    0 = No
    1 = Yes
    
  • PSBCLINORD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   19
    DESCRIPTION:   
    This field is an indicator as to what mode the report will be run in.  
    Clinic order mode or Inpatient mode.  This is an exclusive mode for 
    certain reports to run in.
    C = Clinic Orders only
    I = Inpatient Orders only
    
  • PSBDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Patient IEN
    
  • PSB20
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   20
    DESCRIPTION:   
    Reserved parameter 20 for future use.
    
  • PSB21
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   21
    DESCRIPTION:   
    Reserved parameter 21 for future use.
    
  • PSB22
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   22
    DESCRIPTION:   
    Reserved parameter 22 for future use.
    
  • PSB23
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   23
    DESCRIPTION:   
    Reserved parameter 23 for future use.
    
  • PSB24
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   24
    DESCRIPTION:   
    Reserved parameter 24 for future use.
    
  • PSBCLLIST
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   90
    REQUIRED:   NO
    SEQUENCE NUMBER:   25
    DESCRIPTION:   
    LIST ARRAY FOR CLINICS
    
  • PSBDIV
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   17
    DESCRIPTION:   
    Division
    
  • PSBSTRT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Internal Fileman Start Date/Time
    
  • PSBSTOP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Fileman Stop Date/Time
    
  • PSBINCL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Contains the parameters for a Due List in up-arrow pieces.
     
    Piece   1: 1/0 Include Continuous Meds
            2: 1/0 Include PRN Meds
            3: 1/0 Include OnCall Meds
            4: 1/0 Include OneTime Meds
            5: 1/0 Include Comments
            6: 1/0 Include Audits
    blanks at the end of the report.
    
  • PSBDEV
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    Contains the name of the device that the report prints to.
    
  • PSBSORT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   YES
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Sorts the report by patient or by ward
    
  • PSBOI
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   YES
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Order/Orderable Item number. 
    
  • PSBWLOC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   9
    DESCRIPTION:   
    Ward Location 
    
RETURN PARAMETER DESCRIPTION
Text of report.