export function normalizeVisitReasonText(text?: string | null) {
  const raw = (text || '').trim()
  if (!raw) {
    return ''
  }
  if (raw.toUpperCase() === 'OTHER') {
    return '其他'
  }
  return raw.replace(/^其他[：:]\s*/, '')
}
