> ## 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.

# rh — Public API surface

> Per-symbol API documentation for the rh area, generated from TSDoc blocks. Refresh with `npm run docs:api:generate`.

# rh — Public API surface

## Types & interfaces

### interface AlumniSummary

* file: src/cores/rh/hooks/useAlumniSummary.ts:22
* kind: interface
* core: rh
* spec: RH-07
* summary: Alumni engagement rollup returned by : total alumni,the active/inactive split, and the total number of recorded engagements.
* score: 5

### interface AssessmentContextData

* file: src/cores/rh/components/wizards/outcomes-assessment/steps/AssessmentContextStep.tsx:26
* kind: interface
* core: rh
* spec: RH-UX-05
* summary: Data captured in the context step of the Outcomes Assessment Wizard: whetherthe assessment is a baseline or follow-up, its reporting period and date, andthe optional associated episode.
* score: 5

### interface ChecklistItem

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/ChecklistsReferralsStep.tsx:26
* kind: interface
* core: rh
* spec: RH-UX-03
* summary: A single discharge-checklist task tracked in the wizard, with its displaylabel, completion state, and whether it must be completed before discharge.
* score: 5

### interface ChecklistItem

* file: src/cores/rh/utils/compliance-calculations.ts:19
* kind: interface
* core: rh
* spec: RH-06
* summary: Minimal compliance-checklist item used by the pure scoring helpers in thismodule — just an id and its current .
* score: 5

### type ChecklistItemStatus

* file: src/cores/rh/components/discharge/ChecklistItemBadge.tsx:17
* kind: type
* core: rh
* spec: RH-05
* summary: Completion state of a single discharge-checklist item.
* score: 3

### interface ChecklistsReferralsData

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/ChecklistsReferralsStep.tsx:66
* kind: interface
* core: rh
* spec: RH-UX-03
* summary: Aggregate data for the checklists-and-referrals step: the discharge checklistitems and the list of outbound referrals.
* score: 5

### type ChecklistStatus

* file: src/cores/rh/utils/compliance-calculations.ts:7
* kind: type
* core: rh
* spec: (none)
* summary: RH-06: Compliance Calculation UtilitiesPure calculation functions for compliance scoring and categorization.
* score: 2

### type CompleteDischargeFormData

* file: src/cores/rh/components/discharge/forms/CompleteDischargeForm.tsx:45
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for finalizing (completing) a resident discharge: the actualdischarge date, final discharge type and destination, and a required summary.Inferred from (Zod).
* score: 5

### interface DischargeChecklistCardProps

* file: src/cores/rh/components/discharge/cards/DischargeChecklistCard.tsx:29
* kind: interface
* core: rh
* spec: RH-05
* summary: Props for , the discharge-readiness checklist panel.Either or may be supplied; when only is given the card resolves the resident's active (non-completed) discharge plan.
* score: 5

### type DischargeChecklistFormData

* file: src/cores/rh/components/discharge/forms/DischargeChecklistForm.tsx:39
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for creating or editing a discharge-checklist item: its name,category, whether it is required, and optional notes.Inferred from (Zod).
* score: 5

### type DischargeDocumentFormData

* file: src/cores/rh/components/discharge/forms/DischargeDocumentForm.tsx:38
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for attaching a discharge document (PF-11 integration): itstype, display name, and optional description.Inferred from (Zod).
* score: 5

### type DischargePlanFormData

* file: src/cores/rh/components/discharge/forms/DischargePlanForm.tsx:45
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for creating or editing a discharge plan: planned date,discharge type, destination, reason, and notes.Inferred from (Zod).
* score: 5

### type DischargePlanStatus

* file: src/cores/rh/components/discharge/DischargePlanStatusBadge.tsx:18
* kind: type
* core: rh
* spec: RH-05
* summary: Lifecycle status of a resident's discharge plan.
* score: 3

### interface DischargeReadinessSummary

* file: src/cores/rh/hooks/discharge/useDischargeReadiness.ts:26
* kind: interface
* core: rh
* spec: RH-05
* summary: Organization-wide discharge-readiness rollup returned by: counts of plans by readiness bucket, the total,and the percentage of plans that are ready.
* score: 5

### interface DischargeTypeData

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/DischargeTypeStep.tsx:26
* kind: interface
* core: rh
* spec: RH-UX-03
* summary: Data captured in the discharge-type step of the Discharge Planning Wizard:the discharge classification, planned date, reason, and optional notes.
* score: 5

### interface EpisodeDischargeReadinessResult

* file: src/cores/rh/hooks/discharge/useDischargeReadiness.ts:52
* kind: interface
* core: rh
* spec: RH-05
* summary: Per-episode discharge-checklist readiness: item totals and completed counts(overall and required-only), the completion percentage, and a derivedreadiness status.
* score: 5

### interface EventClassificationData

* file: src/cores/rh/components/wizards/significant-event-reporting/steps/EventClassificationStep.tsx:32
* kind: interface
* core: rh
* spec: RH-UX-02
* summary: Data captured in the classification step of the Significant Event ReportingWizard: the selected event type, severity tier, when it occurred, and anoptional location.
* score: 5

### type FaEpisodeBalancePaymentStatus

* file: src/cores/rh/hooks/useFaEpisodeBalance.ts:23
* kind: type
* core: rh
* spec: RH-01
* summary: Payment standing of an episode's billing account as reported by the FA core.
* score: 3

### type FaEpisodeBalanceResponse

* file: src/cores/rh/hooks/useFaEpisodeBalance.ts:34
* kind: type
* core: rh
* spec: RH-01
* summary: Episode billing-balance payload returned by the edgefunction (API\_CONTRACTS FA-01): current and past-due balances, last/nextpayment details, charge/paid totals, account and payment status, and therecent payment history.
* ## see:
* score: 5

### type FollowUpContactFormData

* file: src/cores/rh/components/discharge/forms/FollowUpContactForm.tsx:45
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for recording a completed post-discharge follow-up contact:date, method, whether it succeeded, the reported outcome, and notes.Inferred from (Zod).
* score: 5

### type FollowUpOutcome

* file: src/cores/rh/components/discharge/FollowUpOutcomeBadge.tsx:20
* kind: type
* core: rh
* spec: RH-05
* summary: Reported outcome captured during a post-discharge follow-up contact.
* score: 3

### type FollowUpScheduleFormData

* file: src/cores/rh/components/discharge/forms/FollowUpScheduleForm.tsx:41
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for scheduling a future post-discharge follow-up: thescheduled date, an optional timepoint label (e.g. 7/30/90-day), and notes.Inferred from (Zod).
* score: 5

### interface GrievanceDetailsData

* file: src/cores/rh/components/wizards/grievance-filing/steps/GrievanceDetailsStep.tsx:27
* kind: interface
* core: rh
* spec: RH-UX-06
* summary: Data captured in the details step of the Grievance Filing Wizard: thegrievance category, narrative description, optional desired outcome, andwhether the filer wishes to remain anonymous.
* score: 5

### interface HousingFollowUpData

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/HousingFollowUpStep.tsx:30
* kind: interface
* core: rh
* spec: RH-UX-03
* summary: Data captured in the housing-and-follow-up step of the Discharge PlanningWizard: the post-discharge housing destination and address, which standardfollow-up timepoints (7/30/90-day) to schedule, and follow-up contact info.
* score: 5

### type InitiateDischargePlanningFormData

* file: src/cores/rh/components/discharge/forms/InitiateDischargePlanningForm.tsx:42
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for initiating discharge planning for an episode: a targetdischarge date (must be in the future), the anticipated discharge type, andoptional initial notes.Inferred from (Zod).
* score: 5

### interface InstrumentSectionsData

* file: src/cores/rh/components/wizards/outcomes-assessment/steps/InstrumentSectionsStep.tsx:41
* kind: interface
* core: rh
* spec: RH-UX-05
* summary: Aggregate instrument data for the assessment wizard: the per-sectionresponses across all answered sections.
* score: 5

### interface MilestoneDefinition

* file: src/cores/rh/components/wizards/program-creation/steps/MilestonesPrivilegesStep.tsx:27
* kind: interface
* core: rh
* spec: RH-UX-01
* summary: Definition of a single program milestone: its title, the phase it belongs to,whether it is required, and an optional dependency on another milestone.
* score: 5

### interface MilestonesPrivilegesData

* file: src/cores/rh/components/wizards/program-creation/steps/MilestonesPrivilegesStep.tsx:49
* kind: interface
* core: rh
* spec: RH-UX-01
* summary: Milestones-and-privileges configuration for a program: the milestonedefinitions plus the program-wide visitor policy and pass eligibility.
* score: 5

### interface NarrLevelOption

* file: src/cores/rh/hooks/useNarrLevels.ts:38
* kind: interface
* core: rh
* spec: RH-11
* summary: A selectable NARR residence-level option: the stored picklist value and itshuman-readable display label.
* score: 5

### interface PartiesWitnessesData

* file: src/cores/rh/components/wizards/grievance-filing/steps/PartiesWitnessesStep.tsx:27
* kind: interface
* core: rh
* spec: RH-UX-06
* summary: Optional data captured in the parties-and-witnesses step of the GrievanceFiling Wizard: involved parties, witness names and contact info, and theincident date and location.
* score: 5

### interface PassDetail

* file: src/cores/rh/hooks/usePassDetail.ts:13
* kind: interface
* core: rh
* spec: RH-03
* summary: A resident pass with its related episode, resident profile, and residenceeagerly joined — the shape returned by for pass detailsurfaces.
* ## see:
* score: 5

### interface PendingAttachment

* file: src/cores/rh/components/wizards/grievance-filing/steps/AttachmentsStep.tsx:26
* kind: interface
* core: rh
* spec: RH-UX-06
* summary: A file staged for upload in the grievance-filing wizard before the grievancerow exists. Each entry pairs a client-generated id with the selected ;the actual upload happens after the grievance is created so the storage pathcan include the grievance id.
* score: 5

### interface PeopleAndNarrativeData

* file: src/cores/rh/components/wizards/significant-event-reporting/steps/PeopleAndNarrativeStep.tsx:26
* kind: interface
* core: rh
* spec: RH-UX-02
* summary: Data captured in the people-and-narrative step of the Significant EventReporting Wizard: the factual event narrative, the immediate actions taken,any witnesses, and the reporter's name.
* score: 5

### interface PhaseDefinition

* file: src/cores/rh/components/wizards/program-creation/steps/PhaseLadderStep.tsx:24
* kind: interface
* core: rh
* spec: RH-UX-01
* summary: Definition of one program phase: its machine name, human label, duration indays, and whether residents must complete it (per the RH-02 phase model).
* score: 5

### interface PhaseLadderData

* file: src/cores/rh/components/wizards/program-creation/steps/PhaseLadderStep.tsx:42
* kind: interface
* core: rh
* spec: RH-UX-01
* summary: The ordered ladder of phases that defines a program's structure.
* score: 5

### interface ProgramIdentityData

* file: src/cores/rh/components/wizards/program-creation/steps/ProgramIdentityStep.tsx:25
* kind: interface
* core: rh
* spec: RH-UX-01
* summary: Core identity of a Recovery Housing program: its name, description, defaultlength in days, and program type (standard, specialized, or transitional).
* score: 5

### interface ProgressionRulesData

* file: src/cores/rh/components/wizards/program-creation/steps/ProgressionRulesStep.tsx:28
* kind: interface
* core: rh
* spec: RH-UX-01
* summary: Phase-progression policy for a program: whether advancement is automatic ormanual, whether residents may regress to an earlier phase, and which actionsrequire approval (extensions, manager-approved advances).
* score: 5

### type ReferralFormData

* file: src/cores/rh/components/discharge/forms/ReferralForm.tsx:50
* kind: type
* core: rh
* spec: RH-05
* summary: Validated values for creating a discharge resource referral: the referraltype, receiving agency, contact details, referral date, and notes.Inferred from (Zod).
* score: 5

### interface ReferralItem

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/ChecklistsReferralsStep.tsx:47
* kind: interface
* core: rh
* spec: RH-UX-03
* summary: A resource referral captured during discharge planning: its category, thereceiving provider, and an optional scheduled date.
* score: 5

### interface ReferralsCardProps

