title Book Appointment bottomparticipants actor "Customer" as A boundary "Book Appointment" as B control "Booking Controller" as C # entity "Forms" as D database "Database" as E A->B:Customer enquires about\nan appointment B->C: C->E:get_available_treatments E->C: C->B: B->A:Display treatments A->B:Select treatment B->C: C->E:get_available_times E->C: C->B: B->A:Display available times A->B:Select time B->C: C->E:confirm_booking E->C: C->B: B->A:Confirm booking