ORWRP PRINT REPORT (252)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWRP PRINT REPORT
TAG PRINT
ROUTINE ORWRPP
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
DESCRIPTION
This rpc is used to print a report on the Report 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.
    
  • HEALTH SUMMARY TYPE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    DESCRIPTION:   
    Internal entry number of entry in the HEALTH SUMMARY TYPE
    file.
    
    This parameter is only required for Health Summary reports.
    
  • DATE RANGE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   YES
    DESCRIPTION:   
    This parameter indicates the number of days from TODAY
    that the report should search for information.
    
    This parameter is required for vital reports.
    
  • EXAM ID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    DESCRIPTION:   
    Identification number of the exam.
    
RETURN PARAMETER DESCRIPTION
If the print request was successfully queued then the

       1             No device selected
       2             No report specified
       3             Report type specified is not valid
       4             No date range specified
       5             No health summary type specified
       6             Patient specified is not valid
       7             No exam identified
       8             No procedure date identified
       9             No assessment identified
Task manager task number is return. Otherwise, and error
code and error description are returned.

Error Code Table:
  
     Code            Text
     ----            ----
       0             <Task Number>