SDES GET AVAIL BY STOP CODE (4823)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES GET AVAIL BY STOP CODE
TAG SCAVAIL
ROUTINE SDESGETAVAILSC
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will get clinic availability given a primary stop code, 
secondary stop codes, beginning date and ending date.
INPUT PARAMETER
  • STOPCODE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   3
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the primary stop code being searched.
    
  • CREDSTOPCODES
    PARAMETER TYPE:   LIST
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is a list of credit (secondary) stop codes.
     
    LIST(STOPCODE)=""
    LIST(123)=""
    LIST(125)=""
    
  • STRTDATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    The start date for availability search.
    
  • ENDDATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    The end date for availability search.
    
  • NUMBERRET
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    The number of entries to be returned (1-50). Defaults to 10.
    
  • SDEAS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   40
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Enterprise Appointment Scheduling (EAS) Tracking Number associated to an 
    appointment.
    
  • EASAUDITID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   40
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The EAS Audit ID.
    
RETURN PARAMETER DESCRIPTION
{
  {
   "AppointmentEnd": "2023-02-28T13:30-0500",
   "AppointmentStart": "2023-02-28T13:15-0500",
   "AvailableSlots": 1,
   "ClinicID": 1314,
   "ClinicName": "CHY CPL NCV/EMG"
  },
 ]
}
 "Availability": [
  {
   "AppointmentEnd": "2023-02-28T13:15-0500",
   "AppointmentStart": "2023-02-28T13:00-0500",
   "AvailableSlots": 1,
   "ClinicID": 1314,
   "ClinicName": "CHY CPL NCV/EMG"
  },