SDEC SUMMAGET (3583)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC SUMMAGET
TAG SUMMAGET
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
get ALL appointments with a cancel status from SDEC APPOINTMENT for given 
date range and user
INPUT PARAMETER
  • SDBEG
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Filter Begin Date in external form; default to all dates
    
  • SDEND
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Filter End Date in external form; default to all dates
    
  • USER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    pointer to new person file - used to filter by user
    
RETURN PARAMETER DESCRIPTION
  Successful Return: ; global array in which each array entry contains 
    6. CLINNAME - Clinic name from HOSPITAL LOCATION file
    7. DATE1 - Cancel Date/Time in external format from
               CANCEL DATETIME field
    8. USERIEN - DATA ENTRY CLERK ien pointer to NEW PERSON file
    9. USERNAME - DATA ENTRY CLERK name from NEW PERSON file
   10. PROVIEN - Provider ien from PROVIDER field pointer to
                 NEW PERSON file
   11. PROVNAME - provider name of PROVIDER from NEW PERSON file
   12. STATUS - text from STATUS field valid values are:
                CANCELLED BY CLINIC & AUTO RE-BOOK
data from the SDEC APPOINTMENT file
                CANCELLED BY PATIENT
                CANCELLED BY PATIENT & AUTO-REBOOK
 
Caught Exception Return:
  A single entry in the Global Array in the format
    "-1^<error text>"
  "T00020RETURNCODE^T00100TEXT"
Unexpected Exception Return:
  Handled by the RPC Broker.
  M errors are trapped by the use of M and Kernel error
  each entry contains the following ^ pieces:
  handling.
  The RPC execution stops and the RPC Broker sends the error
generated text back to the client.
    1. APPT - Pointer to SDEC APPOINTMENT file
    2. DATE - Appointment Start time in external format from
              STARTTIME field of SDEC APPOINTMENT file
    3. IEN - patient pointer to PATIENT file
    4. NAME - patient name from PATIENT file
    5. CLINIEN - Clinic pointer to HOSPITAL LOCATION file