* file: src/cores/rh/components/discharge/cards/ReferralsCard.tsx:31
* kind: interface
* core: rh
* spec: RH-05
* summary: Props for , the discharge-plan referrals panel that listsoutbound resource referrals (housing, employment, healthcare, etc.).Either or may be supplied; when only is given the card resolves the resident's active (non-completed) discharge plan.
* score: 5

### interface ReferralStats

* file: src/cores/rh/hooks/discharge/useReferralStats.ts:26
* kind: interface
* core: rh
* spec: RH-05
* summary: Aggregate discharge-referral statistics returned by :the total referral count, breakdowns by type and status, the number awaitingfollow-up, and the overall completion rate.
* score: 5

### type ReferralStatus

* file: src/cores/rh/components/discharge/ReferralStatusBadge.tsx:19
* kind: type
* core: rh
* spec: RH-05
* summary: Lifecycle status of an outbound discharge resource referral.
* score: 3

### interface RequirementDefinitionData

* file: src/cores/rh/components/wizards/compliance-setup/steps/RequirementDefinitionStep.tsx:28
* kind: interface
* core: rh
* spec: RH-UX-04
* summary: Data captured in the requirement-definition step of the Compliance SetupWizard: the requirement's title, description, category, type, and an optionalregulatory reference.
* score: 5

### type RHModuleSettingsFormValues

* file: src/cores/rh/components/RHSettingsForm.tsx:78
* kind: type
* core: rh
* spec: none
* summary: Validated values for the Recovery Housing module settings form, spanninggeneral stay/discharge defaults, phase durations, compliance and auditresponse thresholds, automation toggles, cross-core integration flags, andwizard behavior. All fields are optional so partial updates are supported.Inferred from (Zod).
* score: 5

### interface ScheduleScopeData

* file: src/cores/rh/components/wizards/compliance-setup/steps/ScheduleScopeStep.tsx:26
* kind: interface
* core: rh
* spec: RH-UX-04
* summary: Data captured in the schedule-and-scope step of the Compliance Setup Wizard:recurrence frequency, optional due day of month, target scope (all orspecific residences), and the lead-time window before a due date.
* score: 5

### interface SectionResponse

* file: src/cores/rh/components/wizards/outcomes-assessment/steps/InstrumentSectionsStep.tsx:24
* kind: interface
* core: rh
* spec: RH-UX-05
* summary: Recorded answers for a single instrument section, keyed by question id.
* score: 5

### interface ValidationResult

* file: src/cores/rh/utils/dischargeValidation.ts:20
* kind: interface
* core: rh
* spec: RH-05
* summary: Outcome of a discharge-planning validation check: an overall validity flagand the list of human-readable error messages (empty when valid).
* score: 5

## Hooks

### hook useAdmissionDraft

* file: src/cores/rh/hooks/useAdmissionDraft.ts:108
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing admission wizard draft persistence.PHI is encrypted at rest using AES-GCM derived from the user's session.
* score: 1

### hook useAlumni

* file: src/cores/rh/hooks/useAlumni.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni.
* score: 1

### hook useAlumniDetail

* file: src/cores/rh/hooks/useAlumniDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni detail.
* score: 1

### hook useAlumniEngagementMutation

* file: src/cores/rh/hooks/useAlumniEngagementMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni engagement mutation.
* score: 1

### hook useAlumniEngagements

* file: src/cores/rh/hooks/useAlumniEngagements.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni engagements.
* score: 1

### hook useAlumniEngagementSummary

* file: src/cores/rh/hooks/useAlumniEngagementSummary.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni engagement summary.
* score: 1

### hook useAlumniMutation

* file: src/cores/rh/hooks/useAlumniMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni mutation.
* score: 1

### hook useAlumniSummary

* file: src/cores/rh/hooks/useAlumniSummary.ts:32
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing alumni summary.
* score: 1

### hook useApproveExcusedAbsence

* file: src/cores/rh/hooks/useApproveExcusedAbsence.ts:21
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing approve excused absence.
* score: 1

### hook useAttendancePercentage

* file: src/cores/rh/hooks/useAttendancePercentage.ts:23
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing attendance percentage.
* score: 1

### hook useAttendanceRecords

* file: src/cores/rh/hooks/useAttendanceRecords.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing attendance records.
* score: 1

### hook useAuditFindingDetail

* file: src/cores/rh/hooks/useAuditFindingDetail.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing audit finding detail.
* score: 1

### hook useAuditFindingMutation

* file: src/cores/rh/hooks/useAuditFindingMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing audit finding mutation.
* score: 1

### hook useAuditFindings

* file: src/cores/rh/hooks/useAuditFindings.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing audit findings.
* score: 1

### hook useAuditScheduleDetail

* file: src/cores/rh/hooks/useAuditScheduleDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing audit schedule detail.
* score: 1

### hook useAuditScheduleMutation

* file: src/cores/rh/hooks/useAuditScheduleMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing audit schedule mutation.
* score: 1

### hook useAuditSchedules

* file: src/cores/rh/hooks/useAuditSchedules.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing audit schedules.
* score: 1

### hook useBedBoard

* file: src/cores/rh/hooks/useBedBoard.ts:19
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing bed board.
* score: 1

### hook useBedMutation

* file: src/cores/rh/hooks/useBedMutation.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing bed mutation.
* score: 1

### hook useBeds

* file: src/cores/rh/hooks/useBeds.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing beds.
* score: 1

### hook useCensus

* file: src/cores/rh/hooks/useCensus.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing census.
* score: 1

### hook useChoreAssignmentMutation

* file: src/cores/rh/hooks/useChoreAssignmentMutation.ts:18
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing chore assignment mutation.
* score: 1

### hook useChoreAssignments

* file: src/cores/rh/hooks/useChoreAssignments.ts:18
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing chore assignments.
* score: 1

### hook useCompleteMilestone

* file: src/cores/rh/hooks/useCompleteMilestone.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing complete milestone.
* score: 1

### hook useCompletionRate

* file: src/cores/rh/hooks/useCompletionRate.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing completion rate.
* score: 1

### hook useComplianceChecklistMutation

* file: src/cores/rh/hooks/useComplianceChecklistMutation.ts:12
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing compliance checklist mutation.
* score: 1

### hook useComplianceChecklists

* file: src/cores/rh/hooks/useComplianceChecklists.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing compliance checklists.
* score: 1

### hook useComplianceDeadlines

* file: src/cores/rh/hooks/useComplianceDeadlines.ts:21
* kind: hook
* core: rh
* spec: (none)
* summary: Dashboard hook: Get upcoming compliance deadlines
* score: 4

### hook useComplianceRequirementDetail

* file: src/cores/rh/hooks/useComplianceRequirements.ts:54
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing compliance requirement detail.
* score: 1

### hook useComplianceRequirementMutation

* file: src/cores/rh/hooks/useComplianceRequirementMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing compliance requirement mutation.
* score: 1

### hook useComplianceRequirements

* file: src/cores/rh/hooks/useComplianceRequirements.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing compliance requirements.
* score: 1

### hook useComplianceStatus

* file: src/cores/rh/hooks/useComplianceStatus.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Dashboard hook: Get overall compliance status
* score: 4

### hook useCurfewCheckMutation

* file: src/cores/rh/hooks/useCurfewCheckMutation.ts:19
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing curfew check mutation.
* score: 1

### hook useCurfewChecks

* file: src/cores/rh/hooks/useCurfewChecks.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing curfew checks.
* score: 1

### hook useDashboardStats

* file: src/cores/rh/hooks/useDashboardStats.ts:23
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing dashboard stats.
* score: 1

### hook useDischargeChecklistMutation

* file: src/cores/rh/hooks/discharge/useDischargeChecklistMutation.ts:15
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge checklist mutation.
* score: 1

### hook useDischargeChecklists

* file: src/cores/rh/hooks/discharge/useDischargeChecklists.ts:12
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge checklists.
* score: 1

### hook useDischargeDocumentMutation

* file: src/cores/rh/hooks/discharge/useDischargeDocumentMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge document mutation.
* score: 1

### hook useDischargeDocuments

* file: src/cores/rh/hooks/discharge/useDischargeDocuments.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge documents.
* score: 1

### hook useDischargePlan

* file: src/cores/rh/hooks/discharge/useDischargePlan.ts:12
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge plan.
* score: 1

### hook useDischargePlanMutation

* file: src/cores/rh/hooks/discharge/useDischargePlanMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge plan mutation.
* score: 1

### hook useDischargePlans

* file: src/cores/rh/hooks/discharge/useDischargePlans.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge plans.
* score: 1

### hook useDischargeReadiness

* file: src/cores/rh/hooks/discharge/useDischargeReadiness.ts:64
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge readiness.
* score: 1

### hook useDischargeSummaryPdf

* file: src/cores/rh/hooks/useDischargeSummaryPdf.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing discharge summary pdf.
* score: 1

### hook useEligibilityChecklist

* file: src/cores/rh/hooks/useEligibilityChecklist.ts:19
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing eligibility checklist.
* score: 1

### hook useEnrollEpisodeInProgram

* file: src/cores/rh/hooks/useEnrollEpisodeInProgram.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing enroll episode in program.
* score: 1

### hook useEpisodeDetail

* file: src/cores/rh/hooks/useEpisodeDetail.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode detail.
* score: 1

### hook useEpisodeDischargeReadiness

* file: src/cores/rh/hooks/discharge/useDischargeReadiness.ts:127
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode discharge readiness.
* score: 1

### hook useEpisodeFollowUpSchedules

* file: src/cores/rh/hooks/discharge/useFollowUpSchedules.ts:65
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode follow up schedules.
* score: 1

### hook useEpisodeMutation

* file: src/cores/rh/hooks/useEpisodeMutation.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode mutation.
* score: 1

### hook useEpisodePhaseProgress

* file: src/cores/rh/hooks/useEpisodePhaseProgress.ts:20
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode phase progress.
* score: 1

### hook useEpisodeProgram

* file: src/cores/rh/hooks/useEpisodeProgram.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode program.
* score: 1

### hook useEpisodeReferrals

* file: src/cores/rh/hooks/discharge/useReferrals.ts:61
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode referrals.
* score: 1

### hook useEpisodes

* file: src/cores/rh/hooks/useEpisodes.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episodes.
* score: 1

### hook useEpisodeStatusUpdate

* file: src/cores/rh/hooks/useEpisodeStatusUpdate.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing episode status update.
* score: 1

### hook useExpiringTrainings

* file: src/cores/rh/hooks/useStaffTrainings.ts:63
* kind: hook
* core: rh
* spec: (none)
* summary: Dashboard hook: Get trainings expiring within N days
* score: 4

### hook useFaEpisodeBalance

* file: src/cores/rh/hooks/useFaEpisodeBalance.ts:60
* kind: hook
* core: rh
* spec: (none)
* summary: Fetches episode balance from FA edge function (cached RH row until FA AR is wired).
* score: 4

### hook useFollowUpContactMutation

* file: src/cores/rh/hooks/discharge/useFollowUpContactMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing follow up contact mutation.
* score: 1

### hook useFollowUpContacts

* file: src/cores/rh/hooks/discharge/useFollowUpContacts.ts:12
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing follow up contacts.
* score: 1

### hook useFollowUpScheduleMutation

* file: src/cores/rh/hooks/discharge/useFollowUpScheduleMutation.ts:15
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing follow up schedule mutation.
* score: 1

### hook useFollowUpSchedules

* file: src/cores/rh/hooks/discharge/useFollowUpSchedules.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing follow up schedules.
* score: 1

### hook useFollowUpSchedulesDue

* file: src/cores/rh/hooks/discharge/useFollowUpSchedulesDue.ts:21
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing follow up schedules due.
* score: 1

### hook useGenerateScheduleInstances

* file: src/cores/rh/hooks/useGenerateScheduleInstances.ts:23
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing generate schedule instances.
* score: 1

### hook useGrievanceDetail

* file: src/cores/rh/hooks/useGrievanceDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Fetch one grievance with its resident profile and assignee.
* score: 4

### hook useGrievanceMutation

* file: src/cores/rh/hooks/useGrievanceMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Assign / reassign and status-update mutations for a grievance.
* score: 4

### hook useGrievances

