Admin
Patient Records
| Path | /patient-records |
|---|---|
| Status | todo |
| Drill-down pages | โ |
| Pop-ups | (+2 inline) |
| Tabs | 3 |
| API routes | /api/dentrix/patient-records/:x/api/dentrix/patient-records/document/:x/url/api/dentrix/patient-records/search |
Business rules
Written when this page is worked on (docs/BUSINESS-RULES.md).
Database tables & columns
| Table | Columns used |
|---|---|
dh_patients | dentrix_id, first_name, first_name_encrypted, last_name, last_name_encrypted |
dh_providers | dentrix_id, first_name, last_name, short_name |
File structure
Its own files
- apps/
- web/
- src/
- pages/
- PatientRecords.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
- reports/
- hooks/
- useApi.ts
- useDebounce.ts
- services/
- api.ts
- components/
- src/
- worker/
- src/
- db/
- index.ts
- routes/
- dentrix.ts
- services/
- phi-read-dh.ts
- phi-read.ts
- utils/
- crypto.ts
- phi-access.ts
- phi-crypto.ts
- db/
- src/
- web/