import type { CardInstance } from './types';

export const demoCards: Record<string, CardInstance> = {
  card_department: {
    cardInstanceId: 'card_department',
    cardKey: 'department-selection',
    status: 'active',
    cardData: {
      departments: [
        { departmentId: 'neurology', name: '神经内科', reason: '头痛伴恶心，建议优先排查神经系统相关问题。' },
        { departmentId: 'general_internal', name: '普通内科', reason: '可作为综合初筛科室。' }
      ]
    },
    actions: [{ actionName: 'select_department', label: '选择科室' }]
  },
  card_doctor: {
    cardInstanceId: 'card_doctor',
    cardKey: 'doctor-selection',
    status: 'active',
    cardData: {
      doctors: [
        { doctorId: 'DOC001', name: '李明', title: '主任医师', specialty: '头痛、眩晕、脑血管病', room: '门诊三楼 302' },
        { doctorId: 'DOC002', name: '王佳', title: '副主任医师', specialty: '慢性头痛、神经系统常见病', room: '门诊三楼 306' }
      ]
    },
    actions: [{ actionName: 'select_doctor', label: '选择医生' }]
  },
  card_slot: {
    cardInstanceId: 'card_slot',
    cardKey: 'time-slot-selection',
    status: 'active',
    cardData: {
      slots: [
        { slotId: 'slot_0930', timePeriod: '明天 09:30-09:45', remaining: 3 },
        { slotId: 'slot_0945', timePeriod: '明天 09:45-10:00', remaining: 2 }
      ]
    },
    actions: [{ actionName: 'select_time_slot', label: '选择时间' }]
  }
};
