Admin
Appointments
| Path | /appointments |
|---|---|
| Status | todo |
| Drill-down pages | /create-appointment |
| Pop-ups | (+3 inline) |
| Tabs | โ |
| API routes | /api/data/appointments/api/data/offices |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
dentrix_offices | dentrix_id, display_name, name |
dh_appointments | id, location_id, notes_encrypted, patient_id, provider_id, source, start_time, status, type |
dh_patients | dentrix_id, first_name, first_name_encrypted, last_name, last_name_encrypted |
dh_providers | dentrix_id, first_name, last_name |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- Appointments.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
- ReportHeader.tsx
- TableLoading.tsx
- LastSynced.tsx
- TablePagination.tsx
- reports/
- hooks/
- useApi.ts
- useDebounce.ts
- components/
- src/
- worker/
- src/
- routes/
- data.ts
- services/
- phi-read-dh.ts
- phi-read.ts
- utils/
- crypto.ts
- office.ts
- phi-access.ts
- phi-crypto.ts
- routes/
- src/
- web/