ORWRP PRINT LAB REPORTS (622)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWRP PRINT LAB REPORTS
TAG PRINT
ROUTINE ORWRPL
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
DESCRIPTION
This rpc is used to print a report on the Labs tab
in CPRS.
INPUT PARAMETER
  • DEVICE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   100
    REQUIRED:   YES
    DESCRIPTION:   
    Name of the device where the report should print.
    
    Format: <device name> ; <right margin> ; <page length>
    
    Right margin and page length are optional.
    
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    DESCRIPTION:   
    Internal entry number of entry in the Patient file.
    
  • REPORT ID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    DESCRIPTION:   
    Identification number of the desired report.
    
  • DATE RANGE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   NO
    DESCRIPTION:   
    This parameter indicates the number of days from TODAY
    that the report should search for information.
    
RETURN PARAMETER DESCRIPTION
If the print request was successfully queued then the
       0             <Task Number>
       1             No device selected
       2             No report specified
       3             Report type specified is not valid
       4             No date range specified
       6             Patient specified is not valid
Task manager task number is return. Otherwise, and error
code and error description are returned.

Error Code Table:
  

     Code            Text
     ----            ----