Skip to main content

Fictional example data. Every name, date and value on these pages is made up. No real patient information appears here.

AiProvenanceBadge

Renders on sections that went through the AI-draft → patient-approved workflow. Color encodes provenance only (AI semantic family — domain-ai tokens), per the two-axis color rule. The pill is the compact variant; the full variant adds an explanatory line below. Returns null when the draft has not been patient-approved (approved_at is null) — the workflow gate is honored at the component boundary, not at the call site.

Variants

variant=pill (default)
AI-assisted
variant="full"
AI-assisted

Drafted with AI assistance — patient-approved May 1, 2026

approved_at=null (renders nothing)
(no badge — guarded against unapproved drafts)

In context

The badge is intended to sit beneath a section heading on patient-facing summaries. The AI semantic color family (statusbg-ai-subtle / border-ai / text-ai) keeps it distinct from clinical or status content while staying understated.

Chief Complaint

AI-assisted

Drafted with AI assistance — patient-approved May 1, 2026

Sample chief-complaint text for the example patient, worsening over the past 6 months.