/gr/compliance/requirements.
Overview
The page is rendered byRequirementLibrary and calls useRegulatoryRequirementList with deferred search and multi-dimensional filters. Pagination is rendered via a custom getPageNumbers helper. Users can switch between grid and list view. The Add Requirement button navigates to /gr/compliance/requirements/new (protected separately by gr.compliance.admin). An AI wizard button is also present (navigates to the compliance requirement wizard). Reference categories are loaded via useReferencePicklist. No permission gate is declared on this route in gr.tsx.
Who it’s for
Access follows your organization’s role and module configuration.- No special permission is required to view the requirement library.
- Creating requirements requires
gr.compliance.admin.
Finding a requirement
- Go to Governance & Compliance → Compliance → Requirements at
/gr/compliance/requirements. - Use the search bar to find requirements by keyword.
- Apply Category, Status, and Priority filters to narrow the list.
- Toggle between grid and list view as preferred.
- Select a requirement card to open the Requirement Details page.
- Select Add Requirement to create a new requirement (requires
gr.compliance.admin).
Viewing a requirement
The Requirement Details page (/gr/compliance/requirements/:id) shows a single compliance requirement record with full context: metadata, compliance checks, remediations, and linked risks.
The page is rendered by RequirementDetail and loads data via useRegulatoryRequirementDetail. Tabs include: Overview (metadata, status, category, priority), Checks (compliance check history), Remediations (linked remediation items), and Risks (linked risks via useRisksByRequirement). Users with gr.compliance.admin can edit, add checks, add remediations, and delete the requirement (via useRegulatoryRequirementMutation). A due-date urgency indicator is computed from differenceInDays. No permission gate is declared on this route in gr.tsx.
Admin actions (edit, delete, add checks/remediations) require: gr.compliance.admin
- Go to Governance & Compliance → Compliance → Requirements and select a requirement.
- Review the Overview tab for status, category, priority, description, and due date.
- Open the Checks tab to view compliance check history and add new checks (if permitted).
- Open the Remediations tab to view linked remediation items and create new ones (if permitted).
- Open the Risks tab to view risks linked to this requirement.
- Use the Edit button to update requirement details (requires
gr.compliance.admin).
Creating a requirement
The New Requirement page (/gr/compliance/requirements/new) renders ComplianceRequirementWizardPage, a full-page wizard powered by ModuleWizardRenderer (PF-41). Requires gr.compliance.admin.
Before you start: have the requirement title, applicable regulatory framework or source reference, responsible owner, check frequency, and any required document types identified.
- Navigate to
/gr/compliance/requirements/newor use the add-requirement action from/gr/compliance/requirements. The wizard loads from thecompliance_requirementtemplate. - Follow the
ModuleWizardRendererprompts. Steps typically cover requirement identification, regulatory source linkage, check schedule, and document evidence configuration. - Submit the wizard. The
gr_compliance_requirementsrow is created. Non-fatal ancillary inserts (check, evidence) proceed in the background; a warning toast appears if they fail. - After completion you are navigated to the compliance requirements list. The new requirement appears there.
pf_wizard_templates table.
gr_compliance_requirements — the authoritative database record created by this wizard.
gr_compliance_checks — ancillary scheduled-check record; failure is non-fatal.
gr_compliance_evidence — ancillary document requirement records; failure is non-fatal.
useRegulatoryRequirementMutation — hook providing createRequirement for the authoritative insert.
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/pages/RequirementLibrary.tsx
- src/cores/gr/pages/RequirementDetail.tsx
- src/cores/gr/hooks/useRegulatoryRequirement.ts
- src/cores/gr/hooks/useLinkedRisks.ts
- src/cores/gr/hooks/useRegulatoryRequirementMutation.ts
- src/cores/gr/wizards/compliance-requirement/ComplianceRequirementWizardPage.tsx
- src/platform/permissions/constants.ts