This screen should feel procedural, not crowded: verify access, capture patient details, then move straight into the live case workspace.
Confirm the active Supabase role metadata or local fallback actor context.
Collect patient identity, DOB, and contact details before starting.
Switch to an address only when the injection location is in-home.
Protected routes require a Supabase access token whose user metadata resolves to `Tech`, `Pharmacist`, or `Admin`, so this panel stays focused on authentication and role status only.
Use Google when the team already works from managed Supabase accounts.
Send a magic-link sign-in email when passwordless access is enabled for the current Supabase project.
Verify the authenticated user or local actor context first.
Enter patient demographics and the injection setting cleanly once.
Create the case and move directly into the gated workflow workspace.