* file: src/cores/rh/hooks/useGrievances.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: List grievances for an organization with optional status/category/assignee filters.
* score: 4

### hook useIncidentReportPdf

* file: src/cores/rh/hooks/useIncidentReportPdf.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing incident report pdf.
* score: 1

### hook useInvestigation

* file: src/cores/rh/hooks/useInvestigation.ts:12
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing investigation.
* score: 1

### hook useInvestigationActionMutation

* file: src/cores/rh/hooks/useInvestigationActionMutation.ts:10
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing investigation action mutation.
* score: 1

### hook useInvestigationActions

* file: src/cores/rh/hooks/useInvestigationActions.ts:8
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing investigation actions.
* score: 1

### hook useInvestigationMutation

* file: src/cores/rh/hooks/useInvestigationMutation.ts:10
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing investigation mutation.
* score: 1

### hook useMedStorageAuditDetail

* file: src/cores/rh/hooks/useMedStorageAuditDetail.ts:8
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing med storage audit detail.
* score: 1

### hook useMedStorageAuditMutation

* file: src/cores/rh/hooks/useMedStorageAuditMutation.ts:10
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing med storage audit mutation.
* score: 1

### hook useMedStorageAudits

* file: src/cores/rh/hooks/useMedStorageAudits.ts:9
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing med storage audits.
* score: 1

### hook useMilestoneCompletions

* file: src/cores/rh/hooks/useMilestoneCompletions.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing milestone completions.
* score: 1

### hook useMilestoneMutation

* file: src/cores/rh/hooks/useMilestoneMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing milestone mutation.
* score: 1

### hook useMilestones

* file: src/cores/rh/hooks/useMilestones.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing milestones.
* score: 1

### hook useNarrLevels

* file: src/cores/rh/hooks/useNarrLevels.ts:54
* kind: hook
* core: rh
* spec: (none)
* summary: Loads NARR level picklist items and exposes options plus a label resolver.
* score: 4

### hook useOutcomeAssessmentDetail

* file: src/cores/rh/hooks/useOutcomeAssessmentDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome assessment detail.
* score: 1

### hook useOutcomeAssessmentMutation

* file: src/cores/rh/hooks/useOutcomeAssessmentMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome assessment mutation.
* score: 1

### hook useOutcomeAssessments

* file: src/cores/rh/hooks/useOutcomeAssessments.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome assessments.
* score: 1

### hook useOutcomeCheckpointMutation

* file: src/cores/rh/hooks/useOutcomeCheckpointMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome checkpoint mutation.
* score: 1

### hook useOutcomeCheckpoints

* file: src/cores/rh/hooks/useOutcomeCheckpoints.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome checkpoints.
* score: 1

### hook useOutcomeIndicatorDetail

* file: src/cores/rh/hooks/useOutcomeIndicatorDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome indicator detail.
* score: 1

### hook useOutcomeIndicatorMutation

* file: src/cores/rh/hooks/useOutcomeIndicatorMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome indicator mutation.
* score: 1

### hook useOutcomeIndicators

* file: src/cores/rh/hooks/useOutcomeIndicators.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome indicators.
* score: 1

### hook useOutcomeMeasurementMutation

* file: src/cores/rh/hooks/useOutcomeMeasurementMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome measurement mutation.
* score: 1

### hook useOutcomeMeasurements

* file: src/cores/rh/hooks/useOutcomeMeasurements.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome measurements.
* score: 1

### hook useOutcomeSummary

* file: src/cores/rh/hooks/useOutcomeSummary.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing outcome summary.
* score: 1

### hook useParticipationMetrics

* file: src/cores/rh/hooks/useParticipationMetrics.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing participation metrics.
* score: 1

### hook useParticipationStats

* file: src/cores/rh/hooks/useParticipationMetrics.ts:57
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for getting aggregated participation stats for the dashboard
* score: 1

### hook usePassApproval

* file: src/cores/rh/hooks/usePassApproval.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing pass approval.
* score: 1

### hook usePassDetail

* file: src/cores/rh/hooks/usePassDetail.ts:23
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing pass detail.
* score: 1

### hook usePassEligibility

* file: src/cores/rh/hooks/usePassEligibility.ts:36
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing pass eligibility.
* score: 1

### hook usePasses

* file: src/cores/rh/hooks/usePasses.ts:9
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing passes.
* score: 1

### hook usePassMutation

* file: src/cores/rh/hooks/usePassMutation.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing pass mutation.
* score: 1

### hook usePassReturn

* file: src/cores/rh/hooks/usePassReturn.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing pass return.
* score: 1

### hook usePaymentStatus

* file: src/cores/rh/hooks/usePaymentStatus.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing payment status.
* score: 1

### hook usePhaseMutation

* file: src/cores/rh/hooks/usePhaseMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing phase mutation.
* score: 1

### hook usePhasePrivileges

* file: src/cores/rh/hooks/usePhasePrivileges.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing phase privileges.
* score: 1

### hook usePhasePrivilegesMutation

* file: src/cores/rh/hooks/usePhasePrivilegesMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing phase privileges mutation.
* score: 1

### hook usePhaseProgression

* file: src/cores/rh/hooks/usePhaseProgression.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing phase progression.
* score: 1

### hook usePhases

* file: src/cores/rh/hooks/usePhases.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing phases.
* score: 1

### hook useProgramDetail

* file: src/cores/rh/hooks/useProgramDetail.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing program detail.
* score: 1

### hook useProgramMutation

* file: src/cores/rh/hooks/useProgramMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing program mutation.
* score: 1

### hook usePrograms

* file: src/cores/rh/hooks/usePrograms.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing programs.
* score: 1

### hook useRecordAttendance

* file: src/cores/rh/hooks/useRecordAttendance.ts:19
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing record attendance.
* score: 1

### hook useReferralMutation

* file: src/cores/rh/hooks/discharge/useReferralMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing referral mutation.
* score: 1

### hook useReferrals

* file: src/cores/rh/hooks/discharge/useReferrals.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing referrals.
* score: 1

### hook useReferralStats

* file: src/cores/rh/hooks/discharge/useReferralStats.ts:37
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing referral stats.
* score: 1

### hook useReportDefinitionDetail

* file: src/cores/rh/hooks/useReportDefinitionDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing report definition detail.
* score: 1

### hook useReportDefinitionMutation

* file: src/cores/rh/hooks/useReportDefinitionMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing report definition mutation.
* score: 1

### hook useReportDefinitions

* file: src/cores/rh/hooks/useReportDefinitions.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing report definitions.
* score: 1

### hook useReportsDue

* file: src/cores/rh/hooks/useReportsDue.ts:15
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing reports due.
* score: 1

### hook useResidenceDetail

* file: src/cores/rh/hooks/useResidenceDetail.ts:18
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing residence detail.
* score: 1

### hook useResidenceMutation

* file: src/cores/rh/hooks/useResidenceMutation.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing residence mutation.
* score: 1

### hook useResidences

* file: src/cores/rh/hooks/useResidences.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing residences.
* score: 1

### hook useResidentAdmissionWizard

* file: src/cores/rh/hooks/useResidentAdmissionWizard.ts:88
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing the resident admission wizard
* score: 1

### hook useResidentAgreement

* file: src/cores/rh/hooks/useResidentAgreement.ts:19
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing resident agreement.
* score: 1

### hook useResidentAgreementPdf

* file: src/cores/rh/hooks/useResidentAgreementPdf.ts:16
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing resident agreement pdf.
* score: 1

### hook useRHModuleSettings

* file: src/cores/rh/hooks/useRHModuleSettings.ts:21
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing rhmodule settings.
* score: 1

### hook useRunRandomUDSSelection

* file: src/cores/rh/hooks/useRunRandomUDSSelection.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing run random udsselection.
* score: 1

### hook useScheduleInstanceMutation

* file: src/cores/rh/hooks/useScheduleInstanceMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing schedule instance mutation.
* score: 1

### hook useScheduleInstances

* file: src/cores/rh/hooks/useScheduleInstances.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing schedule instances.
* score: 1

### hook useScheduleTemplateMutation

* file: src/cores/rh/hooks/useScheduleTemplateMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing schedule template mutation.
* score: 1

### hook useScheduleTemplates

* file: src/cores/rh/hooks/useScheduleTemplates.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing schedule templates.
* score: 1

### hook useShiftNoteDetail

* file: src/cores/rh/hooks/useShiftNoteDetail.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing shift note detail.
* score: 1

### hook useShiftNoteMutation

* file: src/cores/rh/hooks/useShiftNoteMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing shift note mutation.
* score: 1

### hook useShiftNotes

* file: src/cores/rh/hooks/useShiftNotes.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing shift notes.
* score: 1

### hook useSignificantEventAlerts

* file: src/cores/rh/hooks/useSignificantEventAlerts.ts:14
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing significant event alerts.
* score: 1

### hook useSignificantEventDetail

* file: src/cores/rh/hooks/useSignificantEventDetail.ts:9
* kind: hook
* core: rh
* spec: (none)
* summary: Fetch a single significant event with all related data
* score: 4

### hook useSignificantEventMutation

* file: src/cores/rh/hooks/useSignificantEventMutation.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Create or update a significant event
* score: 4

### hook useSignificantEvents

* file: src/cores/rh/hooks/useSignificantEvents.ts:10
* kind: hook
* core: rh
* spec: (none)
* summary: Fetch significant events with optional filtersPF-66: Added realtime subscription for live table updates
* score: 4

### hook useSignificantEventStatusUpdate

* file: src/cores/rh/hooks/useSignificantEventStatusUpdate.ts:18
* kind: hook
* core: rh
* spec: (none)
* summary: Update significant event status using the state machine RPC functionThis enforces valid state transitions: draft - submitted - under\_review - closed
* score: 4

### hook useSignificantEventTypes

* file: src/cores/rh/hooks/useSignificantEventTypes.ts:8
* kind: hook
* core: rh
* spec: (none)
* summary: Fetch all significant event types (catalog)
* score: 4

### hook useSobrietyRate

* file: src/cores/rh/hooks/useSobrietyRate.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing sobriety rate.
* score: 1

### hook useStaffAssignmentMutation

* file: src/cores/rh/hooks/useStaffAssignmentMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing staff assignment mutation.
* score: 1

### hook useStaffAssignments

* file: src/cores/rh/hooks/useStaffAssignments.ts:11
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing staff assignments.
* score: 1

### hook useStaffTrainingMutation

* file: src/cores/rh/hooks/useStaffTrainingMutation.ts:13
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing staff training mutation.
* score: 1

### hook useStaffTrainings

* file: src/cores/rh/hooks/useStaffTrainings.ts:12
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing staff trainings.
* score: 1

### hook useTransportRequestMutation

* file: src/cores/rh/hooks/useTransportRequestMutation.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing transport request mutation.
* score: 1

### hook useTransportRequests

* file: src/cores/rh/hooks/useTransportRequests.ts:18
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing transport requests.
* score: 1

### hook useUDSRandomScheduleMutation

* file: src/cores/rh/hooks/useUDSRandomScheduleMutation.ts:10
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing udsrandom schedule mutation.
* score: 1

### hook useUDSRandomSchedules

* file: src/cores/rh/hooks/useUDSRandomSchedules.ts:9
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing udsrandom schedules.
* score: 1

### hook useUDSTestDetail

* file: src/cores/rh/hooks/useUDSTestDetail.ts:8
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing udstest detail.
* score: 1

### hook useUDSTestMutation

* file: src/cores/rh/hooks/useUDSTestMutation.ts:10
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing udstest mutation.
* score: 1

### hook useUDSTests

* file: src/cores/rh/hooks/useUDSTests.ts:17
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing udstests.
* score: 1

### hook useUpcomingAudits

* file: src/cores/rh/hooks/useAuditSchedules.ts:53
* kind: hook
* core: rh
* spec: (none)
* summary: Dashboard hook: Get upcoming audits
* score: 4

### hook useUpcomingDischarges

* file: src/cores/rh/hooks/discharge/useUpcomingDischarges.ts:34
* kind: hook
* core: rh
* spec: (none)
* summary: Hook for managing upcoming discharges.
* score: 1

