Skip to main content

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.

The Follow-Up Details page displays a single post-discharge follow-up schedule record, its contact history, and provides controls to edit the schedule or log a new contact attempt. Route: /rh/follow-ups/:id

Overview

The page resolves the follow-up schedule by matching the id URL parameter against the list returned by useFollowUpSchedules. It then loads contact history for that schedule via useFollowUpContacts. Two cards are displayed side by side on medium-and-wider viewports:
CardContent
Schedule DetailsScheduled date, timepoint, status badge, latest contact outcome (if any), notes
Contact HistoryTable of contact attempts: date, method, result
Action controls:
  • Edit — opens FollowUpScheduleDialog to update scheduled date, timepoint, or notes.
  • Log Contact — opens FollowUpContactDialog to record a new contact attempt. This button is hidden when the schedule status is completed.
The page breadcrumb label is set to the formatted scheduled date.

Who it’s for

Requires the rh.dashboard.view permission (applied to all RH routes via RHViewGuard). No additional inner permission gate exists on this route.

Before you start

  • Navigate here from the Follow-Ups list (/rh/follow-ups) by clicking a row.
  • Ensure the follow-up schedule was created for the correct episode before logging contacts.

Steps

1

Open the follow-up record

From Recovery Housing → Follow-Ups (/rh/follow-ups), click a row to navigate to /rh/follow-ups/<id>.
2

Review schedule details

The Schedule Details card shows the scheduled date, timepoint, current status, and any notes. If a contact has been logged, the latest outcome is also displayed.
3

Review contact history

The Contact History card lists all previously logged contact attempts with their date, method, and result.
4

Log a new contact attempt

Click Log Contact to open the contact dialog. Enter the contact date, method, and result, then save. The button is hidden if the schedule is already completed.
5

Edit the schedule

Click Edit to update the scheduled date, timepoint, or notes via the FollowUpScheduleDialog.

Key concepts

  • Follow-up schedule — a record in rh_follow_up_schedules that defines when a post-discharge contact should occur for a given episode.
  • Timepoint — a label indicating the stage after discharge at which this follow-up is scheduled (e.g., 30_day, 90_day).
  • Contact attempt — a record in rh_follow_up_contacts logging the date, method, and result of an actual outreach attempt against a schedule.
  • Contact method — the channel used for outreach (stored in contact_method; displayed with underscores replaced by spaces).
  • Contact result — the outcome of a contact attempt (stored in contact_result).

Recovery Housing

Governance & parity

This page documents shipped product behavior. It is not medical, legal, or billing advice. Verify against your organization’s policies and applicable regulations before using it for clinical, compliance, or billing decisions. Protected health information (PHI) shown in the product is governed by your tenant’s access controls and is never exposed in this documentation.
  • src/routes/rh.tsx
  • src/cores/rh/pages/discharge/FollowUpDetailPage.tsx
  • src/cores/rh/hooks/discharge/useFollowUpSchedules.ts
  • src/cores/rh/hooks/discharge/useFollowUpContacts.ts