DSIV POLL REPORT (2550)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV POLL REPORT
TAG POLL
ROUTINE DSIVICR1
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
Used to check the status of the background job kicked off by the DSIV 
EXCEPTION REPORT2 rpc, and to get the report data.
INPUT PARAMETER
  • DSIVHNDL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   50
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Contains the Handle returned by the kick-off rpc call DSIV EXCEPTION 
    REPORT2.  This is the ^XTMP global node where the report status and data 
    reside.
    
  • CNT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Contains the count (#) of records to return for each call to the rpc.
    
  • MORE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Contains a flag (MORE=1) when there were more records than parameter 2 
    (CNT) to supress the header for the subsequent calls to get data.
    The first call to the rpc should NOT include the MORE=1 parameter.  Send 
    MORE=9 to kill the report data in ^XTMP global if the user no longer 
    wants to get it.
    
RETURN PARAMETER DESCRIPTION
Returns -1^error, or 0^Results not ready^*percent complete*,
or  Ret(1) = $START$report start date^report end date (reqst'd by user)
    Ret(n) = Clinic^Appt Date/time^Patient
    Ret(~) = $END$QUEUED dttm^rpt START RUN dttm^rpt END RUN dttm