import React, { useState } from 'react'; import { motion } from 'framer-motion'; import { Database, Search, Calendar, TrendingUp, Clock, FileText, User, Activity, MapPin, ChevronRight, Filter, CheckCircle2, Video } from 'lucide-react'; export const PatientArchive: React.FC = () => { const [activeTab, setActiveTab] = useState<'LIST' | 'TIMELINE'>('LIST'); const archive = [ { id: 'INC-9012', date: '2026-05-04', name: 'Rajit Bose', age: 52, gender: 'M', triage: 'RED', category: 'CARDIAC', outcome: 'DISCHARGED', ambulance: 'ALS-02', teleLink: true }, { id: 'INC-8955', date: '2026-05-03', name: 'Sana Khan', age: 24, gender: 'F', triage: 'YELLOW', category: 'TRAUMA', outcome: 'ADMITTED', ambulance: 'BLS-09', teleLink: false }, { id: 'INC-8940', date: '2026-05-03', name: 'Unknown Male', age: 0, gender: 'M', triage: 'RED', category: 'STROKE', outcome: 'DECEASED', ambulance: 'ALS-01', teleLink: true }, ]; return (

PATIENT & INCIDENT HISTORY

COMPREHENSIVE CARE RECORDS
LAST 30 DAYS
{archive.map(p => ( ))}
Patient ID & Date Category Provider Details Outcome History
{p.name} {p.id} · {p.date}
{p.category} {p.triage}
{p.ambulance} {p.teleLink &&
{p.outcome}

Outcome Distribution

{/* Simple Mock Bars */}
Admitted
65%
Discharged
25%
Referred
10%

Timeline Insight (Scene to ED)

28.4 min
▼ 2m vs Last Month
); };