Ebony Reports

Insurance Report by Dental Day

Path/insurance-audit-by-dental-day
Statustodo
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

TableColumns used
dh_procedures_current viewada_code, amount, bill_to_insurance, description, patient_id, service_date, state, status, teeth
bookingsapp, calendar_id, date, patient_id, status
calendarscalendar_name, city, dentrix_office_id, hubspot_id, requested_by, requested_by_name, short_code, state, status, street_address, zip_code
companieshubspot_id, name, slug
dentrix_officesapp, dentrix_id, name
dh_patient_proceduresread through the view dh_procedures_current
dh_patientsdentrix_id, first_name, last_name
insurance_report_notescalendar_id, date, note, updated_at, updated_by
patientsdentrix_patient_id, id
schedulescalendar_id, capacity, date, end_hour, start_hour

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • InsuranceAuditByDentalDay.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