Ebony Reports
Ortho Sold by Dental Day
| Path | /ortho-sold-by-dental-day |
|---|---|
| Status | todo |
| 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
| Table | Columns used |
|---|---|
dh_procedures_current view | ada_code, amount, bill_to_insurance, description, location_id, patient_id, service_date, status |
bookings | app, calendar_id, date, patient_id, status |
calendars | calendar_name, dentrix_office_id, hubspot_id, short_code, status |
companies | hubspot_id, name, slug |
dentrix_offices | app, dentrix_id, display_name, id, name |
dh_patient_procedures | read through the view dh_procedures_current |
dh_patients | dentrix_id, first_name, last_name |
patients | dentrix_patient_id, id |
schedules | calendar_id, capacity, date, end_hour, start_hour |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- OrthoSoldByDentalDay.tsx
- pages/
- src/
- web/
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
- reports/
- hooks/
- useApi.ts
- useDebounce.ts
- services/
- api.ts
- components/
- src/
- worker/
- src/
- routes/
- data.ts
- services/
- phi-read.ts
- utils/
- booking-status.ts
- crypto.ts
- office.ts
- phi-access.ts
- phi-crypto.ts
- routes/
- src/
- web/