An API-only Laravel backend connecting hospitals and clinical staff — with AI-assisted triage, event-driven notifications, and full audit logging.
Referrals are automatically analyzed and routed to the right clinical department.
Audit logging, notifications, and escalation are decoupled side effects, not inline logic.
Patient data is AES-256 encrypted at the application layer, never logged in plaintext.
Stateless hospital API keys plus staff Sanctum tokens, each scoped to its own routes.
Duplicate referral submissions are detected and merged via content hashing.
Every status transition and assignment is logged for compliance and traceability.