feat(rabbits): medical/health record tracking #22
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
There is currently no tracking for vet visits, medications, vaccinations, weight, or other health events — only static
neutered_spayedstatus exists on the rabbit record.Data model
New table
HealthRecord:rabbit_idFKdate— when it happenedrecord_type— fixed enum (not free text, for consistent filtering/reporting):Vet Visit,Medication,Vaccination,Weight Check,Nail Clip,Othernotes— free text (symptoms, diagnosis, dosage, etc.)weight_kg— nullable float, broken out as its own column (not buried in notes) since it's the one field worth tracking as a trend laternext_due_date— nullable, for recurring care (booster vaccination, next nail clip)created_at,user_id(who logged it, mirrors the audit log pattern)UI
app/routers/timesheets.py/timesheets/_row.html).weight_kgis stored now; a weight-over-time chart is explicitly out of scope for this issue (future enhancement once there's enough data logged to be useful).Dependency
next_due_datein the past or due soon should feed into the dashboard "needs attention" widget (#21) once that exists — flag as a follow-on, not a blocker for this issue.Permissions