The New Audit page (Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/gr/audits/new) renders AuditSetupWizardPage, a full-page wizard powered by ModuleWizardRenderer (PF-41) that creates a new gr_audits record along with team assignments and checklists.
Overview
AuditSetupWizardPage uses the ModuleWizardRenderer with wizardType = 'audit_setup'. The wizard:
- Creates a
gr_auditsrow (authoritative insert). - Creates
gr_audit_team_assignmentsrows. - Creates
gr_audit_checklistsrows.
trackWizardEvent using template ID 'gr-audit-setup-wizard'. On completion, navigation returns to /gr/audits. A back button is available to cancel and return to the audit list.
The exact wizard steps are defined by the audit_setup wizard template in pf_wizard_templates (database-driven; content not determinable from code alone).
Who it’s for
Requires permission:gr.audits.manage (GR_PERMISSIONS.AUDITS_MANAGE). Users without this permission cannot access this route.
Before you start
- You must hold
gr.audits.manage. - Ensure you have identified the audit scope, type, team members, and checklist items before starting.
Steps
Open the New Audit wizard
Navigate to
/gr/audits/new or click the create audit action from /gr/audits. The wizard loads its steps from the audit_setup template.Complete each wizard step
Follow each step as prompted by the
ModuleWizardRenderer. Steps cover audit identification, team assignment, and checklist configuration.Submit the audit
On the final review step, submit the wizard. The platform creates the
gr_audits record, team assignments, and checklists in sequence.Return to Audit List
After completion, you are navigated to
/gr/audits. The new audit appears in the list.Key concepts
- ModuleWizardRenderer (PF-41) — platform component that renders wizard steps from a
pf_wizard_templatesdatabase record identified bywizardType. - audit_setup — wizard type identifier (
WizardType) for audit creation. - gr_audit_team_assignments / gr_audit_checklists — ancillary records created alongside the primary
gr_auditsrow. - trackWizardEvent — telemetry utility that records step progression using PHI-free identifiers (IDs, step indices, timing only).
Related
Governance & Compliance
Governance & Compliance core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/gr.tsx
- src/cores/gr/wizards/audit-setup/AuditSetupWizardPage.tsx
- src/platform/permissions/constants.ts