Cancer at Home — Support flow UX (carer → clinician)
Version: 1.3
Last Updated: 2026-07-31 23:02:18
Slug: cancer_at_home
Status: Product + UX specification — partial ship (Board V2 context panel + action-led plan shipped; mockup shows target end-state)
Parent: 29-CARE-MODULE-UI-ARCHITECTURE.md · LEARNING-CANCER-AT-HOME.md
Interactive mockup: assets/cancer-at-home/support-flow-mockup.html — six phone screens, Calm Care tokens, light/dark toggle.
1. Why this document exists
Section titled “1. Why this document exists”Cancer carers need one calm screen that guides the day, not a grid of features. Clinicians need a trustworthy home story without asking families to re-enter data. This spec ties:
- Research on ePRO / home monitoring and clinician workflow integration
- Care Flow Loop — orient → one prompt → because → next fork → share
- Mockup screens — family board vs visit prep / handoff
- Shipped vs target — honest delta against repo components
Implementation pilot lives in frontend/src/care-modules/cancer/ (Cancer-first; extract to shared after sign-off).
2. Research synthesis (external)
Section titled “2. Research synthesis (external)”| Theme | Finding | LynCareOS response |
|---|---|---|
| Proxy reporting | Home ePRO programs must support carers reporting on behalf of the patient (JCO Clin Cancer Inform — ePRO tenets) | Family-first copy; no “patient portal” framing; events tagged family_label |
| Workflow fit | Tools fail when bolted beside the EHR — embed in existing rhythm, minimize clicks (Physician AI Handbook — workflow integration) | Hub is daily board, not analytics; visit prep is one route clinicians can skim on the phone |
| Smart triage | Alert fatigue from isolated thresholds; prefer trend-aware escalation (Prevounce — smart triage) | Zone chip + spider portrait + “Because” line before full worry pathways |
| Longitudinal view | Clinicians want trends correlated with treatment events, not single scores (npj Precision Oncology — PROM visualization) | care_module_events dual-write; visit prep story.lines aggregates week-at-home |
| Bidirectional clarity | Carers need to know what happens next after they report (ePRO tenets — clinician response loop) | NextStepFork (Do now / Later / Skip) after check-in; fever pathway decision cards |
Design principle (family lens): Capture is conversation-shaped — one question, plain language, visible implication — not a form dump. See 00-FAMILY-CARE-LENS.md.
3. Care Flow Loop (product model)
Section titled “3. Care Flow Loop (product model)”| Stage | Family sees | System does | Primary components |
|---|---|---|---|
| Orient | Select Actions for today + treatment modes; read status + numbered plan | PATCH …/settings; buildTodayPlan | CancerTodayContextPanel, CancerStatusSummary, CancerTodayPlan |
| One prompt | Single spoke question + drag 0–5 | postStep per spoke | InlineComfortCheckIn, manifest steps |
| Because | One sentence — “what this means for today” | Rule copy from labels | buildComfortBecauseLine, BecauseLine |
| Next fork | Do now / Later / Skip | Route, session, or expand section | NextStepFork, buildCancerCareFlow |
| Action | Tile, pathway, or visit prep | care_module_events | Tiles, CaptureSession, routes |
| Share | Ready for oncology; tonight handoff | Aggregate events → story | VisitPrepPage, dashboard strip |
Rail (3 steps): Check-in → Next → Settled — CareFlowRail.tsx. Status driven by cancerCareFlow.ts.
4. Mockup screen catalogue
Section titled “4. Mockup screen catalogue”Open support-flow-mockup.html and use the tab bar to switch screens.
| Tab | Intent | Family actions | Events / data | Clinician visibility |
|---|---|---|---|---|
| 1 Morning hub | Start of day — where things stand | Read zone chip; see spider portrait | Zone evaluation; last bundle if any | — |
| 2 After answer | Complete comfort check-in | Drag spokes; Complete; read Because; choose fork | capture_session_step ×3; session_complete; fork choice metadata | Trends in visit prep bullets |
| 3 Infusion day | Chair-day orchestration | Primary CTA → packing checklist ticks | checklist_tick; infusion session steps | Adherence %; packing gaps in story |
| 4 Fever | Worry pathway under stress | Yes/No decision cards (not typing) | pathway_step funnel | Fever flags in story.lines |
| 5 Visit prep | Pre-clinic aggregation | Add question; toggle larger text | Questions queue; story read | Full week-at-home bullets + scales |
| 6 Handoff | Relief carer / tonight | Read one-line portrait; optional share | Generated handover sentence (Phase B) | Same summary, no edit |
5. Shipped vs target (honest delta)
Section titled “5. Shipped vs target (honest delta)”| Mockup element | Target UX | Shipped today | Gap |
|---|---|---|---|
| Context panel (top) | Day + treatment icons drive the day | ✅ CancerTodayContextPanel (cc-card + CancerDayPicker / CancerModeToggle) | — |
| Status summary | Mon–Sun spoke insights (1–7 days): trends, deterioration questions, when-to-call hints; hub fallback only if no daily status in week | ✅ CancerStatusSummary + comfortWeekInsightNarrative.ts | LLM or personalised clinician numbers (future) |
| Action-led plan | Numbered steps per day type + modes | ✅ buildTodayPlan + CancerTodayPlan | Persist “Later” reminders (Phase B) |
| Zone chip | Compact, non-intrusive | ✅ Replaced by status summary in V2 | — |
| Site picker | Right-aligned Listbox pill | ✅ CancerPrimarySitePicker | Body-zone pictogram (v2) |
| Daily status | Inline 8-spoke radar on scroll | ✅ InlineComfortCheckIn + ECharts radar | More dimensions from manifest (future) |
| Care Flow Rail | Step 1–3 rail | ⚠️ CareFlowRail retained; not mounted on hub | — |
| Bottom day/mode pickers | Duplicate controls at scroll bottom | ❌ Removed from hub | — |
| Home dashboard panel | Compact icons beside Care board | ✅ CareBoardDashboardPanel + dashboard-panel API | — |
| Because line | After all spokes saved | ✅ BecauseLine | Richer rules per primary site |
| Next fork | Do now / Later / Skip | ✅ NextStepFork + handleForkAction | Persist “Later” reminders (Phase B) |
| One prompt at a time | Active spoke headline | ✅ Unsaved spoke drives heading | — |
| Infusion packing | Inline on hub / fork | ✅ Checklist on tile + fork to session | Progress animation (spec) |
| Fever pathway | Decision cards on page | ⚠️ Overlay CaptureSession from tile | Inline cards on hub (target) |
| Visit prep | Aggregated story | ✅ Route + abbreviated bullets | Swipe clinician slides (CANC-H02 spec) |
| Handoff sentence | Tonight one-liner | ❌ Phase B HandoverSentence | Generator not built |
| Share to clinician | Export / show phone | ✅ Show on visit prep page | EHR integration out of scope v1 |
Code map (pilot):
| File | Role |
|---|---|
cancerBoardV2Model.ts | buildTodayPlan, buildPlanSubtitle, watch/activation builders |
CancerTodayContextPanel.tsx | Top context — composes day/mode pickers in cc-card |
CancerTodayPlan.tsx | Numbered action steps driven by day type + modes |
cancerCareFlow.ts | Flow steps + next fork resolution |
BecauseLine.tsx | Because copy display |
NextStepFork.tsx | Post-check-in fork UI |
InlineComfortCheckIn.tsx | Orchestrates radar + Because + fork |
CareBoardPage.tsx | Wires context panel, plan actions, fork handlers |
CareBoardDashboardPanel.tsx | Home discovery — dashboard-panel API |
6. Dual surface: family board vs clinician
Section titled “6. Dual surface: family board vs clinician”Same care_module_events feed both surfaces — no duplicate entry.
| Surface | Route | Tone | Data density |
|---|---|---|---|
| Family board | /care/cancer-at-home | Plain words, traffic light tints, ticks | Low — portrait + one CTA |
| Visit prep | /care/cancer-at-home/visit-prep | “Week at home, in brief” | Medium — bullets + optional larger type |
| Dashboard panel | / when boards on | Care board card + compact day/treatment icons + status chips | Low |
| Analytics (future) | /analytics?care_profile=… | Charts | High — practitioner-only |
Families should never need analytics to feel guided. Clinicians should never need the family to re-type what was already captured on the board.
7. Extraction path (Decision A)
Section titled “7. Extraction path (Decision A)”- Pilot all flow components under
care-modules/cancer/ - Sign-off on fork copy, Because rules, and fever inline vs overlay
- Extract generic
CareFlowRail,BecauseLine,NextStepForktocare-modules/shared/with manifest-driven step definitions - Breathing adopts same loop for daily bundle (traffic light → Because → PRN fork)
8. Document history
Section titled “8. Document history”| Version | Date | Change |
|---|---|---|
| 1.0 | 2026-06-05 | Initial spec: research synthesis, Care Flow Loop, mockup catalogue, shipped delta, Care Flow Rail pilot |
| 1.1 | 2026-06-10 | Board V2 ship delta: context panel, action-led plan, Daily status radar, home dashboard panel |