Modified for Capacity and Appointment Details Panel and New Appointment Link also works.