'use client'; import { useTranslations } from 'next-intl'; import { Patient } from '@/types/patient'; interface PatientSummaryCardProps { patient?: Patient; } export function PatientSummaryCard({ patient }: PatientSummaryCardProps) { const t = useTranslations('patients'); if (!patient) { return (
{t('selectPatient')}
{t('phoneLabel')} {patient.phone || t('emptyValue')}
{t('emailLabel')} {patient.email || t('emptyValue')}
{t('statusLabel')}{' '} {patient.isActive ? t('statusActive') : t('statusInactive')}