/* global React, KitChrome, RX */ const { useState: phUseState } = React; const { Eyebrow: phEy } = KitChrome; // ========================================================= // Rx DETAIL — drill-in // ========================================================= function RxDetail({ rx, onClose }) { const [tab, setTab] = phUseState("Overview"); const TABS = ["Overview", "Adherence", "Refills", "Interactions", "Provenance"]; // 30-day adherence grid const days = Array.from({ length: 30 }, (_, i) => { const taken = Math.random() > 0.06; const onTime = taken && Math.random() > 0.15; return { d: i + 1, taken, onTime }; }); return (
| # | Filled | Days supply | Pharmacy | Method | Cost | |
|---|---|---|---|---|---|---|
| 5 of 5 | 2026-02-18 | 90 | Mail order | Free 2-day | $10.00 | |
| 4 of 5 | 2025-11-19 | 90 | Mail order | Free 2-day | $10.00 | |
| 3 of 5 | 2025-08-20 | 90 | Pickup · CH Tallahassee | In-store | $10.00 | |
| 2 of 5 | 2025-05-21 | 90 | Pickup · CH Tallahassee | In-store | $10.00 | |
| 1 of 5 (initial) | 2025-02-21 | 30 | Pickup · CH Tallahassee | In-store | $8.50 |
Bundle up to 5 prescriptions into one ship. Free 2-day on every order. Your pharmacist screens for interactions before anything counts down.
| Medication | Ready | Refills left | Method | Cost | Status | ||
|---|---|---|---|---|---|---|---|
| setSelected({ ...selected, [i]: e.target.checked })} /> | {q.drug} |
{q.ready}{q.days !== null && q.days > 0 ? ` · ${q.days}d` : ""} | {q.refills} | {q.method} | {q.cost} | {q.status === "ready" ? "● Ready" : q.status === "due" ? "● Due now" : q.status === "wait" ? "⏳ Awaiting Rx" : "✕ Expired"} | {q.status === "expired" ? : q.status === "wait" ? : } |
Insulin, biologics, and refrigerated meds ship with sealed cold-chain packaging and live temperature logging. Everything else ships in tamper-evident envelopes.
We'll pull them over within one business day. Your refill counts and adherence streaks travel with you. No paperwork, no calls.
Every prescription you fill is also a contract: take it on time, mint HCR. Skip 3+ doses in a week and the orb decays. Here's how you're doing across all scripts.