Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Source Information |  Call Graph |  External References
Print Page as PDF
Remote Procedure: PSB REPORT

Package: Barcode Medication Administration

Remote Procedure: PSB REPORT


Source Information

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
  1. 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
    
  2. INPUT PARAMETER:   PSBWSORT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   10
    DESCRIPTION:   
    Sort By Patient - "P"
      or By Bed     - "B"
    
  3. INPUT PARAMETER:   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
    
  4. INPUT PARAMETER:   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.
    
  5. INPUT PARAMETER:   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.
    
  6. INPUT PARAMETER:   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:
    
  7. INPUT PARAMETER:   PSBORDNM
    SEQUENCE NUMBER:   12
  8. INPUT PARAMETER:   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 "^".
    
  9. INPUT PARAMETER:   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.
    
  10. INPUT PARAMETER:   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
    
  11. INPUT PARAMETER:   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
    
  12. INPUT PARAMETER:   PSBDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Patient IEN
    
  13. INPUT PARAMETER:   PSB20
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   20
    DESCRIPTION:   
    Reserved parameter 20 for future use.
    
  14. INPUT PARAMETER:   PSB21
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   21
    DESCRIPTION:   
    Reserved parameter 21 for future use.
    
  15. INPUT PARAMETER:   PSB22
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   22
    DESCRIPTION:   
    Reserved parameter 22 for future use.
    
  16. INPUT PARAMETER:   PSB23
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   23
    DESCRIPTION:   
    Reserved parameter 23 for future use.
    
  17. INPUT PARAMETER:   PSB24
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   24
    DESCRIPTION:   
    Reserved parameter 24 for future use.
    
  18. INPUT PARAMETER:   PSBCLLIST
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   90
    REQUIRED:   NO
    SEQUENCE NUMBER:   25
    DESCRIPTION:   
    LIST ARRAY FOR CLINICS
    
  19. INPUT PARAMETER:   PSBDIV
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   17
    DESCRIPTION:   
    Division
    
  20. INPUT PARAMETER:   PSBSTRT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Internal Fileman Start Date/Time
    
  21. INPUT PARAMETER:   PSBSTOP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Fileman Stop Date/Time
    
  22. INPUT PARAMETER:   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.
    
  23. INPUT PARAMETER:   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.
    
  24. INPUT PARAMETER:   PSBSORT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   YES
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Sorts the report by patient or by ward
    
  25. INPUT PARAMETER:   PSBOI
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   YES
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Order/Orderable Item number. 
    
  26. INPUT PARAMETER:   PSBWLOC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   9
    DESCRIPTION:   
    Ward Location 
    
RETURN PARAMETER DESCRIPTION
Text of report.

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Barcode Medication Administration 1 RPC^PSBO  

External References

Name Field # of Occurrence
RPC^PSBO 1
Source Information |  Call Graph |  External References