Accounts Receivable
Unsent Claims
| Path | /unsent-claims |
|---|---|
| Status | todo |
| Drill-down pages | — |
| Pop-ups | (+3 inline) |
| Tabs | — |
| API routes | /api/data/email-recipients/api/data/offices/api/reports/unsent-claims/api/reports/unsent-claims/notes/api/reports/unsent-claims/send/api/reports/unsent-claims/sends |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
agent_unsent_claims | amount, carrier_name, claim_id, claim_state, claim_type, created_date, is_predetermination, location_id, location_name, patient_id, patient_name, service_date, subscriber_name, synced_at |
dentrix_offices | active, dentrix_id, display_name, name |
dh_claim_procedures | claim_id, patient_id |
dh_patient_balances | balance, patient_id |
email_sends | app, error, lang, provider, recipients, ref, sent_by, status, subject, subject_encrypted, template_key, to_email, to_email_encrypted, to_email_hash |
email_templates | active, bcc_emails, body_en, body_es, from_email, key, reply_to, subject_en, subject_es, to_emails |
unsent_claim_notes | biller_request, biller_request_encrypted, claim_id, office_response, office_response_encrypted, updated_at, updated_by |
unsent_claim_report_sends | claim_count, id, office_name, sent_at, sent_by, sent_to, total_amount |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- UnsentClaims.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
- reports/
- hooks/
- useApi.ts
- services/
- api.ts
- components/
- src/
- worker/
- src/
- db/
- index.ts
- routes/
- data.ts
- reports.ts
- services/
- email-templates.ts
- phi-read.ts
- utils/
- crypto.ts
- email.ts
- office.ts
- phi-access.ts
- phi-crypto.ts
- timestamps.ts
- db/
- src/
- web/