Refactor controller scheduledAppointmentBlocks