SDEC APPADD (3562)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC APPADD
TAG APPADD
ROUTINE SDEC07
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
ADD NEW APPOINTMENT
INPUT PARAMETER
  • SDECSTART
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Appointment start date/time in external format
    
  • SDDDT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   10
    DESCRIPTION:   
    Desired Date of Appointment in external format
    
  • SDREQBY
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   11
    DESCRIPTION:   
    Requested By
    Valid Values are:
      PROVIDER
      PATIENT
    
  • SDLAB
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   12
    DESCRIPTION:   
    LAB date/time in external format
    
  • PROVIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   13
    DESCRIPTION:   
    Provider pointer to NEW PERSONE file.
    
  • SDID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   14
    DESCRIPTION:   
    External ID (free-text)
    
  • SDAPTYP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   15
    DESCRIPTION:   
    SDAPTYP - (required) Appt Request type - variable pointer pointer to
                         one of these files:
      SD WAIT LIST - E|<WL IEN> E|123
      REQUEST/CONSULTATION - C|<CONSULT IEN> C|123
      RECALL REMINDERS - R|^<RECALL IEN> R|123
    
  • SDSVCP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   16
    DESCRIPTION:   
    Service Connected Priority
    Valid values are
      NO
      YES
    
  • SDSVCPR
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   17
    DESCRIPTION:   
    Service Connected Percentage
    numeric 0-100
    
  • SDCL
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   18
    DESCRIPTION:   
    Clinic ID pointer to HOSPITAL LOCATION file 44
    
  • SDEKG
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   19
    DESCRIPTION:   
    EKG date/time in external format
    
  • SDECEND
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Appointment end date/time in external format
    
  • SDXRAY
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   20
    DESCRIPTION:   
    X-RAY date/time in external format.
    
  • APPTYPE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   21
    DESCRIPTION:   
    Appointment Type ID pointer to APPOINTMENT TYPE file 409.1.
    Only used for Consults.
    
  • EESTAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   22
    DESCRIPTION:   
    This is the flag for either "N"ew or "E"stablished status regarding the 
     SD WAIT LIST (#409.3) file.
    
  • OVB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   23
    DESCRIPTION:   
    This is the OVERBOOK Flag where 0=no and 1=yes.
    
  • SDPARENT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   24
    DESCRIPTION:   
    This field represents the parent appointment request in SDEC APPT REQUEST 
    (#409.85) file.
    
  • SDEL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   25
    DESCRIPTION:   
    Eligibility Code associated with Eligibility Code (#8) file
    
  • EASTRCKNGNMBR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   26
    DESCRIPTION:   
    Enterprise Appointment Scheduling Tracking Number associated to an 
    appointment.
    
  • DFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Patient ID - pointer to the PATIENT file 2
    
  • SDECRES
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Resource - pointer to SDEC RESOURCE file
    
  • SDECLEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Appointment duration in minutes
    
  • SDECNOTE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    Represents a note; Only the 1st 150 characters are used
    
  • SDECATID
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    SDECATID is used for 2 purposes:
                if SDECATID = "WALKIN" then create a walkin appt.
                if SDECATID = a number, then it is the access type id
                (used for rebooking)
    
  • SDECCR
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    0=don't print routing slip for WALKIN/Same Day appointment
    1=allow print routing slip
    
  • SDMTRC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   9
    DESCRIPTION:   
    MTRC flag (multiple appointments)
    Valid values are  False True
    
RETURN PARAMETER DESCRIPTION
A single entry in the Global Array containing recordset having fields
AppointmentID and ErrorNumber