Ebony Reports

Ortho Sold by Dental Day

Path/ortho-sold-by-dental-day
Statustodo
Drill-down pages—
Pop-ups(+2 inline)
Tabs—
API routes/api/data/offices
/api/data/ortho-sold-by-dental-day

Business rules

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

Database tables & columns

TableColumns used
dh_procedures_current viewada_code, amount, bill_to_insurance, description, location_id, patient_id, service_date, status
bookingsapp, calendar_id, date, patient_id, status
calendarscalendar_name, dentrix_office_id, hubspot_id, short_code, status
companieshubspot_id, name, slug
dentrix_officesapp, dentrix_id, display_name, id, name
dh_patient_proceduresread through the view dh_procedures_current
dh_patientsdentrix_id, first_name, last_name
patientsdentrix_patient_id, id
schedulescalendar_id, capacity, date, end_hour, start_hour

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • OrthoSoldByDentalDay.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
            • TableLoading.tsx
          • TablePagination.tsx
        • hooks/
          • useApi.ts
          • useDebounce.ts
        • services/
          • api.ts
    • worker/
      • src/
        • routes/
          • data.ts
        • services/
          • phi-read.ts
        • utils/
          • booking-status.ts
          • crypto.ts
          • office.ts
          • phi-access.ts
          • phi-crypto.ts