Ebony Reports
Insurance Report by Dental Day
| Path | /insurance-audit-by-dental-day |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+3 inline) |
| Tabs | — |
| API routes | /api/data/insurance-audit-by-dental-day/api/data/insurance-audit-by-dental-day/note/api/data/offices |
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, patient_id, service_date, state, status, teeth |
bookings | app, calendar_id, date, patient_id, status |
calendars | calendar_name, city, dentrix_office_id, hubspot_id, requested_by, requested_by_name, short_code, state, status, street_address, zip_code |
companies | hubspot_id, name, slug |
dentrix_offices | app, dentrix_id, name |
dh_patient_procedures | read through the view dh_procedures_current |
dh_patients | dentrix_id, first_name, last_name |
insurance_report_notes | calendar_id, date, note, updated_at, updated_by |
patients | dentrix_patient_id, id |
schedules | calendar_id, capacity, date, end_hour, start_hour |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- InsuranceAuditByDentalDay.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/