// Screen 3: Participant Detail — 4 variations function DetailScreen() { return ( <>

③ Participant detail

Everything for one person — services, units, monthly use, claims. Where the spreadsheet's complexity lives. Four ways to organize.

{/* V1 — Tabbed: Overview / Services / Visits / Claims */}
← back
Aguilar, Phillip
ID 47298473 · M · 47 · Honolulu
OVER CAP + log visit
{['Overview','Services','Visits','Claims','Notes'].map((t,i)=>( {t} ))}
CLS 1:1 · plan year 2026
168 u remain of 2,880
FEB 26 → FEB 2794% used
Trend
Apr +12u over cap (240/228)
view all}>Last 4 visits {[['4/15','T2021',30,'$363.40','paid'],['4/8','T2021',32,'$385.48','paid'],['4/4','T2021',34,'$408.96','submitted'],['4/1','T2021',30,'$357.84','paid']].map(r=>( ))}
DateCodeUnitsBilledStatus
{r[0]}{r[1]}{r[2]}{r[3]} {r[4]}
{/* V2 — One long scroll, dense, like a chart */}
Aguilar, Phillip · M·47
Medicaid 47298473 · DOB 4/12/1979 · Honolulu
flagged
Active authorizations
{[['H2021 U4','CLS 1:1','Feb 25 → Feb 26','2880','2712','168','crit'],['T2021','CLS 1:1','Feb 26 → Feb 27','2880','414','2466','ok']].map(r=>(
{r[0]} {r[1]} {r[2]} auth {r[3]} · used {r[4]} · remain {r[5]}
))}
2026 monthly summary
Visit log · last 30 days {[['4/15','T2021',28,2486,2458,'$363.40','paid'],['4/8','T2021',30,2516,2486,'$385.48','paid'],['4/4','T2021',32,2548,2516,'$408.96','submitted'],['4/1','T2021',30,2578,2548,'$357.84','paid']].map(r=>( {r.map((c,i)=>)} ))}
DateCodeUnits/dayBeginEndBilledStatus
{c}
fastest for billing review · everything in one page
{/* V3 — Visual-first: big gauge + timeline */}
Phillip Aguilar
ID 47298473 · CLS 1:1 + log visit
YTD AUTH USED
plan year timeline
NOW
FEB 27
FEB 26
burning 22% faster than plan — projected to exhaust May 14
{[['authorized','2,880u','sage'],['used','2,712u','warn'],['remain','168u','crit'],['this month','+12 over','crit']].map(([k,v,t])=>(
{k}
{v}
))}
{/* V4 — Two-pane: timeline left, details right */}
Phillip's timeline
{[ ['crit','Apr 28','Auth alert','Over monthly cap by 12u'], ['ok','Apr 15','Visit logged','28 units · $363.40 billed'], ['ok','Apr 8','Visit logged','30 units · $385.48 billed'], ['info','Apr 4','Claim submitted','000884734… · pending'], ['ok','Apr 1','Visit logged','30 units'], ['aux','Feb 26','New auth','T2021 issued · 2,880u'], ].map(([s,d,t,desc])=>(
{d} {t}
{desc}
))}
Phillip Aguilar
M · 47 · Honolulu · ID 47298473
T2021 · CLS 1:1
2,712 used168 left
Assigned
{['LM','KP','TR'].map(n=>)} + assign
); } window.DetailScreen = DetailScreen;