Audit & Compliance

Every action is logged with before/after snapshots for regulatory compliance and accountability.

Data Model

  • timestamp — when the action occurred
  • userId — who performed the action
  • action — create, update, delete, verify, escalate
  • entity — profile, medication, task, contact
  • beforeJson / afterJson — full state snapshots

API Endpoints

  • GET /api/care-profiles/:id/audit — Full audit trail

Live Audit Log