## Components

### component ActionStatusBadge

* file: src/cores/rh/components/ActionStatusBadge.tsx:33
* kind: component
* core: rh
* spec: RH-06
* summary: Renders a colored status badge for a compliance/follow-up action, mapping each (pending, in\_progress, completed, overdue) to a label andsemantic variant.Props:- — the action status to display.
* params:
  * props — The action status to render.
* score: 5

### component AdmissionWizardPage

* file: src/cores/rh/pages/AdmissionWizardPage.tsx:40
* kind: component
* core: rh
* spec: (none)
* summary: Utility for admission wizard page.
* score: 1

### component AlumniDetailPage

* file: src/cores/rh/pages/AlumniDetailPage.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni detail page.
* score: 1

### component AlumniDialog

* file: src/cores/rh/components/forms/AlumniDialog.tsx:20
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni dialog.
* score: 1

### component AlumniEngagementChart

* file: src/cores/rh/components/charts/AlumniEngagementChart.tsx:52
* kind: component
* core: rh
* spec: RH-07
* summary: Pie chart visualizing the distribution of alumni engagement types (mentoring,volunteer work, events, re-engagement, other). Shows a skeleton while loadingand falls back to placeholder data when none is provided.Props:- — engagement buckets, each with , , and .- — when true, renders a loading skeleton instead of the chart.
* params:
  * props — The engagement data and loading flag.
* score: 5

### component AlumniEngagementDialog

* file: src/cores/rh/components/forms/AlumniEngagementDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni engagement dialog.
* score: 1

### component AlumniEngagementForm

* file: src/cores/rh/components/forms/AlumniEngagementForm.tsx:43
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni engagement form.
* score: 1

### component AlumniEngagementsTable

* file: src/cores/rh/components/tables/AlumniEngagementsTable.tsx:34
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni engagements table.
* score: 1

### component AlumniEngagementStatusBadge

* file: src/cores/rh/components/AlumniEngagementStatusBadge.tsx:37
* kind: component
* core: rh
* spec: RH-07
* summary: Renders a colored status badge for an alumni engagement, mapping each (scheduled, completed, cancelled) to a labeland semantic variant.Props:- — the engagement status to display.- — optional extra classes for the badge.
* params:
  * props — The engagement status and optional className.
* score: 5

### component AlumniEngagementWidget

* file: src/cores/rh/components/dashboard/AlumniEngagementWidget.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni engagement widget.
* score: 1

### component AlumniForm

* file: src/cores/rh/components/forms/AlumniForm.tsx:44
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni form.
* score: 1

### component AlumniPage

* file: src/cores/rh/pages/AlumniPage.tsx:27
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni page.
* score: 1

### component AlumniTable

* file: src/cores/rh/components/tables/AlumniTable.tsx:33
* kind: component
* core: rh
* spec: (none)
* summary: Utility for alumni table.
* score: 1

### component AssessmentContextStep

* file: src/cores/rh/components/wizards/outcomes-assessment/steps/AssessmentContextStep.tsx:56
* kind: component
* core: rh
* spec: RH-UX-05
* summary: First step of the Outcomes Assessment Wizard. Renders controlled inputs forthe assessment type, period, and date before instrument responses arerecorded, surfacing per-field validation errors.Props:- — current (partial) assessment context.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component AssessmentReviewSubmitStep

* file: src/cores/rh/components/wizards/outcomes-assessment/steps/AssessmentReviewSubmitStep.tsx:32
* kind: component
* core: rh
* spec: RH-UX-05
* summary: Final step of the Outcomes Assessment Wizard. Summarizes the assessmentcontext and reports how many instrument sections have at least one recordedresponse before the assessment is submitted.Props:- — assessment context gathered in step 1.- — multi-section instrument responses from step 2.
* params:
  * props — The collected context and instrument response data.
* score: 5

### component AssessmentTypeBadge

* file: src/cores/rh/components/AssessmentTypeBadge.tsx:34
* kind: component
* core: rh
* spec: RH-07
* summary: Renders a badge distinguishing an outcome assessment as a baseline orfollow-up. Returns nothing when is null/empty.Props:- — the assessment type ( or ), or null to render nothing.- — optional extra classes for the badge.
* params:
  * props — The assessment type and optional className.
* score: 5

### component AttachmentsStep

* file: src/cores/rh/components/wizards/grievance-filing/steps/AttachmentsStep.tsx:61
* kind: component
* core: rh
* spec: RH-UX-06
* summary: Attachments step of the Grievance Filing Wizard. Lets the filer selectsupporting PDFs or images, enforcing an allowed MIME-type list and a 25 MBper-file size cap before staging them as entries.Props:- — currently staged pending attachments.- — emits the next attachment list when files are added/removed.
* params:
  * props — Staged attachments and the change handler.
* score: 5

### component AttendanceComplianceWidget

* file: src/cores/rh/components/dashboard/AttendanceComplianceWidget.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for attendance compliance widget.
* score: 1

### component AttendancePage

* file: src/cores/rh/pages/AttendancePage.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for attendance page.
* score: 1

### component AttendanceRecordDialog

* file: src/cores/rh/components/forms/AttendanceRecordDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for attendance record dialog.
* score: 1

### component AttendanceRecordForm

* file: src/cores/rh/components/forms/AttendanceRecordForm.tsx:45
* kind: component
* core: rh
* spec: (none)
* summary: Utility for attendance record form.
* score: 1

### component AttendanceStatusBadge

* file: src/cores/rh/components/AttendanceStatusBadge.tsx:37
* kind: component
* core: rh
* spec: RH-04
* summary: Renders a colored status badge for program attendance, mapping each (present, absent, excused, late) to a label andsemantic variant.Props:- — the attendance status to display.
* params:
  * props — The attendance status to render.
* score: 5

### component AuditFindingDetailPage

* file: src/cores/rh/pages/AuditFindingDetailPage.tsx:27
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit finding detail page.
* score: 1

### component AuditFindingDialog

* file: src/cores/rh/components/forms/AuditFindingDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit finding dialog.
* score: 1

### component AuditFindingForm

* file: src/cores/rh/components/forms/AuditFindingForm.tsx:45
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit finding form.
* score: 1

### component AuditFindingSeverityBadge

* file: src/cores/rh/components/AuditFindingSeverityBadge.tsx:38
* kind: component
* core: rh
* spec: RH-06
* summary: Renders a colored badge for an audit finding's severity, mapping each (critical, major, minor, observation) to a labeland semantic variant.Props:- — the finding severity to display.
* params:
  * props — The finding severity to render.
* score: 5

### component AuditFindingsTable

* file: src/cores/rh/components/AuditFindingsTable.tsx:59
* kind: component
* core: rh
* spec: RH-06
* summary: Data table listing audit findings for the current organization, showing thedescription, severity, status, corrective-action deadline, and assignee.Fetches via and applies the supplied filters.Props:- — optional filters (severity, status, etc.) narrowing the findings query.
* params:
  * props — Optional audit-finding filters.
* score: 5

### component AuditFindingStatusBadge

* file: src/cores/rh/components/AuditFindingStatusBadge.tsx:32
* kind: component
* core: rh
* spec: RH-06
* summary: Renders a colored badge for an audit finding's remediation status, mappingeach (open, in\_progress, resolved, closed) to alabel and semantic variant.Props:- — the finding status to display.
* params:
  * props — The finding status to render.
* score: 5

### component AuditScheduleDetailPage

* file: src/cores/rh/pages/AuditScheduleDetailPage.tsx:33
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit schedule detail page.
* score: 1

### component AuditScheduleDialog

* file: src/cores/rh/components/forms/AuditScheduleDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit schedule dialog.
* score: 1

### component AuditScheduleForm

* file: src/cores/rh/components/forms/AuditScheduleForm.tsx:44
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit schedule form.
* score: 1

### component AuditSchedulesPage

* file: src/cores/rh/pages/AuditSchedulesPage.tsx:39
* kind: component
* core: rh
* spec: (none)
* summary: Utility for audit schedules page.
* score: 1

### component AuditSchedulesTable

* file: src/cores/rh/components/AuditSchedulesTable.tsx:57
* kind: component
* core: rh
* spec: RH-06
* summary: Data table listing scheduled compliance audits for the current organization,showing the audit name, type, date, status, and residence, with row actionsto view detail. Fetches via and applies thesupplied filters.Props:- — optional filters (type, status, etc.) narrowing the schedules query.
* params:
  * props — Optional audit-schedule filters.
* score: 5

### component AuditStatusBadge

* file: src/cores/rh/components/AuditStatusBadge.tsx:32
* kind: component
* core: rh
* spec: RH-06
* summary: Renders a colored badge for an audit's lifecycle status, mapping each (scheduled, in\_progress, completed, cancelled) to alabel and semantic variant. Returns nothing when is null/empty.Props:- — the audit status to display, or null to render nothing.
* params:
  * props — The audit status to render.
* score: 5

### component BasicInfoStep

* file: src/cores/rh/components/wizards/admission-steps/BasicInfoStep.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for basic info step.
* score: 1

### component BedAssignmentStep

* file: src/cores/rh/components/wizards/admission-steps/BedAssignmentStep.tsx:35
* kind: component
* core: rh
* spec: (none)
* summary: Utility for bed assignment step.
* score: 1

### component BedAvailabilityWidget

* file: src/cores/rh/components/dashboard/BedAvailabilityWidget.tsx:13
* kind: component
* core: rh
* spec: (none)
* summary: Utility for bed availability widget.
* score: 1

### component BedBoardPage

* file: src/cores/rh/pages/BedBoardPage.tsx:139
* kind: component
* core: rh
* spec: (none)
* summary: Utility for bed board page.
* score: 1

### component BedDialog

* file: src/cores/rh/components/BedDialog.tsx:52
* kind: component
* core: rh
* spec: RH-01
* summary: Modal dialog for creating (or editing) a bed within a residence, capturingthe residence, room number, bed label, gender restriction, ADA accessibility,and status via a validated react-hook-form/Zod form.Props:- — whether the dialog is visible.- — called when the dialog requests open/close.- — optional id of an existing bed to edit.- — optional residence to pre-select for a new bed.
* params:
  * props — Dialog visibility, change handler, and optional bed/residence ids.
* score: 5

### component BedsTable

* file: src/cores/rh/components/BedsTable.tsx:38
* kind: component
* core: rh
* spec: RH-01
* summary: Data table listing beds, optionally scoped to a residence, showing room, bedlabel, and status, with add and CSV-export actions. Fetches via and opens to create new beds.Props:- — optional residence id to scope the bed list to.
* params:
  * props — Optional residence scope.
* score: 5

### component BedStatusBadge

* file: src/cores/rh/components/BedStatusBadge.tsx:37
* kind: component
* core: rh
* spec: RH-01
* summary: Renders a colored badge for a bed's occupancy status, mapping each (available, occupied, reserved, maintenance) to a label andsemantic variant. Returns nothing when is null/empty.Props:- — the bed status to display, or null to render nothing.
* params:
  * props — The bed status to render.
* score: 5

### component CensusSummaryWidget

* file: src/cores/rh/components/dashboard/CensusSummaryWidget.tsx:12
* kind: component
* core: rh
* spec: (none)
* summary: Utility for census summary widget.
* score: 1

### component ChecklistItemBadge

* file: src/cores/rh/components/discharge/ChecklistItemBadge.tsx:34
* kind: component
* core: rh
* spec: (none)
* summary: Utility for checklist item badge.
* score: 1

### component ChecklistsReferralsStep

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/ChecklistsReferralsStep.tsx:114
* kind: component
* core: rh
* spec: RH-UX-03
* summary: Second step of the Discharge Planning Wizard. Lets staff toggle dischargechecklist items (seeding a default set) and add resource referrals, surfacingper-field validation errors.Props:- — current (partial) checklist and referral selections.- — emits partial updates as items change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component ChoreAssignmentDialog

* file: src/cores/rh/components/forms/ChoreAssignmentDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for chore assignment dialog.
* score: 1

### component ChoreAssignmentForm

* file: src/cores/rh/components/forms/ChoreAssignmentForm.tsx:37
* kind: component
* core: rh
* spec: (none)
* summary: Utility for chore assignment form.
* score: 1

### component ChoreCompletionWidget

