SDEC APPDEL (3551)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC APPDEL
TAG APPDEL
ROUTINE SDEC
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
Cancel Appointment
INPUT PARAMETER
  • SDECAPTID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Pointer to SDEC APPOINTMENT file 409.84.
    
  • EASTRCKNGNMBR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   11
    DESCRIPTION:   
    Enterprise Appointment Scheduling Tracking Number associated to an 
    appointment.
    
  • SDECTYP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Appointment Status valid values:
      C=CANCELLED BY CLINIC
    PC=CANCELLED BY PATIENT
    
  • SDECCR
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    pointer to CANCELLATION REASON file 409.2
    
  • SDECNOT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Text representing user note
    
  • SDECDATE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Cancel Date/Time in external format.
    Defaults to NOW.
    
  • USERIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    User that cancelled appointment
    pointer to NEW PERSON file
    defaults to current user
    
  • SDF
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Flag to be passed in by external applications to determine whether a
    cancelled appointment should be re-opened.
     SDF=1 or null (default) - Appointment reopened
     SDF=2                   - Appointment not reopened.
                               Appointment closed with disposition of
                               "REMOVED/EXTERNAL APP"
    
  • SDECCMT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   31000
    REQUIRED:   NO
    SEQUENCE NUMBER:   9
    DESCRIPTION:   
    A list of cancellation comment hash tags separated by ^ (e.g. 
    FIRST^SECOND).  Hash tags are added to the appointment comment field and 
    to the CANCELLATION REMARKS Field (#17) in the appointment multiple of the
    PATIENT File (#2).  Only first 160 characters will be filed into the 
    PATIENT File.
    
  • NEWPID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   25
    REQUIRED:   NO
    SEQUENCE NUMBER:   10
    DESCRIPTION:   
    This is the new PID parameter which is only allowed when using "Cancel by 
    Patient".
    
RETURN PARAMETER DESCRIPTION
Returns ERRORID