ORWCS PRINT REPORT (272)    REMOTE PROCEDURE (8994)

Name Value
NAME ORWCS PRINT REPORT
TAG PRINT
ROUTINE ORWCSP
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
DESCRIPTION
This rpc is used to print a consult report on the Consult 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.
    
  • CONSULT ID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    DESCRIPTION:   
    Identification number of the consult.
    
RETURN PARAMETER DESCRIPTION
If the print request was successfully queued then the

       1             No device selected
       2             No exam 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
     ----            ----
       0             <Task Number>