Reports - Dental Days

Dental Day Waitlist

Path/dental-day-waitlist
Statustodo
Drill-down pages—
Pop-ups(+2 inline)
Tabs—
API routes/api/dd-waitlist
/api/dd-waitlist/:id

Business rules

Written when this page is worked on (docs/BUSINESS-RULES.md).

Database tables & columns

TableColumns used
dental_day_waitlistcalendar_code, calendar_name, company_name, company_slug, created_at, email, first_name, id, last_name, notes, notes_at, notes_by, offer_sent_at, offer_slots, phone, preferred_time, requested_date, source, status, status_at, status_by
email_sendserror, ref, sent_at, status, template_key

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • DentalDayWaitlist.tsx

Shared code it uses (followed through its imports and the helpers its API calls; sign-in/access plumbing and UI primitives left out)

  • apps/
    • web/
      • src/
        • components/
          • reports/
            • DentrixSourceNote.tsx
            • HowItWorksNote.tsx
            • ReportHeader.tsx
            • sortable-grid.tsx
          • LastSynced.tsx
        • services/
          • api.ts
    • worker/
      • src/
        • lib/
          • dates.ts
        • routes/
          • dd-waitlist.ts
        • services/
          • dd-waitlist-availability.ts
          • phi-read.ts
        • utils/
          • crypto.ts
          • phi-access.ts
          • phi-crypto.ts