diff --git a/src/pages/Dashboard.tsx b/src/pages/Dashboard.tsx index 474bc69..a80e521 100644 --- a/src/pages/Dashboard.tsx +++ b/src/pages/Dashboard.tsx @@ -1,42 +1,59 @@ -import { Users, TrendingUp, AlertTriangle, Shield } from "lucide-react"; +import { + Users, + TrendingUp, + AlertTriangle, + Shield, + Database, + RefreshCw, + FileText, + Search, + Bell, + CheckCircle, + XCircle, + Clock, + ArrowRight, + Code, + Stethoscope, +} from "lucide-react"; export default function Dashboard() { + // Stats berdasarkan fitur project yang ada const stats = [ { - title: "Pasien Datang", + title: "BPJS Sync Status", + value: "18/25", + change: "72% berhasil", + changeColor: "text-green-600", + icon: RefreshCw, + color: "text-blue-600", + subtitle: "Sync hari ini", + }, + { + title: "Medical Records", value: "89", - change: "+12%", + change: "+12 hari ini", + changeColor: "text-green-600", + icon: FileText, + color: "text-green-600", + subtitle: "Record tersinkron", + }, + { + title: "ICD Recommendations", + value: "23", + change: "87% confidence", + changeColor: "text-blue-600", + icon: Code, + color: "text-purple-600", + subtitle: "Generated today", + }, + { + title: "Active Users", + value: "28/30", + change: "24 login hari ini", changeColor: "text-green-600", icon: Users, - color: "text-blue-600", - subtitle: "Hari ini", - }, - { - title: "Potential Overclaim", - value: "7", - change: "+2", - changeColor: "text-red-600", - icon: AlertTriangle, - color: "text-red-600", - subtitle: "Perlu review", - }, - { - title: "Rata-rata Biaya", - value: "Rp 2.8M", - change: "+5.2%", - changeColor: "text-orange-600", - icon: TrendingUp, color: "text-orange-600", - subtitle: "Per klaim", - }, - { - title: "Kode BPJS Aktif", - value: "156", - change: "8 kode baru", - changeColor: "text-green-600", - icon: Shield, - color: "text-purple-600", - subtitle: "Total kode", + subtitle: "System users", }, ]; @@ -46,14 +63,92 @@ export default function Dashboard() { {/* Welcome Section */}
- Kelola sistem rumah sakit dengan efisien dan pantau semua aktivitas - secara real-time. + Monitor BPJS operations, medical records, ICD recommendations, dan + sistem management secara real-time.
+ 7 kasus interval < 30 hari +
++ ICD: I10, E11, J18.9 +
++ 3 kontrol tidak konsisten +
++ Tipe vs alasan tidak sesuai +
++ 5 BPJS sync gagal +
++ Perlu retry manual +
+Berhasil: 18/25 (72%)
++ Last sync: 15 Jan 2024 14:30 +
+
+
+ Active Codes
+
+ 156 kode BPJS aktif
++ 8 kode baru bulan ini +
++ 45 coding assistance +
+12 queries hari ini
++ 1,250 records tersinkron +
+89 records hari ini
+45 pencarian hari ini
+84% success rate
++ 30 records dalam 30 hari +
+Filter aktif
+- {item.name} -
-- {item.count} • {item.cost} +
+ {item.subtitle}
+{item.detail}
28/30 active users
+24 login hari ini
+25 roles configured
++ 2 permissions updated +
+99.8% uptime
+2.1% error rate
+