@extends('layouts.admin-apoteker') @section('title', 'Monitoring Efek Samping Obat') @section('content')
{{-- 🔰 Judul dan Tombol --}}

📋 Monitoring Efek Samping Obat (Naranjo)

Pantau dan evaluasi efek samping obat berbasis algoritma Naranjo.

{{-- ✅ Notifikasi sukses --}} @if(session('success'))
{{ session('success') }}
@endif {{-- 🔎 Form Filter --}}
♻️ Reset
{{-- 📊 Statistik Kategori Naranjo --}}
🔵 Highly Probable: {{ $highly }}
🟢 Probable: {{ $prob }}
🟡 Possible: {{ $poss }}
🔴 Doubtful: {{ $doubt }}
{{-- 📋 Tabel Data --}}
@forelse($monitorings as $item) @empty @endforelse
# Nama Pasien Obat Dicurigai Tanggal Skor Kategori Apoteker Aksi
{{ $loop->iteration + ($monitorings->firstItem() - 1) }} {{ $item->patient_name }} {{ $item->drug_suspected }} {{ \Carbon\Carbon::parse($item->observation_date)->format('d-m-Y') }} {{ $item->total_score }} {{ $item->probability_category }} {{ optional($item->creator)->name ?? '-' }} 🔍 ✏️ 📄
@csrf @method('DELETE')
Belum ada data.
{{-- 🔁 Pagination --}}
{{ $monitorings->links() }}
{{-- 📘 Keterangan --}}

📘 Keterangan Skor: ≥9: Highly Probable, 5–8: Probable, 1–4: Possible, 0: Doubtful

@endsection @section('scripts') @endsection