get Time Slots
abstract fun getTimeSlots(departmentName: String, visitTypeShortName: VisitTypeShortName? = null): DataObserver<RetailAppointmentTimeSlot>
Content copied to clipboard
Provides an api to get time slots for a Retail clinic.
See also
Parameters
departmentName
This can be retrieved from a Clinic object
visitTypeShortName
A VisitTypeShortName representing the short name of a visit type to get time slots for.
Each RetailDepartment has a list of AllowedVisitType, which represents visit types the Clinic\Department supports. A list of default visit types can be seen in VisitType, but this parameter will accept any visit type short name as defined on your Epic instance.
When visitTypeShortName is null, "Illness" will be used.
Throws
When departmentName is empty string