Admin

Patient Records

Path/patient-records
Statustodo
Drill-down pagesโ€”
Pop-ups(+2 inline)
Tabs3
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

TableColumns used
dh_patientsdentrix_id, first_name, first_name_encrypted, last_name, last_name_encrypted
dh_providersdentrix_id, first_name, last_name, short_name

File structure

Its own files

  • apps/
    • web/
      • src/
        • pages/
          • PatientRecords.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
            • ReportHeader.tsx
        • hooks/
          • useApi.ts
          • useDebounce.ts
        • services/
          • api.ts
    • 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