* file: src/cores/rh/components/dashboard/ChoreCompletionWidget.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for chore completion widget.
* score: 1

### component ChoresPage

* file: src/cores/rh/pages/ChoresPage.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for chores page.
* score: 1

### component ChoreStatusBadge

* file: src/cores/rh/components/ChoreStatusBadge.tsx:37
* kind: component
* core: rh
* spec: RH-04
* summary: Renders a badge for a resident chore's completion status, mapping each (assigned, completed, incomplete, excused) to a label andvariant.Props:- — the chore status to display.
* params:
  * props — The chore status to render.
* score: 5

### component CompleteDischargeDialog

* file: src/cores/rh/components/discharge/CompleteDischargeDialog.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for complete discharge dialog.
* score: 1

### component CompleteDischargeForm

* file: src/cores/rh/components/discharge/forms/CompleteDischargeForm.tsx:57
* kind: component
* core: rh
* spec: (none)
* summary: Utility for complete discharge form.
* score: 1

### component CompletionRateWidget

* file: src/cores/rh/components/dashboard/CompletionRateWidget.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for completion rate widget.
* score: 1

### component ComplianceChecklistDialog

* file: src/cores/rh/components/forms/ComplianceChecklistDialog.tsx:20
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance checklist dialog.
* score: 1

### component ComplianceChecklistForm

* file: src/cores/rh/components/forms/ComplianceChecklistForm.tsx:40
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance checklist form.
* score: 1

### component ComplianceChecklistsPage

* file: src/cores/rh/pages/ComplianceChecklistsPage.tsx:28
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance checklists page.
* score: 1

### component ComplianceChecklistsTable

* file: src/cores/rh/components/ComplianceChecklistsTable.tsx:47
* kind: component
* core: rh
* spec: RH-06
* summary: Data table listing compliance checklist items for the current organization,showing the item, owning requirement, due date, status, and completer, withan inline checkbox to toggle completion. Fetches via and mutates via the checklist mutation hook.Props:- — optional filters (status, requirement, etc.) narrowing the query.
* params:
  * props — Optional compliance-checklist filters.
* score: 5

### component ComplianceChecklistStatusBadge

* file: src/cores/rh/components/ComplianceChecklistStatusBadge.tsx:33
* kind: component
* core: rh
* spec: RH-06
* summary: Renders a colored badge for a compliance checklist item's status, mappingeach (pending, completed, verified,non\_compliant) to a label and semantic variant.Props:- — the checklist status to display.
* params:
  * props — The checklist status to render.
* score: 5

### component ComplianceDashboardPage

* file: src/cores/rh/pages/ComplianceDashboardPage.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance dashboard page.
* score: 1

### component ComplianceDeadlinesWidget

* file: src/cores/rh/components/dashboard/ComplianceDeadlinesWidget.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance deadlines widget.
* score: 1

### component ComplianceRequirementDetailPage

* file: src/cores/rh/pages/ComplianceRequirementDetailPage.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance requirement detail page.
* score: 1

### component ComplianceRequirementDialog

* file: src/cores/rh/components/forms/ComplianceRequirementDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance requirement dialog.
* score: 1

### component ComplianceRequirementForm

* file: src/cores/rh/components/forms/ComplianceRequirementForm.tsx:47
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance requirement form.
* score: 1

### component ComplianceRequirementsPage

* file: src/cores/rh/pages/ComplianceRequirementsPage.tsx:39
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance requirements page.
* score: 1

### component ComplianceRequirementsTable

* file: src/cores/rh/components/ComplianceRequirementsTable.tsx:50
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance requirements table.
* score: 1

### component ComplianceReviewActivateStep

* file: src/cores/rh/components/wizards/compliance-setup/steps/ComplianceReviewActivateStep.tsx:34
* kind: component
* core: rh
* spec: RH-UX-04
* summary: Final step of the Compliance Setup Wizard: summarizes the collectedrequirement definition and schedule/scope for review, and surfaces a warningwhen a similar active requirement already exists.Props:- — partial requirement definition gathered in step 1.- — partial schedule/scope gathered in step 2.- — when true, shows a possible-duplicate warning.
* params:
  * props — Collected wizard data and the duplicate-warning flag.
* score: 5

### component ComplianceSetupWizard

* file: src/cores/rh/components/wizards/compliance-setup/ComplianceSetupWizard.tsx:50
* kind: component
* core: rh
* spec: RH-UX-04
* summary: Three-step guided wizard for defining a Recovery Housing compliancerequirement: requirement definition, schedule and scope, then review andactivate. On completion it persists the requirement and reports its id.Props:- — called with the created requirement id after activation.- — called when the user dismisses the wizard.
* params:
  * props — Wizard completion and exit callbacks.
* score: 5

### component ComplianceSetupWizardPage

* file: src/cores/rh/pages/ComplianceSetupWizardPage.tsx:21
* kind: component
* core: rh
* spec: RH-UX-04
* summary: Route page that hosts the , wiring itscompletion and exit handlers to navigate to the created requirement or backto the requirements list. Takes no props.
* score: 5

### component ComplianceStatusBadge

* file: src/cores/rh/components/ComplianceStatusBadge.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance status badge.
* score: 1

### component ComplianceStatusWidget

* file: src/cores/rh/components/dashboard/ComplianceStatusWidget.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for compliance status widget.
* score: 1

### component CurfewCheckDialog

* file: src/cores/rh/components/forms/CurfewCheckDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for curfew check dialog.
* score: 1

### component CurfewCheckForm

* file: src/cores/rh/components/forms/CurfewCheckForm.tsx:44
* kind: component
* core: rh
* spec: (none)
* summary: Utility for curfew check form.
* score: 1

### component CurfewChecksPage

* file: src/cores/rh/pages/CurfewChecksPage.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for curfew checks page.
* score: 1

### component CurfewComplianceWidget

* file: src/cores/rh/components/dashboard/CurfewComplianceWidget.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for curfew compliance widget.
* score: 1

### component DischargeChecklistCard

* file: src/cores/rh/components/discharge/cards/DischargeChecklistCard.tsx:38
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge checklist card.
* score: 1

### component DischargeChecklistDialog

* file: src/cores/rh/components/discharge/DischargeChecklistDialog.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge checklist dialog.
* score: 1

### component DischargeChecklistForm

* file: src/cores/rh/components/discharge/forms/DischargeChecklistForm.tsx:50
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge checklist form.
* score: 1

### component DischargeDocumentDialog

* file: src/cores/rh/components/discharge/DischargeDocumentDialog.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge document dialog.
* score: 1

### component DischargeDocumentForm

* file: src/cores/rh/components/discharge/forms/DischargeDocumentForm.tsx:49
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge document form.
* score: 1

### component DischargeDocumentsPage

* file: src/cores/rh/pages/discharge/DischargeDocumentsPage.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Lists and manages discharge documents for the current organization.
* score: 2

### component DischargeDocumentsTable

* file: src/cores/rh/components/discharge/DischargeDocumentsTable.tsx:36
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge documents table.
* score: 1

### component DischargePlanCard

* file: src/cores/rh/components/discharge/cards/DischargePlanCard.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge plan card.
* score: 1

### component DischargePlanDetailPage

* file: src/cores/rh/pages/discharge/DischargePlanDetailPage.tsx:33
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge plan detail page.
* score: 1

### component DischargePlanDialog

* file: src/cores/rh/components/discharge/DischargePlanDialog.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge plan dialog.
* score: 1

### component DischargePlanForm

* file: src/cores/rh/components/discharge/forms/DischargePlanForm.tsx:56
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge plan form.
* score: 1

### component DischargePlanningPage

* file: src/cores/rh/pages/discharge/DischargePlanningPage.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge planning page.
* score: 1

### component DischargePlanningWizard

* file: src/cores/rh/components/wizards/discharge-planning-wizard/DischargePlanningWizard.tsx:55
* kind: component
* core: rh
* spec: RH-UX-03
* summary: Four-step guided wizard for building a resident's discharge plan: dischargetype, checklists and referrals, housing and follow-up scheduling, then reviewand finalize. On finalize it persists the plan and reports its id.Props:- — the resident episode the discharge plan belongs to.- — called with the created plan id after finalization.- — called when the user dismisses the wizard.
* params:
  * props — Target episode and completion/exit callbacks.
* score: 5

### component DischargePlanningWizardPage

* file: src/cores/rh/pages/DischargePlanningWizardPage.tsx:22
* kind: component
* core: rh
* spec: RH-UX-03
* summary: Route page that hosts the . Reads the target from the query string, renders an empty state when it is missing,and navigates to the created plan or back to the plans list. Takes no props.
* score: 5

### component DischargePlanReviewStep

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/DischargePlanReviewStep.tsx:39
* kind: component
* core: rh
* spec: RH-UX-03
* summary: Final step of the Discharge Planning Wizard. Summarizes the discharge type,checklist/referrals, and housing/follow-up selections, and flags any requiredchecklist items that remain incomplete before finalizing.Props:- — discharge type/date/reason gathered in step 1.- — checklist items and referrals from step 2.- — housing destination and follow-up schedule from step 3.
* params:
  * props — The three sections of collected wizard data.
* score: 5

### component DischargePlansTable

* file: src/cores/rh/components/discharge/DischargePlansTable.tsx:28
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge plans table.
* score: 1

### component DischargePlanStatusBadge

* file: src/cores/rh/components/discharge/DischargePlanStatusBadge.tsx:36
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge plan status badge.
* score: 1

### component DischargeReadinessWidget

* file: src/cores/rh/components/dashboard/DischargeReadinessWidget.tsx:15
* kind: component
* core: rh
* spec: (none)
* summary: Utility for discharge readiness widget.
* score: 1

### component DischargeTypeStep

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/DischargeTypeStep.tsx:64
* kind: component
* core: rh
* spec: RH-UX-03
* summary: First step of the Discharge Planning Wizard. Renders controlled inputs forthe discharge type, planned date, reason, and notes, surfacing per-fieldvalidation errors.Props:- — current (partial) discharge-type selections.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component DocumentationStep

* file: src/cores/rh/components/wizards/admission-steps/DocumentationStep.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for documentation step.
* score: 1

### component EligibilityChecklistCard

* file: src/cores/rh/components/EligibilityChecklistCard.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for eligibility checklist card.
* score: 1

### component EmergencyContactsStep

* file: src/cores/rh/components/wizards/admission-steps/EmergencyContactsStep.tsx:38
* kind: component
* core: rh
* spec: (none)
* summary: Utility for emergency contacts step.
* score: 1

### component EpisodeDetailPage

* file: src/cores/rh/pages/EpisodeDetailPage.tsx:39
* kind: component
* core: rh
* spec: (none)
* summary: Utility for episode detail page.
* score: 1

### component EpisodeMilestonesCard

* file: src/cores/rh/components/EpisodeMilestonesCard.tsx:20
* kind: component
* core: rh
* spec: (none)
* summary: Utility for episode milestones card.
* score: 1

### component EpisodePhaseProgressCard

* file: src/cores/rh/components/EpisodePhaseProgressCard.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for episode phase progress card.
* score: 1

### component EpisodesPage

* file: src/cores/rh/pages/EpisodesPage.tsx:46
* kind: component
* core: rh
* spec: RH-01
* summary: Route page listing resident episodes. Renders a filterable with a status filter bar, seeding the initial statusfilter from the query param, plus a guided admission tour. Takes noprops.
* score: 5

### component EpisodesTable

* file: src/cores/rh/components/EpisodesTable.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for episodes table.
* score: 1

### component EpisodeStatusBadge

* file: src/cores/rh/components/EpisodeStatusBadge.tsx:38
* kind: component
* core: rh
* spec: (none)
* summary: Utility for episode status badge.
* score: 1

### component EventClassificationStep

* file: src/cores/rh/components/wizards/significant-event-reporting/steps/EventClassificationStep.tsx:70
* kind: component
* core: rh
* spec: RH-UX-02
* summary: First step of the Significant Event Reporting Wizard. Loads theorganization's significant-event types and renders controlled inputs for theevent type, severity, occurrence date/time, and location, surfacing per-fieldvalidation errors.Props:- — current (partial) event classification.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component EventReviewSubmitStep

