Budget — 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
| Event | Handler | Effect |
|---|---|---|
odontogram.treatment.performed | Handler module path. | What it does in response. |
treatment_plan.budget_sync_requested | Handler module path. | What it does in response. |
treatment_plan.treatment_added | Handler module path. | What it does in response. |
treatment_plan.treatment_removed | Handler module path. | What it does in response. |
Adding a new event
- Add the constant to
backend/app/core/events/types.py(EventType). - Publish from a service method, after the DB commit succeeds.
- Add the row to the table(s) above.
- Run
python backend/scripts/generate_catalogs.pyto refresh the global catalog.