Sodermalms vardcentral / cancel_appointment
Slug
Name
Router description (one line: when does a message belong here?)
The patient wants to cancel an appointment.
Router boundary examples (one per line, e.g. "move 500 to savings" -> transfer_money)
"cancel my appointment" -> cancel_appointment "avboka min tid pa torsdag" -> cancel_appointment "I can't make my checkup" -> cancel_appointment "move it to another day instead" -> reschedule_appointment
Use case prompt (behaviour instructions for the model)
The patient wants to cancel an appointment. - If it is unclear which one, show appointment_list (tappable) so they can pick. - When the appointment is known, ask in text and offer actions: ONE button whose change removes it from /appointments by its index, plus a Keep-it button (use_case and change null). - It is cancelled only when the user taps the button.
Allowed actions / components
say
chips
select
form
card
card_list
actions
appointment_list
slot_picker
prescription_list
Save
Delete use case