// src/components/ProxyAttributionBadge/ProxyAttributionBadge.tsx // F1 plan Task 12: small presentational badge that makes the on-behalf-of attribution rule // visible wherever a RelatedPerson (a proxy) is the sender/author instead of the patient. import { ShieldCheck } from 'lucide-react'; import { cn } from '../../lib/utils'; import { buildProxyAttributionLabel } from './proxyAttribution'; export interface ProxyAttributionBadgeProps { relatedPersonName?: string; patientName?: string; className?: string; } const ProxyAttributionBadge = ({ relatedPersonName, patientName, className, }: ProxyAttributionBadgeProps) => { const label = buildProxyAttributionLabel(relatedPersonName, patientName); return ( ); }; export default ProxyAttributionBadge;