Admin Panel Overview
Administration Panel Overview
The DigitVA administration panel at /admin is the central hub for managing
master data, users, access grants, ODK connections, and project configuration.
It is an HTMX-driven single-page interface where selecting a panel from the
left sidebar dynamically loads its content into the main area without a full
page reload.
Accessing the Admin Panel
The admin panel is available to authenticated users who hold the admin or project_pi role. Not all panels are visible to every role. After the page loads, a JavaScript bootstrap call determines the user's role and reveals or hides panels client-side.
Panel Layout
The interface uses a Bootstrap-based two-column layout. The left sidebar lists all panels the current user is authorized to see. Clicking a panel name loads its content into the right-hand content area using HTMX partial responses. The active panel is highlighted in the sidebar.
Admin-Only Panels
The following panels are restricted to users with the admin role:
- Projects — create and configure projects. See Projects.
- Training sessions — create and manage sessions in the training and demo project. See Training & Demo Project.
- Mentoring institutes — manage mentoring institutes. See Medical College & Mentoring Staff.
- Project Forms — configure per-site ODK form mappings and SmartVA settings. See Project-Form Settings.
- Project PIs — manage PI assignments scoped to a project.
- Sites — manage site master data. See Sites.
- Users — create, deactivate, and reset user accounts; assign coder languages.
- Languages — manage canonical languages and ODK alias mappings.
- ODK Connections — manage ODK Central server connections, encrypted credentials, and connection health. See ODK Connections.
- Field Mapping — configure how ODK fields are displayed in the coding form.
- COD Buckets — edit COD reporting schemes and ICD-to-disease remapping.
- ICD-10 Browser — browse the ICD-10 code hierarchy with local policy curation.
- ICD-11 Browser — browse the ICD-11 code hierarchy.
- ICD Search Vocabulary — manage clinician shorthand and synonyms for the cause-of-death search box.
- VA Definitions — manage VA term definitions. See VA Cause Definitions.
- Instrument Translations — manage translations of the VA instrument.
- UI Strings — manage translated interface text.
- Data Sync — trigger, monitor, and troubleshoot ODK data sync. See Sync Behavior.
- Attachments — monitor and repair attachment storage, the SmartVA run archive and database backups.
- Activity — view a workflow activity log of state-changing actions.
- System health — check TLS certificate expiry and attachment-store access.
Project-PI-Accessible Panels
Users with the project_pi role can access the following panels, scoped to their own assigned project:
- Organization — the project's organization tree and people.
- Access Grants — manage user-to-project/site role assignments.
- Project Sites — map sites to projects. See Project-Site Associations.
CSRF Protection
X-CSRFToken request header. This applies to both traditional
form submissions and HTMX-driven partial updates.
Common Tasks
| Task | Panel | Required Role |
|---|---|---|
| Add a new ODK Central server | ODK Connections | admin |
| Create a new project | Projects | admin |
| Add a new site | Sites | admin |
| Assign a coder to a project-site | Access Grants | admin or project_pi |
| Map a site to a project | Project Sites | admin or project_pi |
| Link an ODK form to a project-site | Project Forms | admin |
| Trigger an ODK data sync | Data Sync | admin |
| Manage language aliases | Languages | admin |