* file: src/cores/rh/components/wizards/significant-event-reporting/steps/EventReviewSubmitStep.tsx:39
* kind: component
* core: rh
* spec: RH-UX-02
* summary: Final step of the Significant Event Reporting Wizard. Summarizes the eventclassification and narrative for review before the report is submitted,highlighting critical-severity events.Props:- — event classification gathered in step 1.- — people and narrative gathered in step 2.
* params:
  * props — The collected classification and narrative data.
* score: 5

### component FollowUpCard

* file: src/cores/rh/components/discharge/cards/FollowUpCard.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up card.
* score: 1

### component FollowUpContactDialog

* file: src/cores/rh/components/discharge/FollowUpContactDialog.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up contact dialog.
* score: 1

### component FollowUpContactForm

* file: src/cores/rh/components/discharge/forms/FollowUpContactForm.tsx:56
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up contact form.
* score: 1

### component FollowUpDetailPage

* file: src/cores/rh/pages/discharge/FollowUpDetailPage.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up detail page.
* score: 1

### component FollowUpOutcomeBadge

* file: src/cores/rh/components/discharge/FollowUpOutcomeBadge.tsx:47
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up outcome badge.
* score: 1

### component FollowUpScheduleDialog

* file: src/cores/rh/components/discharge/FollowUpScheduleDialog.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up schedule dialog.
* score: 1

### component FollowUpScheduleForm

* file: src/cores/rh/components/discharge/forms/FollowUpScheduleForm.tsx:52
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up schedule form.
* score: 1

### component FollowUpSchedulesTable

* file: src/cores/rh/components/discharge/FollowUpSchedulesTable.tsx:29
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up schedules table.
* score: 1

### component FollowUpsDueWidget

* file: src/cores/rh/components/dashboard/FollowUpsDueWidget.tsx:13
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow ups due widget.
* score: 1

### component FollowUpsPage

* file: src/cores/rh/pages/discharge/FollowUpsPage.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow ups page.
* score: 1

### component FollowUpStatusBadge

* file: src/cores/rh/components/discharge/FollowUpStatusBadge.tsx:49
* kind: component
* core: rh
* spec: (none)
* summary: Utility for follow up status badge.
* score: 1

### component GrievanceDetailPage

