Routing
File: packages/chartchat-admin/src/AppRoutes.tsx
Public routes (no login required)​
| Path | Page | Description |
|---|---|---|
/signin | SignInPage | Admin sign in |
/register | RegisterPage | New admin registration |
/resetpassword | ResetPasswordPage | Request password reset |
/setpassword/:id/:secret | SetPasswordPage | Set new password via email link |
/verifyemail/:id/:secret | VerifyEmailPage | Verify email address |
/oauth | OAuthPage | OAuth callback handler |
/changepassword | ChangePasswordPage | Change current password |
/mfa | MfaPage | MFA setup |
/security | SecurityPage | Account security settings |
Utility routes​
| Path | Page | Description |
|---|---|---|
/batch | BatchPage | Upload and execute FHIR Bundle JSON — drag-and-drop a file or paste JSON directly |
/smart | SmartSearchPage | FHIRPath-based search with custom field display — opened programmatically from search results |
/bulk/:resourceType | BulkAppPage | Shows all Questionnaire resources whose subject-type matches the resource type; accepts ?ids=id1,id2,... to pass selected resource IDs into a form |
/forms/:id | FormPage | Renders a Questionnaire resource as a form and submits a QuestionnaireResponse |
ChartChat-specific routes​
| Path | Page | Description |
|---|---|---|
/hospitals | HospitalsPage | List all hospital integrations |
/hospitals/new | HospitalIntegrationPage | Create a new hospital integration |
/hospitals/:id | HospitalIntegrationPage | Edit an existing hospital integration |
/support | SupportTicketsPage | List all support tickets |
/support/:id | SupportTicketDetailPage | View and reply to a support ticket |
/reports/engagement | PatientEngagementPage | Patient engagement analytics |
/reports/chat-analytics | AiChatAnalyticsPage | AI chat usage analytics |
/reports/ehr-health | EhrHealthPage | EHR integration health dashboard |
/invite-patient | InvitePatientPage | Invite a new patient |
/activity-log | ActivityLogPage | System audit log |
/lab/assays | AssaysPage | Lab assay management |
/lab/panels | PanelsPage | Lab panel management |
Project admin routes​
| Path | Page |
|---|---|
/admin | ProjectPage (parent layout) |
/admin/patients | PatientsPage |
/admin/members/new | MemberRegistrationPage |
/admin/bots | BotsPage |
/admin/bots/new | CreateBotPage |
/admin/clients | ClientsPage |
/admin/clients/new | CreateClientPage |
/admin/details | ProjectDetailsPage |
/admin/invite | InvitePage |
/admin/users | UsersPage |
/admin/secrets | SecretsPage |
/admin/sites | SitesPage |
/admin/members/:membershipId | EditMembershipPage |
Super admin routes​
| Path | Page |
|---|---|
/admin/super | SuperAdminPage |
/admin/super/asyncjob | SuperAdminAsyncDashboardPage |
/admin/super/db | DatabaseToolsPage |
/admin/config | ProjectAdminConfigPage |
Generic FHIR resource routes​
| Path | Page |
|---|---|
/:resourceType | HomePage — list resources |
/:resourceType/new | CreateResourcePage |
/:resourceType/:id | ResourcePage (with nested tabs below) |
/:resourceType/:id/details | DetailsPage |
/:resourceType/:id/edit | EditPage |
/:resourceType/:id/json | JsonPage |
/:resourceType/:id/history | HistoryPage |
/:resourceType/:id/delete | DeletePage |
/:resourceType/:id/timeline | TimelinePage |
/:resourceType/:id/event | AuditEventPage |
/:resourceType/:id/builder | BuilderPage |
/:resourceType/:id/export | ExportPage |