Print Page as PDF
Clinic Schedule - Slot Availability API ICR (7082)

Clinic Schedule - Slot Availability API    ICR (7082)

Name Value
NUMBER 7082
IA # 7082
DATE CREATED 2019/05/30
CUSTODIAL PACKAGE SCHEDULING
USAGE Controlled Subscription
TYPE Routine
ROUTINE SDEC57
NAME Clinic Schedule - Slot Availability API
GENERAL DESCRIPTION
Returns the slot counts for the clinic associated with
a resource for a date range.
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 the global array where results are
returned.

Line 0 of the array contains the following header:

T00030DATE ^ T00030START_TIME ^ T00030END_TIME ^ I00010AVAILABILITY

All errors are returned as -1^error text.

Successful calls populate the remaining lines in the array as follows:

DATE         = Date (FileMan format) START_TIME   = Start time (HHMM format)
END_TIME     = End time (HHMM format) AVAILABILITY = Number of available slots
between start and end time.

Note: AVAILABILITY is set to null if no slots are available and is set to X if
clinic availability has been cancelled for the time slot.
SDECRES Input
Resource (pointer to #409.831)  REQUIRED
SDECSTART Input
Start date (external format)  REQUIRED
SDECEND Input
End date (external format)  REQUIRED