* file: src/cores/rh/pages/GrievanceDetailPage.tsx:37
* kind: component
* core: rh
* spec: (none)
* summary: Grievance detail + triage page (RH-09 #907).
* score: 2

### component GrievanceDetailsStep

* file: src/cores/rh/components/wizards/grievance-filing/steps/GrievanceDetailsStep.tsx:70
* kind: component
* core: rh
* spec: RH-UX-06
* summary: First step of the Grievance Filing Wizard. Renders controlled inputs for thegrievance category, description, desired outcome, and anonymity toggle, andreassures the filer that filing is retaliation-free. Surfaces per-field errors.Props:- — current (partial) grievance details.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component GrievanceFilingWizard

* file: src/cores/rh/components/wizards/grievance-filing/GrievanceFilingWizard.tsx:61
* kind: component
* core: rh
* spec: (none)
* summary: Guides residents through the grievance filing flow and backend availability handling.
* score: 2

### component GrievanceFilingWizardPage

* file: src/cores/rh/pages/GrievanceFilingWizardPage.tsx:21
* kind: component
* core: rh
* spec: RH-UX-06
* summary: Route page that hosts the . Reads an optional from the query string and navigates to the grievances list oncompletion or back on exit. Takes no props.
* score: 5

### component GrievanceReviewSubmitStep

* file: src/cores/rh/components/wizards/grievance-filing/steps/GrievanceReviewSubmitStep.tsx:36
* kind: component
* core: rh
* spec: RH-UX-06
* summary: Final step of the Grievance Filing Wizard. Summarizes the entered grievancedetails and parties/witnesses, then requires the filer to attest to accuracybefore submission, propagating the attestation state to the parent wizard.Props:- — grievance details gathered in step 1.- — parties/witnesses gathered in the parties step.- — called with the attestation checkbox state.
* params:
  * props — Collected wizard data and the attestation change handler.
* score: 5

### component GrievancesListPage

* file: src/cores/rh/pages/GrievancesListPage.tsx:43
* kind: component
* core: rh
* spec: (none)
* summary: Grievances management list page (RH-09 #907).
* score: 2

### component HousingFollowUpStep

* file: src/cores/rh/components/wizards/discharge-planning-wizard/steps/HousingFollowUpStep.tsx:73
* kind: component
* core: rh
* spec: RH-UX-03
* summary: Third step of the Discharge Planning Wizard. Renders controlled inputs forthe housing destination/address, the follow-up timepoint toggles, andfollow-up contact details, surfacing per-field validation errors.Props:- — current (partial) housing and follow-up selections.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component InitiateDischargePlanningDialog

* file: src/cores/rh/components/discharge/InitiateDischargePlanningDialog.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Utility for initiate discharge planning dialog.
* score: 1

### component InitiateDischargePlanningForm

* file: src/cores/rh/components/discharge/forms/InitiateDischargePlanningForm.tsx:53
* kind: component
* core: rh
* spec: (none)
* summary: Utility for initiate discharge planning form.
* score: 1

### component InstrumentSectionsStep

* file: src/cores/rh/components/wizards/outcomes-assessment/steps/InstrumentSectionsStep.tsx:142
* kind: component
* core: rh
* spec: RH-UX-05
* summary: Second step of the Outcomes Assessment Wizard. Renders a multi-sectioninstrument (substance use, housing stability, employment/education,well-being) with internal section navigation and live per-section completionpercentages, emitting responses as the user answers questions.Props:- — current (partial) instrument responses.- — emits partial updates as responses change.- — field-keyed validation messages (unused in the current layout).
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component InvestigationActionDialog

* file: src/cores/rh/components/forms/InvestigationActionDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for investigation action dialog.
* score: 1

### component InvestigationActionForm

* file: src/cores/rh/components/forms/InvestigationActionForm.tsx:42
* kind: component
* core: rh
* spec: (none)
* summary: Utility for investigation action form.
* score: 1

### component InvestigationDialog

* file: src/cores/rh/components/forms/InvestigationDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for investigation dialog.
* score: 1

### component InvestigationForm

* file: src/cores/rh/components/forms/InvestigationForm.tsx:37
* kind: component
* core: rh
* spec: (none)
* summary: Utility for investigation form.
* score: 1

### component InvestigationStatusBadge

* file: src/cores/rh/components/InvestigationStatusBadge.tsx:21
* kind: component
* core: rh
* spec: (none)
* summary: Utility for investigation status badge.
* score: 1

### component LicenseAlertsWidget

* file: src/cores/rh/components/dashboard/LicenseAlertsWidget.tsx:15
* kind: component
* core: rh
* spec: (none)
* summary: Utility for license alerts widget.
* score: 1

### component MeasurementTypeBadge

* file: src/cores/rh/components/MeasurementTypeBadge.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for measurement type badge.
* score: 1

### component MedStorageAuditDetailPage

* file: src/cores/rh/pages/MedStorageAuditDetailPage.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for med storage audit detail page.
* score: 1

### component MedStorageAuditDialog

* file: src/cores/rh/components/forms/MedStorageAuditDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for med storage audit dialog.
* score: 1

### component MedStorageAuditForm

* file: src/cores/rh/components/forms/MedStorageAuditForm.tsx:84
* kind: component
* core: rh
* spec: (none)
* summary: Utility for med storage audit form.
* score: 1

### component MedStorageAuditsPage

* file: src/cores/rh/pages/MedStorageAuditsPage.tsx:15
* kind: component
* core: rh
* spec: (none)
* summary: Utility for med storage audits page.
* score: 1

### component MedStorageAuditsTable

* file: src/cores/rh/components/MedStorageAuditsTable.tsx:28
* kind: component
* core: rh
* spec: (none)
* summary: Utility for med storage audits table.
* score: 1

### component MilestonesPrivilegesStep

* file: src/cores/rh/components/wizards/program-creation/steps/MilestonesPrivilegesStep.tsx:85
* kind: component
* core: rh
* spec: RH-UX-01
* summary: Third step of the Program Creation Wizard. Lets staff add, edit, and removemilestone definitions per phase and set the program-wide visitor policy andpass eligibility, surfacing per-field validation errors.Props:- — current (partial) milestones and privilege selections.- — emits partial updates as milestones/policies change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component NewEpisodePage

* file: src/cores/rh/pages/NewEpisodePage.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Choose an episode type before launching the appropriate workflow.
* score: 2

### component OutcomeAssessmentDetailPage

* file: src/cores/rh/pages/OutcomeAssessmentDetailPage.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome assessment detail page.
* score: 1

### component OutcomeAssessmentDialog

* file: src/cores/rh/components/forms/OutcomeAssessmentDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome assessment dialog.
* score: 1

### component OutcomeAssessmentForm

* file: src/cores/rh/components/forms/OutcomeAssessmentForm.tsx:55
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome assessment form.
* score: 1

### component OutcomeAssessmentsPage

* file: src/cores/rh/pages/OutcomeAssessmentsPage.tsx:28
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome assessments page.
* score: 1

### component OutcomeAssessmentsTable

* file: src/cores/rh/components/tables/OutcomeAssessmentsTable.tsx:28
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome assessments table.
* score: 1

### component OutcomeAssessmentStatusBadge

* file: src/cores/rh/components/OutcomeAssessmentStatusBadge.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome assessment status badge.
* score: 1

### component OutcomeCheckpointDialog

* file: src/cores/rh/components/forms/OutcomeCheckpointDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome checkpoint dialog.
* score: 1

### component OutcomeCheckpointForm

* file: src/cores/rh/components/forms/OutcomeCheckpointForm.tsx:46
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome checkpoint form.
* score: 1

### component OutcomeIndicatorDialog

* file: src/cores/rh/components/forms/OutcomeIndicatorDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome indicator dialog.
* score: 1

### component OutcomeIndicatorForm

* file: src/cores/rh/components/forms/OutcomeIndicatorForm.tsx:38
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome indicator form.
* score: 1

### component OutcomeIndicatorsPage

* file: src/cores/rh/pages/OutcomeIndicatorsPage.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome indicators page.
* score: 1

### component OutcomeMeasurementDialog

* file: src/cores/rh/components/forms/OutcomeMeasurementDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome measurement dialog.
* score: 1

### component OutcomeMeasurementForm

* file: src/cores/rh/components/forms/OutcomeMeasurementForm.tsx:48
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome measurement form.
* score: 1

### component OutcomeMeasurementsTable

* file: src/cores/rh/components/tables/OutcomeMeasurementsTable.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome measurements table.
* score: 1

### component OutcomesAssessmentWizard

* file: src/cores/rh/components/wizards/outcomes-assessment/OutcomesAssessmentWizard.tsx:53
* kind: component
* core: rh
* spec: RH-UX-05
* summary: Three-step guided wizard for completing a resident outcomes assessment:assessment context, multi-section instrument responses, then review andsubmit. On submit it persists the assessment and reports its id.Props:- — optional episode to associate the assessment with (prefills context).- — called with the created assessment id after submission.- — called when the user dismisses the wizard.
* params:
  * props — Optional episode context and completion/exit callbacks.
* score: 5

### component OutcomesAssessmentWizardPage

* file: src/cores/rh/pages/OutcomesAssessmentWizardPage.tsx:21
* kind: component
* core: rh
* spec: RH-UX-05
* summary: Route page that hosts the . Reads an optional from the query string and navigates to the created assessment orback to the assessments list. Takes no props.
* score: 5

### component OutcomesDashboardPage

* file: src/cores/rh/pages/OutcomesDashboardPage.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcomes dashboard page.
* score: 1

### component OutcomeSuccessChart

* file: src/cores/rh/components/charts/OutcomeSuccessChart.tsx:39
* kind: component
* core: rh
* spec: RH-07
* summary: Bar chart comparing success rates across outcome indicators, including thenumber of measurements behind each rate. Shows a skeleton while loading.Props:- — outcome rows, each with , , and .- — when true, renders a loading skeleton instead of the chart.
* params:
  * props — The outcome data and loading flag.
* score: 5

### component OutcomeSummaryWidget

* file: src/cores/rh/components/dashboard/OutcomeSummaryWidget.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for outcome summary widget.
* score: 1

### component PartiesWitnessesStep

* file: src/cores/rh/components/wizards/grievance-filing/steps/PartiesWitnessesStep.tsx:58
* kind: component
* core: rh
* spec: RH-UX-06
* summary: Optional step of the Grievance Filing Wizard. Renders controlled inputs forinvolved parties, witness names/contact, and the incident date and location,surfacing per-field validation errors.Props:- — current (partial) parties/witnesses entries.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component PassDetailPage

* file: src/cores/rh/pages/PassDetailPage.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for pass detail page.
* score: 1

### component PassDialog

* file: src/cores/rh/components/forms/PassDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for pass dialog.
* score: 1

### component PassesPage

* file: src/cores/rh/pages/PassesPage.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for passes page.
* score: 1

### component PassesTable

* file: src/cores/rh/components/PassesTable.tsx:37
* kind: component
* core: rh
* spec: (none)
* summary: Utility for passes table.
* score: 1

### component PassForm

* file: src/cores/rh/components/forms/PassForm.tsx:58
* kind: component
* core: rh
* spec: (none)
* summary: Utility for pass form.
* score: 1

### component PassStatusBadge

* file: src/cores/rh/components/PassStatusBadge.tsx:23
* kind: component
* core: rh
* spec: (none)
* summary: Utility for pass status badge.
* score: 1

### component PassTypeBadge

* file: src/cores/rh/components/PassTypeBadge.tsx:10
* kind: component
* core: rh
* spec: (none)
* summary: Utility for pass type badge.
* score: 1

### component PaymentStatusCard

* file: src/cores/rh/components/PaymentStatusCard.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for payment status card.
* score: 1

### component PeopleAndNarrativeStep

* file: src/cores/rh/components/wizards/significant-event-reporting/steps/PeopleAndNarrativeStep.tsx:56
* kind: component
* core: rh
* spec: RH-UX-02
* summary: Second step of the Significant Event Reporting Wizard. Renders controlledinputs for the factual event narrative, immediate actions taken, witnesses,and reporter name, surfacing per-field validation errors.Props:- — current (partial) people/narrative entries.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component PhaseActionButtons

* file: src/cores/rh/components/PhaseActionButtons.tsx:10
* kind: component
* core: rh
* spec: (none)
* summary: Utility for phase action buttons.
* score: 1

### component PhaseCard

* file: src/cores/rh/components/PhaseCard.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for phase card.
* score: 1

### component PhaseLadderStep

* file: src/cores/rh/components/wizards/program-creation/steps/PhaseLadderStep.tsx:76
* kind: component
* core: rh
* spec: RH-UX-01
* summary: Second step of the Program Creation Wizard. Renders editable phase rows(seeding the default 120-day ladder) where staff adjust each phase's label,duration, and required flag, surfacing per-field validation errors.Props:- — current (partial) phase ladder.- — emits partial updates as phases change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component PhaseProgressionDialog

* file: src/cores/rh/components/PhaseProgressionDialog.tsx:12
* kind: component
* core: rh
* spec: (none)
* summary: Utility for phase progression dialog.
* score: 1

### component PhaseProgressionTimeline

* file: src/cores/rh/components/PhaseProgressionTimeline.tsx:13
* kind: component
* core: rh
* spec: (none)
* summary: Utility for phase progression timeline.
* score: 1

### component PhasesAccordion

* file: src/cores/rh/components/PhasesAccordion.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for phases accordion.
* score: 1

### component ProgramCreationWizard

* file: src/cores/rh/components/wizards/program-creation/ProgramCreationWizard.tsx:61
* kind: component
* core: rh
* spec: RH-UX-01
* summary: Five-step guided wizard for creating a Recovery Housing program: programidentity, phase ladder, milestones and privileges, progression rules, thenreview and activate. On activation it persists the program and reports its id.Props:- — called with the created program id after activation.- — called when the user dismisses the wizard.
* params:
  * props — Wizard completion and exit callbacks.
* score: 5

### component ProgramCreationWizardPage

* file: src/cores/rh/pages/ProgramCreationWizardPage.tsx:21
* kind: component
* core: rh
* spec: RH-UX-01
* summary: Route page that hosts the , navigating to thecreated program or back to the programs list on completion/exit. Takes noprops.
* score: 5

### component ProgramDetailPage

* file: src/cores/rh/pages/ProgramDetailPage.tsx:20
* kind: component
* core: rh
* spec: (none)
* summary: Utility for program detail page.
* score: 1

### component ProgramDialog

* file: src/cores/rh/components/ProgramDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for program dialog.
* score: 1

### component ProgramForm

* file: src/cores/rh/components/ProgramForm.tsx:34
* kind: component
* core: rh
* spec: (none)
* summary: Utility for program form.
* score: 1

### component ProgramIdentityStep

* file: src/cores/rh/components/wizards/program-creation/steps/ProgramIdentityStep.tsx:61
* kind: component
* core: rh
* spec: RH-UX-01
* summary: First step of the Program Creation Wizard. Renders controlled inputs for theprogram name, description, default duration, and program type, surfacingper-field validation errors.Props:- — current (partial) program identity.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component ProgramSelectionStep

* file: src/cores/rh/components/wizards/admission-steps/ProgramSelectionStep.tsx:29
* kind: component
* core: rh
* spec: (none)
* summary: Utility for program selection step.
* score: 1

### component ProgramsPage

* file: src/cores/rh/pages/ProgramsPage.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for programs page.
* score: 1

### component ProgramsTable

* file: src/cores/rh/components/ProgramsTable.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for programs table.
* score: 1

### component ProgressionRulesStep

* file: src/cores/rh/components/wizards/program-creation/steps/ProgressionRulesStep.tsx:58
* kind: component
* core: rh
* spec: RH-UX-01
* summary: Fourth step of the Program Creation Wizard. Renders controls for theprogression type and the regression/approval toggles that govern howresidents move between phases, surfacing per-field validation errors.Props:- — current (partial) progression rules.- — emits partial updates as toggles change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component RecentAdmissionsWidget

* file: src/cores/rh/components/dashboard/RecentAdmissionsWidget.tsx:13
* kind: component
* core: rh
* spec: (none)
* summary: Utility for recent admissions widget.
* score: 1

### component ReferralDetailPage

* file: src/cores/rh/pages/discharge/ReferralDetailPage.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referral detail page.
* score: 1

### component ReferralDialog

* file: src/cores/rh/components/discharge/ReferralDialog.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referral dialog.
* score: 1

### component ReferralForm

* file: src/cores/rh/components/discharge/forms/ReferralForm.tsx:61
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referral form.
* score: 1

### component ReferralsCard

* file: src/cores/rh/components/discharge/cards/ReferralsCard.tsx:41
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referrals card.
* score: 1

### component ReferralsPage

* file: src/cores/rh/pages/discharge/ReferralsPage.tsx:20
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referrals page.
* score: 1

### component ReferralsTable

* file: src/cores/rh/components/discharge/ReferralsTable.tsx:27
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referrals table.
* score: 1

### component ReferralStatusBadge

* file: src/cores/rh/components/discharge/ReferralStatusBadge.tsx:38
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referral status badge.
* score: 1

### component ReferralSuccessWidget

* file: src/cores/rh/components/dashboard/ReferralSuccessWidget.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referral success widget.
* score: 1

### component ReferralTypeBadge

* file: src/cores/rh/components/discharge/ReferralTypeBadge.tsx:40
* kind: component
* core: rh
* spec: (none)
* summary: Utility for referral type badge.
* score: 1

### component ReportCreatePage

* file: src/cores/rh/pages/ReportCreatePage.tsx:15
* kind: component
* core: rh
* spec: (none)
* summary: Utility for report create page.
* score: 1

### component ReportDefinitionDialog

* file: src/cores/rh/components/forms/ReportDefinitionDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for report definition dialog.
* score: 1

### component ReportDefinitionForm

* file: src/cores/rh/components/forms/ReportDefinitionForm.tsx:66
* kind: component
* core: rh
* spec: (none)
* summary: Utility for report definition form.
* score: 1

### component ReportDefinitionsTable

* file: src/cores/rh/components/tables/ReportDefinitionsTable.tsx:35
* kind: component
* core: rh
* spec: (none)
* summary: Utility for report definitions table.
* score: 1

### component ReportDetailPage

* file: src/cores/rh/pages/ReportDetailPage.tsx:21
* kind: component
* core: rh
* spec: (none)
* summary: Utility for report detail page.
* score: 1

### component ReportsDueWidget

* file: src/cores/rh/components/dashboard/ReportsDueWidget.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for reports due widget.
* score: 1

### component ReportsPage

* file: src/cores/rh/pages/ReportsPage.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for reports page.
* score: 1

### component ReportTypeBadge

* file: src/cores/rh/components/ReportTypeBadge.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Utility for report type badge.
* score: 1

### component RequirementDefinitionStep

* file: src/cores/rh/components/wizards/compliance-setup/steps/RequirementDefinitionStep.tsx:80
* kind: component
* core: rh
* spec: RH-UX-04
* summary: First step of the Compliance Setup Wizard. Renders controlled inputs for therequirement title, description, category, type, and optional regulatoryreference, surfacing per-field validation errors.Props:- — current (partial) requirement definition.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component ResidenceDetailPage

* file: src/cores/rh/pages/ResidenceDetailPage.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for residence detail page.
* score: 1

### component ResidenceDialog

* file: src/cores/rh/components/ResidenceDialog.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for residence dialog.
* score: 1

### component ResidenceForm

* file: src/cores/rh/components/ResidenceForm.tsx:43
* kind: component
* core: rh
* spec: (none)
* summary: Utility for residence form.
* score: 1

### component ResidencesPage

* file: src/cores/rh/pages/ResidencesPage.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for residences page.
* score: 1

### component ResidencesTable

* file: src/cores/rh/components/ResidencesTable.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for residences table.
* score: 1

### component ResidentAdmissionWizard

* file: src/cores/rh/components/wizards/ResidentAdmissionWizard.tsx:58
* kind: component
* core: rh
* spec: (none)
* summary: Utility for resident admission wizard.
* score: 1

### component ResidentAgreementCard

* file: src/cores/rh/components/ResidentAgreementCard.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for resident agreement card.
* score: 1

### component ReviewActivateStep

* file: src/cores/rh/components/wizards/program-creation/steps/ReviewActivateStep.tsx:44
* kind: component
* core: rh
* spec: RH-UX-01
* summary: Final step of the Program Creation Wizard. Presents a read-only summary ofthe program identity, phase ladder (with total program length), milestonesand privileges, and progression rules before the program is activated.Props:- — program identity gathered in step 1.- — phase ladder gathered in step 2.- — milestones and privileges gathered in step 3.- — progression rules gathered in step 4.
* params:
  * props — The four sections of collected wizard data.
* score: 5

### component ReviewSubmitStep

* file: src/cores/rh/components/wizards/admission-steps/ReviewSubmitStep.tsx:73
* kind: component
* core: rh
* spec: (none)
* summary: Utility for review submit step.
* score: 1

### component RHFormsPage

* file: src/cores/rh/pages/RHFormsPage.tsx:13
* kind: component
* core: rh
* spec: (none)
* summary: Utility for rhforms page.
* score: 1

### component RHOverview

* file: src/cores/rh/pages/RHOverview\.tsx:43
* kind: component
* core: rh
* spec: (none)
* summary: Utility for rhoverview.
* score: 1

### component RHSettingsForm

* file: src/cores/rh/components/RHSettingsForm.tsx:107
* kind: component
* core: rh
* spec: none
* summary: Form for editing the Recovery Housing module's organization-wide settings(default stay duration, follow-up cadence, compliance and integrationtoggles), backed by react-hook-form + zod validation.Props: seeds the form from the current saved settings; receives the validated ; disables the submit control while a save is in flight.
* params:
  * props — Form props: , , .
* score: 5

### component RHSettingsPage

* file: src/cores/rh/pages/RHSettingsPage.tsx:24
* kind: component
* core: rh
* spec: (none)
* summary: Utility for rhsettings page.
* score: 1

### component ScheduleScopeStep

* file: src/cores/rh/components/wizards/compliance-setup/steps/ScheduleScopeStep.tsx:65
* kind: component
* core: rh
* spec: RH-UX-04
* summary: Second step of the Compliance Setup Wizard. Renders controlled inputs for therecurrence frequency, optional due day, lead-time window, and target scope,surfacing per-field validation errors.Props:- — current (partial) schedule/scope selections.- — emits partial updates as fields change.- — field-keyed validation messages to display.
* params:
  * props — Current data, change handler, and validation errors.
* score: 5

### component ScheduleTemplateDialog

* file: src/cores/rh/components/forms/ScheduleTemplateDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for schedule template dialog.
* score: 1

### component ScheduleTemplateForm

* file: src/cores/rh/components/forms/ScheduleTemplateForm.tsx:42
* kind: component
* core: rh
* spec: (none)
* summary: Utility for schedule template form.
* score: 1

### component ScheduleTemplatesPage

* file: src/cores/rh/pages/ScheduleTemplatesPage.tsx:22
* kind: component
* core: rh
* spec: (none)
* summary: Utility for schedule templates page.
* score: 1

### component ShiftNoteDetailPage

* file: src/cores/rh/pages/ShiftNoteDetailPage.tsx:34
* kind: component
* core: rh
* spec: (none)
* summary: Utility for shift note detail page.
* score: 1

### component ShiftNoteDialog

* file: src/cores/rh/components/forms/ShiftNoteDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for shift note dialog.
* score: 1

### component ShiftNoteForm

* file: src/cores/rh/components/forms/ShiftNoteForm.tsx:49
* kind: component
* core: rh
* spec: (none)
* summary: Utility for shift note form.
* score: 1

### component ShiftNotesPage

* file: src/cores/rh/pages/ShiftNotesPage.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Utility for shift notes page.
* score: 1

### component ShiftNotesTable

* file: src/cores/rh/components/ShiftNotesTable.tsx:25
* kind: component
* core: rh
* spec: (none)
* summary: Utility for shift notes table.
* score: 1

### component SignificantEventDetailPage

* file: src/cores/rh/pages/SignificantEventDetailPage.tsx:29
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant event detail page.
* score: 1

### component SignificantEventDialog

* file: src/cores/rh/components/forms/SignificantEventDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant event dialog.
* score: 1

### component SignificantEventForm

* file: src/cores/rh/components/forms/SignificantEventForm.tsx:45
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant event form.
* score: 1

### component SignificantEventReportingWizard

* file: src/cores/rh/components/wizards/significant-event-reporting/SignificantEventReportingWizard.tsx:53
* kind: component
* core: rh
* spec: RH-UX-02
* summary: Three-step guided wizard for reporting a significant event: eventclassification, people and narrative, then review and submit. On submit itpersists the event and reports its id.Props:- — optional resident episode the event relates to.- — called with the created event id after submission.- — called when the user dismisses the wizard.
* params:
  * props — Optional episode context and completion/exit callbacks.
* score: 5

### component SignificantEventReportingWizardPage

* file: src/cores/rh/pages/SignificantEventReportingWizardPage.tsx:21
* kind: component
* core: rh
* spec: RH-UX-02
* summary: Route page that hosts the . Reads anoptional from the query string and navigates to the created eventor back to the events list. Takes no props.
* score: 5

### component SignificantEventSeverityBadge

* file: src/cores/rh/components/SignificantEventSeverityBadge.tsx:21
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant event severity badge.
* score: 1

### component SignificantEventsPage

* file: src/cores/rh/pages/SignificantEventsPage.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant events page.
* score: 1

### component SignificantEventsTable

* file: src/cores/rh/components/SignificantEventsTable.tsx:34
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant events table.
* score: 1

### component SignificantEventStatusBadge

* file: src/cores/rh/components/SignificantEventStatusBadge.tsx:21
* kind: component
* core: rh
* spec: (none)
* summary: Utility for significant event status badge.
* score: 1

### component SobrietyRateWidget

* file: src/cores/rh/components/dashboard/SobrietyRateWidget.tsx:16
* kind: component
* core: rh
* spec: (none)
* summary: Utility for sobriety rate widget.
* score: 1

### component SobrietyTrendChart

* file: src/cores/rh/components/charts/SobrietyTrendChart.tsx:36
* kind: component
* core: rh
* spec: RH-07
* summary: Line chart plotting sobriety rates across post-discharge checkpoints (e.g.discharge, 30/90/180-day), including the cohort count at each checkpoint.Shows a skeleton while loading and uses placeholder data when none is given.Props:- — checkpoint rows, each with , , , and .- — when true, renders a loading skeleton instead of the chart.
* params:
  * props — The checkpoint data and loading flag.
* score: 5

### component StaffAssignmentDialog

* file: src/cores/rh/components/forms/StaffAssignmentDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff assignment dialog.
* score: 1

### component StaffAssignmentForm

* file: src/cores/rh/components/forms/StaffAssignmentForm.tsx:64
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff assignment form.
* score: 1

### component StaffAssignmentsPage

* file: src/cores/rh/pages/StaffAssignmentsPage.tsx:32
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff assignments page.
* score: 1

### component StaffAssignmentsTable

* file: src/cores/rh/components/StaffAssignmentsTable.tsx:49
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff assignments table.
* score: 1

### component StaffTrainingDialog

* file: src/cores/rh/components/forms/StaffTrainingDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff training dialog.
* score: 1

### component StaffTrainingForm

* file: src/cores/rh/components/forms/StaffTrainingForm.tsx:51
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff training form.
* score: 1

### component StaffTrainingsPage

* file: src/cores/rh/pages/StaffTrainingsPage.tsx:38
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff trainings page.
* score: 1

### component StaffTrainingsTable

* file: src/cores/rh/components/StaffTrainingsTable.tsx:40
* kind: component
* core: rh
* spec: (none)
* summary: Utility for staff trainings table.
* score: 1

### component TrainingDueWidget

* file: src/cores/rh/components/dashboard/TrainingDueWidget.tsx:17
* kind: component
* core: rh
* spec: (none)
* summary: Utility for training due widget.
* score: 1

### component TrainingStatusBadge

* file: src/cores/rh/components/TrainingStatusBadge.tsx:41
* kind: component
* core: rh
* spec: (none)
* summary: Utility for training status badge.
* score: 1

### component TransportPage

* file: src/cores/rh/pages/TransportPage.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for transport page.
* score: 1

### component TransportRequestDialog

* file: src/cores/rh/components/forms/TransportRequestDialog.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for transport request dialog.
* score: 1

### component TransportRequestForm

* file: src/cores/rh/components/forms/TransportRequestForm.tsx:40
* kind: component
* core: rh
* spec: (none)
* summary: Utility for transport request form.
* score: 1

### component UDSResultBadge

* file: src/cores/rh/components/UDSResultBadge.tsx:20
* kind: component
* core: rh
* spec: (none)
* summary: Utility for udsresult badge.
* score: 1

### component UDSTestDetailPage

* file: src/cores/rh/pages/UDSTestDetailPage.tsx:18
* kind: component
* core: rh
* spec: (none)
* summary: Utility for udstest detail page.
* score: 1

### component UDSTestDialog

* file: src/cores/rh/components/forms/UDSTestDialog.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for udstest dialog.
* score: 1

### component UDSTestForm

* file: src/cores/rh/components/forms/UDSTestForm.tsx:59
* kind: component
* core: rh
* spec: (none)
* summary: Utility for udstest form.
* score: 1

### component UDSTestsPage

* file: src/cores/rh/pages/UDSTestsPage.tsx:15
* kind: component
* core: rh
* spec: (none)
* summary: Utility for udstests page.
* score: 1

### component UDSTestsTable

* file: src/cores/rh/components/UDSTestsTable.tsx:26
* kind: component
* core: rh
* spec: (none)
* summary: Utility for udstests table.
* score: 1

### component UpcomingAuditsWidget

* file: src/cores/rh/components/dashboard/UpcomingAuditsWidget.tsx:19
* kind: component
* core: rh
* spec: (none)
* summary: Utility for upcoming audits widget.
* score: 1

### component UpcomingDischargesWidget

* file: src/cores/rh/components/dashboard/UpcomingDischargesWidget.tsx:14
* kind: component
* core: rh
* spec: (none)
* summary: Utility for upcoming discharges widget.
* score: 1

### component WaitlistWidget

* file: src/cores/rh/components/dashboard/WaitlistWidget.tsx:13
* kind: component
* core: rh
* spec: (none)
* summary: Utility for waitlist widget.
* score: 1

## Functions & utilities

### function buildDischargeSummaryContent

* file: src/cores/rh/templates/discharge-summary-content.ts:15
* kind: function
* core: rh
* spec: (none)
* summary: Build discharge summary document content for PDF generation (PF-64).
* score: 4

### function buildIncidentReportContent

* file: src/cores/rh/templates/incident-report-content.ts:10
* kind: function
* core: rh
* spec: (none)
* summary: Build incident report document content for PDF generation (PF-64).
* score: 4

### function buildResidentAgreementContent

* file: src/cores/rh/templates/resident-agreement-content.ts:123
* kind: function
* core: rh
* spec: (none)
* summary: Build resident agreement document content for PDF generation (PF-64).
* score: 4

### function calculateCompliancePercentage

* file: src/cores/rh/utils/compliance-calculations.ts:27
* kind: function
* core: rh
* spec: (none)
* summary: Calculate compliance percentage from checklist items
* score: 4

### function calculateFollowUpDate

* file: src/cores/rh/utils/dischargeValidation.ts:201
* kind: function
* core: rh
* spec: (none)
* summary: Calculate scheduled date for a follow-up timepoint
* score: 4

### function calculateReadinessPercentage

* file: src/cores/rh/utils/dischargeValidation.ts:161
* kind: function
* core: rh
* spec: (none)
* summary: Calculate discharge readiness percentage based on checklist completion
* score: 4

### function calculateStatusDistribution

* file: src/cores/rh/utils/compliance-calculations.ts:55
* kind: function
* core: rh
* spec: (none)
* summary: Calculate status distribution from checklists
* score: 4

### function categorizeChecklistStatus

* file: src/cores/rh/utils/compliance-calculations.ts:39
* kind: function
* core: rh
* spec: (none)
* summary: Categorize a checklist status for reporting
* score: 4

### function getComplianceLevel

* file: src/cores/rh/utils/compliance-calculations.ts:75
* kind: function
* core: rh
* spec: (none)
* summary: Determine compliance level based on percentage
* score: 4

### function getNextFollowUpTimepoint

* file: src/cores/rh/utils/dischargeValidation.ts:186
* kind: function
* core: rh
* spec: (none)
* summary: Get the next follow-up timepoint based on discharge date
* score: 4

### function getPassEligibilityByPhase

* file: src/cores/rh/utils/passEligibility.ts:28
* kind: function
* core: rh
* spec: (none)
* summary: Return the pass types permitted for a given phase.Unknown or missing phases return an empty array (deny-by-default).
* score: 4

### function getReadinessStatus

* file: src/cores/rh/utils/dischargeValidation.ts:171
* kind: function
* core: rh
* spec: (none)
* summary: Determine readiness status based on checklist completion
* score: 4

### function isTrainingExpired

* file: src/cores/rh/utils/compliance-calculations.ts:99
* kind: function
* core: rh
* spec: (none)
* summary: Check if training is expired
* score: 4

### function isTrainingExpiringSoon

* file: src/cores/rh/utils/compliance-calculations.ts:85
* kind: function
* core: rh
* spec: (none)
* summary: Check if training is expiring soon
* score: 4

### function validateChecklistItem

* file: src/cores/rh/utils/dischargeValidation.ts:137
* kind: function
* core: rh
* spec: (none)
* summary: Validate checklist item data before submission
* score: 4

### function validateDischargePlan

* file: src/cores/rh/utils/dischargeValidation.ts:28
* kind: function
* core: rh
* spec: (none)
* summary: Validate discharge plan data before submission
* score: 4

### function validateFollowUpContact

* file: src/cores/rh/utils/dischargeValidation.ts:105
* kind: function
* core: rh
* spec: (none)
* summary: Validate follow-up contact data before submission
* score: 4

### function validateReferral

* file: src/cores/rh/utils/dischargeValidation.ts:64
* kind: function
* core: rh
* spec: (none)
* summary: Validate referral data before submission
* score: 4
