Print Page as PDF
Available Slots API ICR (7070)

Available Slots API    ICR (7070)

Name Value
NUMBER 7070
IA # 7070
DATE CREATED 2019/05/08
CUSTODIAL PACKAGE SCHEDULING
USAGE Controlled Subscription
TYPE Routine
ROUTINE SDEC57
NAME Available Slots API
GENERAL DESCRIPTION
Returns list of slots set up for a clinic for a date
range along with their availability.
STATUS Pending
DURATION Till Otherwise Agreed
ID SDEC57
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
APPSLOTS
VARIABLES TYPE VARIABLES DESCRIPTION
SDECY Output
stores name of global array where results are
returned.  line 0 contains a header line

T00030DATE^T00030START_TIME^T00030END_TIME^I00010AVAILABILITY

if the API call fails, line 1 contains -1 ^ error description

if the API call succeeds, lines 1-n contain:

date in FM format ^ slot start time (hhmm) ^ slot end time ^ availability code

availability code = 0-9,j-z corresponding to number of slots available for
appointments (0-26)
= A-W corresponding to number of slots overbooked (1-23)
SDECRES Input
Resource - either pointer to #409.831 or resource
name (.01 field).
SDECSTART Input
Start date of range in external format.
SDECEND Input
End date of range in external format.