SDEC SUMMAGET

TITLEVALUE
NAMESDEC SUMMAGET
DESCRIPTIONget ALL appointments with a cancel status from SDEC APPOINTMENT for given
date range and user
TAGSUMMAGET
ROUTINESDEC
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDBEG
DESCRIPTIONFilter Begin Date in external form; default to all dates
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDEND
DESCRIPTIONFilter End Date in external form; default to all dates
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERUSER
DESCRIPTIONpointer to new person file - used to filter by user
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTION Successful Return: ; global array in which each array entry contains
data from the SDEC APPOINTMENT file
each entry contains the following ^ pieces:
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
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
CANCELLED BY PATIENT
CANCELLED BY PATIENT & AUTO-REBOOK

Caught Exception Return:
A single entry in the Global Array in the format
"-1^"
"T00020RETURNCODE^T00100TEXT"
Unexpected Exception Return:
Handled by the RPC Broker.
M errors are trapped by the use of M and Kernel error
handling.
The RPC execution stops and the RPC Broker sends the error
generated text back to the client.
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED