getTimeSlots

abstract fun getTimeSlots(departmentName: String, visitTypeShortName: VisitTypeShortName? = null): DataObserver<ClinicTimeSlot>

Provides an api to get time slots for a 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 Clinic has a list of AllowedVisitType, which represents visit types the Clinic 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