Reports - Dental Days

Operatory Splits

Path/operatory-splits
Statustodo
Drill-down pages—
Pop-ups(+2 inline)
Tabs—
API routes/api/data/offices
/api/data/operatory-splits
/api/data/operatory-splits${qs

Business rules

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

Database tables & columns

TableColumns used
calendar_operatory_splitscalendar_id, date, operatory_dentrix_id
calendarscalendar_name, dentrix_office_id, hubspot_id, short_code, status
companieshubspot_id, name
dentrix_officesapp, dentrix_id, name
email_recipientsactive, email, email_type, notify_types
email_sendsapp, error, lang, provider, recipients, ref, sent_by, status, subject, subject_encrypted, template_key, to_email, to_email_encrypted, to_email_hash
email_templatesactive, bcc_emails, body_en, body_es, from_email, key, reply_to, subject_en, subject_es, to_emails
operatoriesactive, app, dentrix_id, name, office_id, short_name, use_for_booking
schedulescalendar_id, capacity, date

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • OperatorySplits.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/
          • forms/
            • DatePicker.tsx
          • reports/
            • DentrixSourceNote.tsx
            • HowItWorksNote.tsx
            • ReportHeader.tsx
        • contexts/
          • AuthContext.tsx
        • hooks/
          • useApi.ts
    • worker/
      • src/
        • db/
          • index.ts
        • routes/
          • data.ts
        • services/
          • email-templates.ts
        • utils/
          • email.ts
          • office.ts