Skip to content

Patient Timeline — events

Scaffolded stub — replace with proper documentation when this module is next touched.

Per-module slice of docs/events-catalog.md (auto-generated). Update both files when adding or removing events.

Published

This module does not publish any events.

Subscribed

EventHandlerEffect
agenda.visit_note_updatedHandler module path.What it does in response.
appointment.cancelledHandler module path.What it does in response.
appointment.checked_inHandler module path.What it does in response.
appointment.completedHandler module path.What it does in response.
appointment.confirmedHandler module path.What it does in response.
appointment.in_treatmentHandler module path.What it does in response.
appointment.no_showHandler module path.What it does in response.
appointment.scheduledHandler module path.What it does in response.
budget.acceptedHandler module path.What it does in response.
budget.expiredHandler module path.What it does in response.
budget.rejectedHandler module path.What it does in response.
budget.reminder_sentHandler module path.What it does in response.
budget.renegotiatedHandler module path.What it does in response.
budget.sentHandler module path.What it does in response.
budget.viewedHandler module path.What it does in response.
clinical_notes.administrative_createdHandler module path.What it does in response.
clinical_notes.diagnosis_createdHandler module path.What it does in response.
clinical_notes.plan_createdHandler module path.What it does in response.
clinical_notes.treatment_createdHandler module path.What it does in response.
document.uploadedHandler module path.What it does in response.
email.failedHandler module path.What it does in response.
email.sentHandler module path.What it does in response.
invoice.issuedHandler module path.What it does in response.
invoice.paidHandler module path.What it does in response.
media.pair_createdHandler module path.What it does in response.
media.photo_uploadedHandler module path.What it does in response.
odontogram.treatment.performedHandler module path.What it does in response.
patient.medical_updatedHandler module path.What it does in response.
treatment_plan.closedHandler module path.What it does in response.
treatment_plan.confirmedHandler module path.What it does in response.
treatment_plan.createdHandler module path.What it does in response.
treatment_plan.item_completed_without_noteHandler module path.What it does in response.
treatment_plan.reactivatedHandler module path.What it does in response.
treatment_plan.treatment_completedHandler module path.What it does in response.

Adding a new event

  1. Add the constant to backend/app/core/events/types.py (EventType).
  2. Publish from a service method, after the DB commit succeeds.
  3. Add the row to the table(s) above.
  4. Run python backend/scripts/generate_catalogs.py to refresh the global catalog.