Seraya Psikologi — Documentation

Booking and payment MVP · Implementation baseline · 96 ADR

53. Use 24-hour and 2-hour Appointment Reminders

Status

Accepted for the MVP working model; exact opt-out, quiet hours, and provider failure behavior remain open.

Context

A single reminder may be missed; too many reminders add noise. The practice uses Asia/Jakarta operational time and needs predictable behavior when an Appointment is rescheduled or cancelled.

Decision

Schedule two transactional email reminders by default:

Offsets are configurable by Admin within the notification policy. ReminderSchedule computes them from the Appointment's canonical instant and renders Asia/Jakarta local date/time. Reschedule/cancellation/terminal outcome cancels stale reminders and creates new ones where applicable. Each send has an idempotency key so retries cannot duplicate a reminder.

Consequences

Positive:

Costs and constraints:

Open follow-up

Define package-expiry offsets, notification opt-out/mandatory rules, quiet hours, and late-created appointment behavior.