Reports - Dental Days

Smiles Delivered

Path/smiles-delivered
Statustodo
Drill-down pages—
Pop-ups(+2 inline)
Tabs—
API routes/api/data/offices
/api/data/smiles-delivered:x

Business rules

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

Database tables & columns

TableColumns used
dentrix_offices(columns not named in the SQL)
dh_appointmentslocation_id, patient_id, start_time, status

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • SmilesDelivered.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
          • LastSynced.tsx
        • hooks/
          • useApi.ts
    • worker/
      • src/
        • routes/
          • data.ts
        • utils/
          • office.ts